Silly mistake. Now I have two 'default routes'.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux