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:
parent
7cdfe39e4e
commit
b0533f16c4
|
@ -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
|
||||
;;
|
||||
|
||||
|
|
Reference in New Issue