routing table madness

Lonni J Friedman netllama at gmail.com
Wed Nov 25 12:20:01 PST 2009


On Wed, Nov 25, 2009 at 10:56 AM, David A. Bandel
<david.bandel at gmail.com> wrote:
> On Wed, Nov 25, 2009 at 10:02, Lonni J Friedman
>
>
>> 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
>>
>
> ip ro del 10.0.0.0/8
>
> if you don't tell ip ro what the netmask is, it assumes /32.  You
> _must_ provide the /8 (255.0.0.0)

We have a winner!  thanks David, that worked.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama at gmail.com
LlamaLand                       https://netllama.linux-sxs.org




More information about the Linux-users mailing list