Removing DHCP (169.254.0.0) From static routes
My Red hat box is set up with a static private IP address on our work network. However when I type route -n I see the ¨ I cant find a DHCP server ¨address of 169.254.0.0 as a route in my routing table. Whilst harmless and easy to remove with the command :
route del -net 169.254.0.0 netmask 255.255.0.0 eth0 placed in my /etc/rc.local script I would like a more sophisticated solution - i.e. no just a hack. Where does this offensive route come from so I can dd it out in vi.
On a similar tack Im trying to assign a static route to eth0 on my home server - to do this ive created a static-route file in my /etc/sysconfig direvtory and used the command:
eth0 net 220.127.116.11 netmask 255.255.0.0 gw 192.168.1.11
but is only works if I replace eth0 with any which assigns thew route to all the interfaces - I can do the assignment using redhat-config-network - but I cant find the script that benighted GUI wimps tool configures - and I HATE GUI configuration vim rulz. :-)