[RFC][patch] dhclient Classless Static Routes support

Brooks Davis brooks at one-eyed-alien.net
Tue Jun 20 04:26:14 UTC 2006


On Sun, Jun 18, 2006 at 01:12:22PM +0400, Andrey V. Elsukov wrote:
> Hi!
> 
> I have implemented RFC3442 support for the FreeBSD dhclient.
> Patch can be fetched from 
> http://butcher.heavennet.ru/patches/other/dhclient/
> 
> I have a small bit of testing with isc-dhcpd and dnsmasqd. 
> And i think it works fine. I have tested with:
> 1) Normal classless routes:  10.0.0.0/21 router, 10.1.0.0/19 router
> 2) default route
> 3) link routes: 192.168.0.0/24 0.0.0.0, 192.168.1.0/24 0.0.0.0
> 
> I don't know what i should make with incorrect data received from DHCP server..

At a glance I don't see any major issues.  I won't have time to do
anything more with it for at least a couple weeks.  I'd suggest filing
a PR with it to ensure it isn't lost.  Ed, if you're interested in it,
feel free to commit.

The one thing I might worry about is that implementing classless static
routes means you have to ignore the default route and I'm a little
worried there might broken servers out there that spew bogus ones.
There's probably not way to find out other than shipping a release
though. :(

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060620/40d97ddd/attachment.pgp


More information about the freebsd-hackers mailing list