Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I am working with the 'route' command in RH 7.3, trying to get a couple of different subnets to talk to each other. The problem I am encountering is that there are routes now entered (i.e., entered using the 'route' command) that I cannot get rid of.
I can use the 'route' command to successfully delete the unwanted route(s), and typing the 'route -n' command shows that they have been removed.
However, when I re-start the network, or re-boot, the unwanted route(s) are back, showing up when I type 'route -n'. How do I permanently get rid of these unwanted routes?
I have looked into the bowels of /etc/sysconfig, and /proc/net in an attempt to resolve this issue. The unwanted routes do appear to be in /proc/net/route, but these files are controlled by the kernel and I don't believe they can be directly edited.
It would be hugely appreciated if anyone who can explain this to me. I haven't been able to find much documentation out there that deals specifically with the mechanics of 'route'. Thanks.
This provides interesting information, but I am no closer to solving this issue. This is a real annoyance, and I am unable to find information on this anywhere. Even the detailed Network Administrator's Guide at The Linux Documentation Project doesn't give details on this.
There must be someone out there who has worked with routing tables enough to understand how to remove 'persistent' entries. Lets hear from some experts!!
Well there are some basic routes that are added by default when you start networking such as a loopback route and a subnet route for each interface, are you trying to get rid of these?
If you have route entries beyond what is mentioned above then tinkster gave you the best method I can think of for finding these. If you have route entries that exist after reboot there really are only two explainations, one being that these should exist by default for each interface and the other being that some startup script adds them.
If you want more specific answers besides to grep your /etc directory then maybe you could provide some more specific information such as what your interfaces are set at (ifconfig -a) and what routes exist (netstat -r.)
Thanks for all of the advice thus far. The routes I am trying to remove are not the 'default' routes placed there upon the activitation of the network device, but rather are routes that were manually added later.