I am working in a host in LAN segment of 192.168.148.X with subnet mask 255.255.255.0. The LAN should be configured to use 192.168.128.1 as default gateway. What I normally do is to issue following route commands
route add 192.168.128.1/32 dev eth0
route add default gw 192.168.128.1 dev eth0
to produce a routing table like this
But the problem is every time it boots up I have to issue the command manually. How to add those rules in network configuration?
My host is running with CentOS 6.6 X86_64