How often does the letter "1" occur in:
Q: CentOS: How to create a default route after server starts I'm using CentOS 6.7 on Proxmox KVM.
Now I would like to get my network-connection working.
This is my config:

Now I have to perform 
ip route add 89.xxx.xxx.1 dev eth0 

and
ip route add default via 89.xxx.xxx.1

to get a connection.
Well, I would like to do that automatically, so I created a script like that:

This is my ifconfig-output:

This is my routing-table:


A: I once had the same issue on a server. CentOS didnt add the route automaticly because the gateway is not in the same subnetmask (i guessed).
You need to add a persistent/static route.
CentOS documentation can be found here: https://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-networkscripts-static-routes.html
Try the following for your route-eth0 file:
89.163.148.1 dev eth0
default via 89.163.148.1 dev eth0


user
I found 9 "1"s in the provided passage.
assistant