I'm trying to get a DHCP server working on two interfaces so that I can use my Raspberry Pi as a standalone server to perform various tasks. So far I've installed hostapd to set up a wireless access point, and also dnsmasq to sort out the DHCP server aspect.
This seems to work fine with the wlan1 interface, but for some reason it won't provide DHCP when I'm connected via ethernet (eth0).
According to the documentation, adding another interface is as simple as duplicating the
interface= line, but it doesn't seem to be working for me here. Any ideas why?
interface=wlan1 interface=eth0 dhcp-range=192.168.4.2,192.168.4.99,24h listen-address=::1,127.0.0.1,192.168.4.1 server=126.96.36.199 server=188.8.131.52