f22: how to change default gateway via line command

Dario Lesca d.lesca at solinos.it
Sat Jun 6 18:03:03 UTC 2015


Il giorno sab, 06/06/2015 alle 07.01 -0400, Paul Cartwright ha scritto:
> On 06/06/2015 05:32 AM, Dario Lesca wrote:
> > Into Fedora 22 workstation, it's possible to change temporarily via
> > command line the default gateway, to test another gateway, when I 
> > have
> > setup the network via DHCP?
> > 
> > What is the best command line to use?
> > 
> > Many thanks
> try :
> $ man route
> 
> *DESCRIPTION
>        Route manipulates the kernel's IP routing tables.

Thanks Paul, but in f22 the command "ip r del default" (or ip r rep)
not work anymore if the NetworkManager is set to DHCP (see my previous message, Thu, 04 Jun 2015 
14:15:59)

Some other suggest?

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


More information about the users mailing list