[CentOS] Cannot Static Routes

Mihamina Rakotomandimby mihamina.rakotomandimby at rktmb.org
Thu Aug 28 06:02:51 UTC 2014


On 08/27/2014 09:42 PM, Sergio Belkin wrote:
> I'd want to configure persistent static routes, ie in config files, but I
> can't configure static routes, I tested:
> [root at centos7 ~]# cat /etc/sysconfig/network-scripts/routes-enp0s3
> ADDRESS0=10.10.10.0
> NETMASK0=255.255.255.0
> GATEWAY0=192.168.1.1
> logs says nothing:
> [...]
>
> I've also tried using /etc/sysconfig/static-routes file as is in
> http://www.ehowstuff.com/how-to-setup-persistent-static-routes-on-linux-centos-6-4/

Hi Sergio,

The log parts you posted are related to networkManager.
What happens if you explicitely say in the configuration file that the 
interface is not managed by NetworkMAnager?

Regards.



More information about the CentOS mailing list