SIOCDELRT: No such process , when adding route

Posted by anuj Wed, 06 Feb 2008 03:18:00 GMT

This error is obvious when you try to delete a non-existing route; but what if you get this error when adding a route ??

In my case the broadcast address set on the interface while configuring was wrong. Double check the broadcasting address on your interface with this command

  
 ifconfig eth0(or your interface name)

 eth0     Link encap:Ethernet  HWaddr 00:13:D3:3A:81:E5  
          inet addr:192.168.0.125  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::213:d3ff:fe3a:81e5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:351065 errors:0 dropped:0 overruns:0 frame:0
          TX packets:123809 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:149491407 (142.5 MB)  TX bytes:20983510 (20.0 MB)
          Base address:0xcf00 Memory:fdde0000-fde00000 

As you can see my broadcast address is set to 192.168.0.255

you can use ifconfig command again to set configuration on any network interface. See man page for ifconfig.

Hope this helps you.

Comments

Leave a response

Comments