List, good evening,

I wanted to change a Fedora 24 server's default outgoing route, using CLI over a local SSH connection. I found the ip command, read the man page for ip route, and gave the command:

ron # ip route add default via 192.168.0.70 dev enp0s9

The server uses a static IP and its original gateway address was 192.168.0.60. Now I have

ron # ip route show
default via 192.168.0.70 dev enp0s9
default via 192.168.0.60 dev enp0s9  proto static  metric 100
[...]

So I have created two 'default' routes. I've misunderstood the man page, and I thought I'd better ask for some advice before I did any more damage.

I want to reach the situation where the server has only one default route, for all traffic, which is to a gateway machine with IP address 192.168.0.70 .

Should I remove both these entries, and then try 'add'ing a new default route? If so, how ought I remove these entries?

Or is there a better way to correct this mistake?

Grateful for any help,

regards, Ron
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to