Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 0
Red face Removing DHCP ( 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 as a route in my routing table. Whilst harmless and easy to remove with the command :
route del -net netmask 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 netmask gw
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
LQ Newbie
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
You can get rid of by setting NOZEROCONF=yes in /etc/sysconfig/network.
Old 09-02-2011, 09:49 AM   #3
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 routes, here is the definitive answer and solution you need:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 in Kernal IP routing table aikempshall Linux - Networking 13 03-10-2004 11:30 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:35 PM.

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