[Dnsmasq-discuss] How to make DHCP clients to add a network into their routing table?

Max Tsepkov max at garygolden.me
Mon Oct 24 15:57:15 BST 2011


Hello.

I have a dhcp enabled network 192.168.1.0/30
Where 192.168.1.1 is DHCP server and 192.168.1.2 is DHCP client.
dnsmasq pushes default route just fine.

But, I have another network 192.168.0.0/27 which is accessible from
the same NIC.
Is there a way to instruct the dhcp client to add this network to its
routing table?
For now, I do so manually, this makes desired effect:

   # route add -net 192.168.0.0 netmask 255.255.255.224 dev eth0

Thanks in advance.

-- 
Max Tsepkov (a.k.a. Gary Golden)
A freelancing web engineer
http://www.garygolden.me



More information about the Dnsmasq-discuss mailing list