I am new to linux. I want to add below permanent route:
[root@Docker1 ~]# route -n | grep 10.246.179.0
10.246.179.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0
I added a file named route-eth0 in network-scripts as below:
10.246.179.0/24 via 0.0.0.0 dev eth0
But instead of 255.255.255.192, I am getting route as below:
10.246.179.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
What should I do to get the desired result? I am on RHEL 6.