Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
i am running redhat 8.0 on my machine. I was having problems connecting to my ISP and found out that by adding a default route to my routing table sovled the problem.
:/sbin/route add default gw router
however, this default route is deleted everything i restart the network services.
Is there a way where i can add this route to a network script so that it is added to the routing table everytime i start the network service.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
You are trying to set a static routing table with the
/sbin/route add default gw $router_IP_number
command. Add this to your network startup script, as Blindsight suggested.
Also see, http://www.linuxquestions.org/questi...threadid=66309
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.