lexsys
28th February 2009, 06:23 AM
Hi all!
I have some troubles with networking. I have VPN over eth1 connection to Internet. There are also many local servers in our network. When I connect to Internet throw NetworkManger, all traffic goes to ppp0 device and I can't use local servers. So I need to define static routes to them like
#route add -net 194.85.80.0/22 gw 10.55.118.1
The problem is that after the reboot they are lost :(
I have tried to put this in /etc/sysconfig/network-scripts:
$ cat route-eth1
194.85.80.0/22 via 10.55.118.1 dev eth1
It doesn't work. Neither do putting route commands into the script in /etc/NetworkManager/dispatcher.d.
Have you any ideas what have I done wrong?
P.S.
I have FC10
I have some troubles with networking. I have VPN over eth1 connection to Internet. There are also many local servers in our network. When I connect to Internet throw NetworkManger, all traffic goes to ppp0 device and I can't use local servers. So I need to define static routes to them like
#route add -net 194.85.80.0/22 gw 10.55.118.1
The problem is that after the reboot they are lost :(
I have tried to put this in /etc/sysconfig/network-scripts:
$ cat route-eth1
194.85.80.0/22 via 10.55.118.1 dev eth1
It doesn't work. Neither do putting route commands into the script in /etc/NetworkManager/dispatcher.d.
Have you any ideas what have I done wrong?
P.S.
I have FC10