[Dnsmasq-discuss] dhcp option 121 (classless static routes)

Felix Schwarz Felix.Schwarz at web.de
Sat Jun 17 18:45:19 BST 2006


Hi all,

I am using OpenWRT WR RC 5 with dnsmasq 2.27 which is supposed to
support the dhcp option 121 (classless static routes).

I put this in my dnsmasq.conf:
dhcp-option=121,0.0.0.0/0,192.168.0.10,192.168.2.0/24,192.168.0.100

The first is my default gateway (for backward compatibility also
specified with option #3), the second my vpn gateway.

Unfortunately no client (Fedora Core 5) sets the static routes... I
think that my dhclient does not support it anyway but I suspect that
dnsmasq fails to set the option correctly.

I did an "ifdown eth0" on the client, startet ethereal, started
capturing on all interfaces and entered "ifup eth0".

#3 is a DHCP ACK packet. Inside this packet I can see different
options such as 3, 12, 15 but no option #121. Therefore I think the
setting above if not being sent.

Can I debug this issue any further? I would like to file bug reports
for dhclient so that this option is supported in the next version of
Fedora :-)

-- 
Felix




More information about the Dnsmasq-discuss mailing list