LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-03-2003, 09:44 PM   #1
Alistair
LQ Newbie
 
Registered: Aug 2003
Location: NewZealand
Distribution: Redhat, Mandrake
Posts: 3

Rep: Reputation: 0
Red face 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 172.168.0.1 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. :-)
 
Old 10-22-2005, 09:34 AM   #2
mat_the_green
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
You can get rid of 169.254.0.0 by setting NOZEROCONF=yes in /etc/sysconfig/network.
 
Old 09-02-2011, 09:49 AM   #3
Cadstar
LQ Newbie
 
Registered: Jan 2009
Location: Central New York State
Distribution: CentOS, Debian, Fedora
Posts: 2

Rep: Reputation: 0
I realize this is an old thread now, but for anyone that comes upon this while scratching their head over mysterious 169.254.0.0/16 routes, here is the definitive answer and solution you need:

http://www.brennan.id.au/04-Network_Configuration.html


-Cadstar
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I config static routes? mikezang Linux - Networking 4 10-31-2005 10:29 AM
Max Static Routes? roundst Linux - Networking 2 07-28-2005 02:51 AM
automatic static routes? eantoranz Linux - Networking 5 07-19-2005 08:30 PM
static-routes in Mandrake 10.0 tallthom Mandriva 1 09-27-2004 12:51 AM
169.254.0.0 in Kernal IP routing table aikempshall Linux - Networking 13 03-10-2004 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration