[Techtalk] "route del" Yields "SIOCDELRT: no such process"

Raven, corporate courtesan raven at oneeyedcrow.net
Thu Sep 27 15:19:54 EST 2001


Heya --

Quoth Kai MacTane (Thu, Sep 27, 2001 at 10:34:28AM -0700):
> Hi. I'm having a routing problem on my shiny new Mandrake 7.1 firewalling 
> box. I think I can give the pertinent data most quickly this way:

	Congrats on the separate firewall.  If I were you, I'd also set up your servers behind it to log to it, just so you have logs in separate places in case of evil.
 
> [root at kitchengod kmactane]# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> kitchengod.Rebe *               255.255.255.255 UH    0      0        0 eth0
> 255.255.255.255 *               255.255.255.255 UH    0      0        0 eth0
> kitchengod.Rebe *               255.255.255.255 UH    0      0        0 eth1

	What are these?  Haven't seen those before... do you remember what syntax of commands you used to enter these routes?  I assume some variant of route add...

> 192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
> 64.0.0.0        *               255.0.0.0       U     0      0        0 eth1
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         dsl081-050-001. 0.0.0.0         UG    0      0        0 eth1
> [root at kitchengod kmactane]# route del 64.0.0.0
> SIOCDELRT: No such process

	Ah, I'm pretty sure you have to give it -netmask 255.0.0.0 at the least.  You may have to give it the whole rest of the line.  Since the Linux routing kernel uses classless addressing, you pretty much always have to specify the netmask.

	Also, why are you specifically telling it how to get to 64.0.0.0?  It should just follow the default path for that.

Cheers,
Raven

Captain Grace Kidd (so dubbed by http://www.fidius.org/quiz/pirate.php)

"Welcome, Elder Bob and Elder Tim.  Let me introduce you.  Everyone, this is
 Elder Bob and Elder Tim.  Over there, we have Elder Rialian, and this is 
 Elder Mylia and Elder Pikachu..."
 -- the suggested opening to the Mormon Party




More information about the Techtalk mailing list