Re: Fedora27: Cannot set the default network route

2018-02-08 Thread Terry Barnaby
Hi, Thanks for the info, not sure i will remember that complex method though ! A bit strange that changing the "default" route has to be done on a particular connection though rather than as a system route change. If NetworkManager is now managing routes like this would be nice if it had a

Re: Fedora27: Cannot set the default network route

2018-02-06 Thread Rick Stevens
On 02/06/2018 01:16 PM, Terry Barnaby wrote: > On 06/02/18 20:21, James Hogarth wrote: >> On 3 February 2018 at 22:20, Terry Barnaby wrote: >>> On 02/02/18 16:40, Bill Shirley wrote: >>> >>> You didn't post the command or its output.  How can anyone help you? >>> >>> What's

Re: Fedora27: Cannot set the default network route

2018-02-06 Thread Terry Barnaby
On 06/02/18 20:21, James Hogarth wrote: On 3 February 2018 at 22:20, Terry Barnaby wrote: On 02/02/18 16:40, Bill Shirley wrote: You didn't post the command or its output. How can anyone help you? What's the output of these two commands? ip -o -4 addr ip -o -4 route

Re: Fedora27: Cannot set the default network route

2018-02-06 Thread James Hogarth
On 3 February 2018 at 22:20, Terry Barnaby wrote: > On 02/02/18 16:40, Bill Shirley wrote: > > You didn't post the command or its output. How can anyone help you? > > What's the output of these two commands? > ip -o -4 addr > ip -o -4 route > > Bill > > ip -o -4 addr > 1: lo

Re: Fedora27: Cannot set the default network route

2018-02-03 Thread Terry Barnaby
On 02/02/18 16:40, Bill Shirley wrote: You didn't post the command or its output.  How can anyone help you? What's the output of these two commands? ip -o -4 addr ip -o -4 route Bill ip -o -4 addr 1: lo    inet 127.0.0.1/8 scope host lo\   valid_lft forever preferred_lft forever 2:

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Marcelo Beckmann
You can also use ip route to replace a route (don't need to delete and add): ip route replace default via dev 2018-02-02 14:29 GMT-02:00 Terry Barnaby : > I tied using "ip route" it had the same effect. > > > On 02/02/18 14:21, Bill Shirley wrote: > > Use 'ip' and add

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Ed Greshko
On 02/03/18 00:29, Terry Barnaby wrote: > I tied using "ip route" it had the same effect. [root@f27k ~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags   MSS Window  irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG    0 0  0

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Bill Shirley
You didn't post the command or its output.  How can anyone help you? What's the output of these two commands? ip -o -4 addr ip -o -4 route Bill On 2/2/2018 11:29 AM, Terry Barnaby wrote: I tied using "ip route" it had the same effect. On 02/02/18 14:21, Bill Shirley wrote: Use 'ip' and add

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Terry Barnaby
I tied using "ip route" it had the same effect. On 02/02/18 14:21, Bill Shirley wrote: Use 'ip' and add the dev parameter: ip route add default 173.xxx.yyy.zzz dev ccast man route: NOTE    This program is obsolete. For replacement check ip route. Bill On 2/2/2018 8:42 AM, Terry Barnaby

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Ed Greshko
On 02/02/18 21:42, Terry Barnaby wrote: > A strange one this. I was trying to change the default route of a machine for > testing a different gateway. > > I ran: > > route del default gw > > route add default gw > > However the second command did not add the route and I could not add the old >

Re: Fedora27: Cannot set the default network route

2018-02-02 Thread Bill Shirley
Use 'ip' and add the dev parameter: ip route add default 173.xxx.yyy.zzz dev ccast man route: NOTE    This program is obsolete. For replacement check ip route. Bill On 2/2/2018 8:42 AM, Terry Barnaby wrote: A strange one this. I was trying to change the default route of a machine for