I need to add a static route to my system. I can do it with no problem at the command line with:
ip route add 10.126.2.0/23 via 10.126.1.5 src 10.2.14.205
To make it permanent I created the /etc/sysconfig/network-scripts/route-tun10
file with the following line:
10.126.2.0/23 via 10.126.1.5 src 10.2.14.205
But when I run ifup tun10
command (even after a ifdown tun10
command) I get the following error:
".ror: inet address is expected rather than "10.2.14.205
Could somebody, please, help me understand and solve the problem?
Thanks. Paolo.