[CentOS] Cannot Static Routes

Mon Sep 1 15:13:29 UTC 2014
Sergio Belkin <sebelk at gmail.com>

2014-08-28 3:02 GMT-03:00 Mihamina Rakotomandimby <
mihamina.rakotomandimby at rktmb.org>:

> 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.
> _______________________________________________
>

Hi Mihamina, it's all about wrong filename as I earlier said, however, I've
later disabled NetworkManager, I think that it's not a mature software for
production, but I may be wrong...

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org