f22: ip route replace via line command not work

Dario Lesca d.lesca at solinos.it
Thu Jun 4 12:15:59 UTC 2015


Sometime I must try other network or gateway, since to f21 I have
change the default gateway vie line command via command like this:

> ip r rep default x.x.x.x

Now after update to f22 this command (replace or delete) not work
anymore. See some example:

> [root at dodo:~]# ip r
> default via 10.44.0.247 dev p6p1  proto static  metric 100 
> 10.11.12.0/24 dev virbr0  proto kernel  scope link  src 10.11.12.1 
> 10.44.0.0/20 dev p6p1  proto kernel  scope link  src 10.44.2.27  metric 100 
> [root at dodo:~]# /sbin/ip route rep default via 10.44.0.254 proto static metric 1024
> [root at dodo:~]# ip r
> default via 10.44.0.247 dev p6p1  proto static  metric 100 
> 10.11.12.0/24 dev virbr0  proto kernel  scope link  src 10.11.12.1 
> 10.44.0.0/20 dev p6p1  proto kernel  scope link  src 10.44.2.27  metric 100 
> [root at dodo:~]# ip r del default via 10.44.0.247 dev p6p1  proto static  metric 100
> [root at dodo:~]# ip r
> default via 10.44.0.247 dev p6p1  proto static  metric 100 
> 10.11.12.0/24 dev virbr0  proto kernel  scope link  src 10.11.12.1 
> 10.44.0.0/20 dev p6p1  proto kernel  scope link  src 10.44.2.27  metric 100 

Only the "ip r add" to another network work, or if I create a new
NetworkManager profile without default gateway (probably is the new
version of Network Manager responsible for this problem).

It's possible to restore old manual method for change temporary the
default gateway?


Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)


More information about the users mailing list