trouble adding static route to fedora 11
I need a static route setup on fedora 11 to allow a remote site to work. I can add the static route using:
route add -net 192.1.2.0 netmask 255.255.255.0 gw 192.1.1.152 but after reboot it the static route is lost. I have tried /etc/rc.d/rc.local and also added the static route through the network gui but neither have worked. Where would I need to add this to have it started each time the system is booted?? |
Hello,
Haven't used Fedora in a bit, but have a look in /etc/sysconfig/network-scripts/route-eth0 after you set your static route and see if the changes are made. Of course, change the interface to whatever you are using. Make your changes reflect in that file, and your static route will be defined. Cheers, Josh |
The changes are there, but the route is still not being started. I created a file in /etc/init.d named routes to automatically add the routes but it's getting an error stating: "SIOCADDRT: no such process". However, if I run the exact same command once the server is started, it adds the route with no problem.
|
are you using the "networkmanager" or the older and still installed but turned off "network"
on this WAY PAST it's End Of Life fedora 11 .( 16 is in testing ) networkmanager auto set it up on boot network is manual |
Quote:
|
I think I'll revert my server from Fedora 14 to Fedora 11. Things were better in the "old" days :cool:
|
Quote:
|
I believe it's using network manager.
|
When you mentioned NetworkManager I did some searching and ended up finding this (http://forums.fedoraforum.org/showthread.php?t=219788). Creating the /etc/NetworkManager/dispatcher.d/02-setuproutes file worked perfectly. Thanks for the help.
|
Quote:
|
Quote:
|
Quote:
but most of the time the person who is using the EOL fedora had / has no idea that they are using a EOL version the rest DO know the risks ( or SHOULD know the risks ) most of the time the risk is small but not always . |
Awe, we are all getting along.... Cute.
Anyways.... I'm done thread jacking for today. To the OP - Good luck. John and The Bassinator - I'm not saying anything.... |
Quote:
|
All times are GMT -5. The time now is 06:56 AM. |