4
2
I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. How can i put this as permanent?
ip route add 192.168.2.3 via 10.0.0.1 dev eth0
1I want to make 192.168.2.1/24 subnet route permanent. – YumYumYum – 2011-08-09T13:14:46.017
2
ok. add a route-eth0 file in /etc/sysconfig/network-scripts, as outlined here: http://www.linuxquestions.org/questions/linux-networking-3/permanent-static-routes-on-centos-red-hat-enterprise-linux-565828/
– Sirex – 2011-08-09T13:44:38.030