Setting an interface's IP to 0.0.0.0 with mask 0.0.0.0 overwrites the

default route with that interface's link route. Later in dhclient, that
gets deleted and leaves the system with no default route. Using a /32 mask
here works in every scenario I can find, and stops the default route
deletion issues. Ticket #3941
This commit is contained in:
Chris Buechler 2014-11-10 21:37:20 -06:00
parent 7cdfe39e4e
commit b0533f16c4
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ MEDIUM)
PREINIT)
delete_old_alias
$IFCONFIG $interface inet 0.0.0.0 netmask 0.0.0.0 broadcast 255.255.255.255 up
$IFCONFIG $interface inet 0.0.0.0 netmask 255.255.255.255 broadcast 255.255.255.255 up
/bin/rm -f /tmp/${interface}_router
;;