Ubuntu route del command is used to delete a route from Ubuntu routing table. Here is a route del step by step guide:
First, print current routing table with route command to check which route to be removed.
luzar@ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.44.0 * 255.255.255.0 U 0 0 0 eth0
10.21.35.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.44.2 0.0.0.0 UG 100 0 0 eth0
luzar@ubuntu:~$
Next, let's delete the network route in blue. Below is an example of Ubuntu route del command used to remove a route from network:
luzar@ubuntu:~$ sudo route del -net 10.21.35.0 netmask 255.255.255.0
dev eth0
luzar@ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default mygateway1.ar7 0.0.0.0 UG 100 0 0 eth0luzar@ubuntu:~$
who i can add Ip's on route table?
ReplyDeleteplease told me something about this soon ;)
tanks
who i can add Ip's on route table?
ReplyDeleteplease told me something about this soon ;)
tanks
in my computer i did like this way:
ReplyDeletesudo route add -net 193.136.205.104 netmask 255.255.255.0
and...nothing :S
help me
Perhaps this post has the answer that you are looking:
ReplyDeletehttp://linuxservertutorials.blogspot.com/2008/11/ubuntu-route-add-command-guide.html