How to delete route in Linux.

Introduction:-

Here’s how to delete route in Linux to access the server from client machine. To check the current entry in routing table in Linux use below command.

To Check existing route entry.

How to delete route in linux
How to delete route in linux

How to delete route in linux?

If any unwanted ip address showing  in routing table, we must use below command to delete the ip from routing table as below.

route del -net 192.168.10.0 gw 0.0.0.0 netmask 255.255.255.0 dev eth1

How to delete route in linux

If you want to add route in linux, click here.

Leave a Comment