Re: Looking for a way to obtain offered gateway(s) from a link's DHCP but not apply them.
Malcolm Bofors
Thu Mar 12 23:13:36 2015
On 3/12/2015 2:28 PM, Roy Marples wrote:
I'm not sure I fully understand.
Classless Static Routes are mutually exclusive to the Routers and Static
Routes options. You either have one or the other.
Oh, that sounds like there shouldn't be a problem then. So long as only
one of {Routers, Static Routes, Classless Static Routes} will be listed
in a -U dump for a given link, a simple "scraper" in a shell script will
obtain the correct value.
Between the ip-up/down scripts in pppd, and the hook scripts in dhcpd,
I've been able to resolve surprisingly easily.
dhcpcd will always prefer Classless Static Routes as noted by RFC3442.
However, dhcpcd will still list both options when passed to the hooks and dump
lease.
Sounds good. I was already to go to submit a patch but it turns out
everything's just hunky-dory.
It sounds like in a pure IPv6 universe, multi-homing can just "work" out
of the box without hackery.
Thanks, Roy.
=R=
Archive administrator: postmaster@marples.name