From b0533f16c414c605d4ef1506907fdd11448f0008 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 10 Nov 2014 21:37:20 -0600 Subject: [PATCH] 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 --- sbin/dhclient-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 01ad272f7..30de3dac7 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -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 ;;