Show pageBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== dnsmasq ====== | show DHCP leases | ''cat /var/lib/misc/dnsmasq.leases'' | ===== different DHCP options to advertise routers to different subnets ===== Simply prefix the interface, in this case eth0 or eth1: <code> dhcp-option=eth0,3,10.1.0.254 dhcp-option=eth1,3,10.1.20.254 </code> This also works with tags: <code> dhcp-range=set:net1,10.1.0.50,10.1.0.250,255.255.255.0 dhcp-range=set:net2,10.1.20.50,10.1.20.250,255.255.255.0 dhcp-option=tag:net1,3,10.1.0.254 dhcp-option=tag:net2,3,10.1.20.254 </code> Last modified: 2024-07-05 14:31