Delete a route

pseudo -  
mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   -
Hello,

How do you delete a route in Debian, please? Because the following command does not work:

server:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.255.255.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 88.225.224.103 - 255.255.255.255 !H 0 - 0 - 217.219.119.27 - 255.255.255.255 !H 0 - 0 - 119.195.188.18 - 255.255.255.255 !H 0 - 0 - 88.195.101.100 - 255.255.255.255 !H 0 - 0 - server:~# route del 88.195.101.100 SIOCDELRT: No such process server:~# 


Configuration: Linux / Safari 534.16

3 answers

  1. mamiemando Posted messages 33228 Registration date   Status Moderator Last intervention   7 940
     
    Hello

    In root:

    route del -net x.x.x.x netmask y.y.y.y


    Good luck
    6