Red Hat Bugzilla – Bug 46425
dhcpcd invents a default route when none is supplied
Last modified: 2008-05-01 11:38:00 EDT
When the DHCP server doesn't supply the routersOnSubnet option in its
reply, dhcpcd assumes that it can use the giaddr instead, and just goes
ahead and uses it to invent its own static route:
if ( ! DhcpOptions.val[routersOnSubnet] )
DhcpOptions.val[routersOnSubnet] = malloc(4);
if ( DhcpMsgRecv->giaddr )
I can't find any warrant for doing this in RFC2131, and it's not the
behaviour I want (or expect). Could it at least be made possible to
disable this behaviour using a command-line option?
Thanks very much,
I'll have to ask the upstream maintainer.
Upstream maintainer says it is fixed in dhcpcd-1.3.21pl1, which is in rawhide.
*** Bug 55312 has been marked as a duplicate of this bug. ***