[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rejecting network routes



Does anyone know how to remove a rejecting route from the kernel's
routing tables?

Here is a transcript that captures what I'm trying to do:

# route add -net 207.46.0.0 netmask 255.255.0.0 reject  
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
res-net         *               255.255.255.0   U     0      0        0 eth0
207.46.0.0      -               255.255.0.0     !     0      -        0 -
localnet        *               255.0.0.0       U     0      0        0 lo
default         gatewayhost.mrs 0.0.0.0         UG    0      0        0 eth0
# route del -net 207.46.0.0
SIOCDELRT: Invalid argument

Is there another way to remove the route, or could
this be a bug in the route program?

Pleaes CC to me, as I'm not on the list.  Thanks!
-- 
Dan Gohman
gohmandj@cda.mrs.umn.edu


Reply to: