Thank you Pete
With "nmtui edit" command, i got into network manager, deleted all running config, restarted the network card, then added the exact network configuration i required.. This sorted me out.. :-)
On Thu, Nov 9, 2017 at 12:48 PM, Pete Biggs pete@biggs.org.uk wrote:
On Thu, 2017-11-09 at 12:29 +0300, Ritah Mulinde wrote:
Hello everyone
Iam trying to delete a route from mt CentOs 7 server but everytime i restart network services, it reappears
iam using command "route del -net x.x.x.x/x gw x.x.x.x <interface name>"
Am i missing something??
You have to delete it from the network configuration as well - all that command does is to remove the route from the current running configuration.
I suspect you are probably using Network Manager, in which case you can use nmtui or nmcli to remove the route from the stored configuration. There are gui ways to do it as well if you prefer that.
P.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos