How should multiple routers be handled by the client?
Andrew Pollock
apollock at debian.org
Tue Jun 22 14:57:24 UTC 2010
Hi,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586706, which I'm unable to
reproduce in my test environment with 3.1.3 or 4.1.1-P1, raises an
interesting question: how should the client configure the system if it
receives multiple IP addresses in the routers option?
Currently Debian appears to just add a default route for each IP address in
the order they're defined in the option, which seems to essentially mean
that the last one wins.
dhcp-options(5) just says that they should be listed in order of preference,
which to me says that Debian is currently doing it wrong, and we need to
iterate over the list of routers in reverse so that the first router wins.
regards
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/dhcp-hackers/attachments/20100623/5126d84e/attachment.bin>
More information about the dhcp-hackers
mailing list