OpenSUSE 12.3
From the YaST ( text console ) add route:
192.168.252.0 255.255.255.0 192.168.252.10 eth0
After this close YaST and in the console i see result “route -n” - All Ok.
After this do:
“vi /etc/sysconfig/network/routes”
and add record:
192.168.253.0 255.255.255.0 192.168.252.10 eth0
Save this. Reboot Server.
Log in to the console. Check result for “route -n” - PROBLEM…
Can not see route record :
192.168.253.0 255.255.255.0 192.168.252.10 eth0
Why this ??
How coexist configuration from the YaST and and manual chage file /etc/sysconfig/network/routes ??
It is very difficult to see the difference between your story trelling and the computer facts. Please use CODE tags around all computer text (you get the CODE tags by clicking on the # button in the tool bar of the post editor).
Thus you should not tell that when you do a route -n, you are missing something. You should show the complete route -n text on the terminal, including prompt, command, output and next prompt. Like on my system:
boven:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.138 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
boven:~ #
Same when you want to inform us about the contens of /etc/sysconfig/network/routes: