On Tue, Feb 09, 1999 at 10:43:36AM -0600, dan wrote: > 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 >
# route add -net 207.46.0.0 netmask 255.255.0.0 reject # route |grep 207.46.0.0 207.46.0.0 - 255.255.0.0 ! 0 - 0 - # route del -net 207.46.0.0 netmask 255.255.0.0 reject # route |grep 207.46.0.0 # Mirek