[KLUG Members] Why this routing, anyone?

Adam Williams members@kalamazoolinux.org
Fri, 28 Nov 2003 16:03:54 -0500 (EST)


>>If not did you possibly attempt to bring up a dhcp interface minus
>>the dhcp server?
>Nope. I don't use DHCP around here. It's all boring, static routing.

Yep, it seems this route is just always added, as it is under Win2000/XP.

>From /sbin/ifup -
...
# Add Zeroconf route.
if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then
    ip route replace 169.254.0.0/16 dev ${REALDEVICE}
fi
...

>>169.254.x.x is "auto-self-configuration".  A dynamic interface will assign 
>>itself an address on this subnet if via-remote configuration fails.  This 
>>is new behaviour - see it also in Win2000/XP and I'm told in OS/X.  This 
>>lets real honest to goodness idiots create a small IP network with no 
>>configuration.  There is an RFC somewhere, but I don't recall the number.
>OK.
>>You can just ignore this subnet/route,  it should never have any effect 
>>on a "real" IP network.
>I delete it now, in rc.local. I don't like having routes unless I'm 
>messing them up myself. :)

Add "NOZEROCONF=yes" to your interface configuration files.
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
/etc/sysconfig/networking/profiles/default/ifcfg-eth1
etc...

Thats the "proper" way,  avoid any upgrade munging, etc... 

Apparently there is no check box button for this in "Network 
Configuration"

For more info see -
http://www.zeroconf.org/