f22: ip route replace via line command not work

Dario Lesca d.lesca at solinos.it
Fri Jun 5 05:30:36 UTC 2015


Il giorno gio, 04/06/2015 alle 14.15 +0200, Dario Lesca ha scritto:
> Now after update to f22 this command (ip r replace or delete) not 
> work anymore.

Also on a fresh install of f22 is not possible to change via line
command the default gateway to point to another router.

Is this a bug or is intentional ?

I must fill a bugzilla or there is some way to restore previous
functionality which allowed to change the default gateway via line
command?

Many thanks

> > [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)
-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)


More information about the users mailing list