ipv4ll fallback
Joshua Judson Rosen
rozzin at geekspace.com
Mon Feb 6 11:05:47 EST 2012
Thomas Charron <twaffle at gmail.com> writes:
>
> Is there any easy way to configure dhcp to fallback to a link local
> address, should dhcp requests fail?
I'm not sure to what extent this is a Debian vs. upstream thing,
but the version of avahi-autoipd that Debiain 6.0 ships includes
an `exit hook' script that it registers with the ISC DHCP client
in order to do exactly that (it just installs the script
as /etc/dhcp/dhclient-exit-hooks.d/zzz_avahi-autoipd):
if dhclient fails to raise a lease, it invokes avahi-autoipd
to get an IPv4LL address as a last resort.
This *doesn't* work when using NetworkManager, though, because
NM explicitly invokes dhclient with a `dhclient-script' that ignores
all of the standard hooks.
--
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."
More information about the gnhlug-discuss
mailing list