Hello all , I've been having a problems changing the default gateway on rhel7. I have eth devices , I've been trying to change the default gateway with : ip route replace default via 192.168.1.1 dev enccw0.0.0900
Then when I run ip route , I see that it didn't replace the default gateway but added another one , and I have 2 default gateways : " default via 192.168.50.1 dev enccw0.0.0990 default via 191.14.121.1 dev enccw0.0.0900 proto static metric 100 " Then I tried to delete the default gateway first and then add it. Couldn't delete it with "ip route del default" nor with "ip route delete default via 191.14.121.1 dev enccw0.0.0900" I get no errors after issuing this commands. the "ip route replace ..." command works for rhel6 . I am using rhel7.1(tried on rhel7.3 as well) and iproute Name : iproute Arch : s390x Version : 3.10.0 Release : 21.el7 Have anybody encountered this one ? Thanks in advance ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/