[Dnsmasq-discuss] DHCP server on Bridge
John Pearson
johnpearson555 at gmail.com
Sat Aug 29 18:03:59 BST 2015
Hi all, I am trying to have Dnsmasq on a bridge ( br0 ) and also have it
serve as the DHCP server. Traffic is going through the bridge but devices
connected to eth1 don't have DHCP and DNS settings traversing. How to setup
dnsmasq on a bridge so that it is transparent but still acts as a dhcp
server and sets dns settings to all devices connected to eth1 ?
Here is my current setup :
# etc/network/interfaces
iface eth0 inet manual
iface eth1 inet manual
iface br0 inet static
bridge_ports eth0 eth1
address 192.168.1.1
#dnsmasq.conf
domain-needed
bogus-priv
no-resolv
no-poll
listen-address=127.0.0.1
listen-address=192.168.1.1
interface=br0
bind-interfaces
dhcp-range=lan,192.168.1.5,192.168.1.500,255.255.255.0,5m
# broadcast address (28)
dhcp-option=lan,28,192.168.1.255
# gateway address (3)
dhcp-option=lan,3,192.168.1.1
# DNS server (6)
dhcp-option=lan,6,192.168.1.1
dhcp-authoritative
server=8.8.8.8 server=8.8.4.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150829/0ebae40f/attachment.html>
More information about the Dnsmasq-discuss
mailing list