Hello, I have two gateways (one is backup adsl and the other is wifi ISP, which is faster). I'd like to configure some MAC adresses (such as voip phone) to use the adsl gateway as default, becasue it is more reliable.
This is my /etc/config/dhcp on wifi router running openwrt:
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '100'
option leasetime '12h'
option ignore '0'
option dhcp_option '3,10.0.0.1 6,88.86.108.7'
config host
option ip '10.0.0.5'
option mac '11:AA:BB:CC:DD:EE'
option dhcp_option '3,10.0.0.254 6,208.67.222.222'
config dhcp 'wan'
option interface 'wan'
option ignore '1'MAC address '11:AA:BB:CC:DD:EE' gets the ip 10.0.0.5, but it does not receive the gateway 10.0.0.254 and dns 208.67.222.222, it gets the gateway configured previously in 'lan'. How can I assign different gateways and dns servers to different comuters? Thank you.
(Last edited by nozombian on 6 Feb 2013, 11:54)
