routing table madness
Gilles Germon
ggermon at soubabere.fr
Wed Nov 25 09:45:05 PST 2009
> -----Message d'origine-----
> De : linux-users-bounces at linux-sxs.org [mailto:linux-users-bounces at linux-
> sxs.org] De la part de Lonni J Friedman
> Envoyé : mercredi 25 novembre 2009 15:03
> À : Linux tips and tricks
> Objet : routing table madness
>
> I've got an entry in the routing table that conflicts with another
> entry that I use to connect to my employer's VPN (using vpnc). I'd
> like to delete the route, but no matter what I do, it doesn't work.
> First, here's 'route -n' output:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 172.16.217.26 0.0.0.0 255.255.255.255 UH 0 0 0
> tun0
> 216.228.112.12 10.0.2.2 255.255.255.255 UGH 0 0 0
> eth0
> 172.16.229.26 0.0.0.0 255.255.255.255 UH 0 0 0
> tun0
> 10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0
> eth0
> 172.16.0.0 0.0.0.0 255.240.0.0 U 0 0 0
> tun0
> 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> tun0
> 0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 0
> eth0
>
> The route that I'd like to delete from above is:
> 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> tun0
>
> Unfortunately, when I attempt to delete the '10.0.0.0 tun0' route, it
> fails to work:
> # route del 10.0.0.0
> SIOCDELRT: No such process
>
> Similarly:
> # ip route del 10.0.0.0
> RTNETLINK answers: No such process
>
>
> Surely I'm doing something wrong here, but I can't figure out what
> after googling for a while.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> L. Friedman netllama at gmail.com
> LlamaLand https://netllama.linux-sxs.org
> _______________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc:
> http://linux-sxs.org/mailman/listinfo/linux-users
>
> Need to chat further on this subject? Check out #linux-users on irc.linux-
> sxs.org !
# route del -net 10.0.0.0 ???????
More information about the Linux-users
mailing list