When you executed "route" on linux and saw 169.254.0.0/255.255.0.0 in the routing table.
[root@testlinux ~]# routeWhat is that? A lot of people call it - zeroconf (Zero configuration networking). It will help making networking easy & easy.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.111.1 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
192.168.111.0 * 255.255.255.0 U 0 0 0 eth0
If You read on zoneconf website, there are four main requirements:
- Allocate addresses without a DHCP server
- Translate between names and IP addresses without a DNS server
- Find services, like printers, without a directory server
- Allocate IP Multicast addresses without a MADCAP server
You can find out more on the internet. Example links:
http://www.zeroconf.org/
http://en.wikipedia.org/wiki/Zero_configuration_networking
http://datatracker.ietf.org/wg/zeroconf/charter/
ETC.
However, Zeroconf protocols might cause harm to the network when a machine is plugged into a large network. In this post, I just wanted to disable 169.254/16 in the routing table, when network started.
[root@testlinux ~]# cp /etc/sysconfig/network /etc/sysconfig/network-orig[root@testlinux ~]# vi /etc/sysconfig/network[root@testlinux ~]# diff /etc/sysconfig/network-orig /etc/sysconfig/network
4a5
> NOZEROCONF=yes[root@testlinux ~]# service network restartShutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@testlinux ~]#
[root@testlinux ~]#
[root@testlinux ~]# routeKernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.111.1 0.0.0.0 UG 0 0 0 eth0
192.168.111.0 * 255.255.255.0 U 0 0 0 eth0
It doesn't have 169.254/16 in the routing table now :)
No comments:
Post a Comment