# 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
min-port=4096
server=8.8.8.8
server=8.8.4.4
dhcp-range=lan,192.168.1.5,192.168.1.50,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
-
-
Save anonymous/7da9265d32dbecea18f8 to your computer and use it in GitHub Desktop.
# /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet manual
iface eth1 inet manual
auto br0
iface br0 inet static
bridge_ports eth0 eth1
address 192.168.1.1
netmask 255.255.255.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment