netdev
[Top] [All Lists]

Re: Do you know the TCP stack? (127.x.x.x routing)

To: Zdenek Radouch <zdenek@xxxxxxx>
Subject: Re: Do you know the TCP stack? (127.x.x.x routing)
From: Martin Mares <mj@xxxxxx>
Date: Sun, 6 Mar 2005 10:56:42 +0100
Cc: netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <E1D7lQN-0002gz-00@xxxxxxxxxxxxxxxxxxxxxxx>
References: <E1D7lQN-0002gz-00@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
Hello!

> Unfortunately, this does not work with the Linux stack, because the
> 127 net is treated (for good reasons I suppose) as a special net.

Is it really?

I've just tried

        ip addr del 127.0.0.1/8 dev lo
        ip addr add 127.0.0.1/24 dev lo

and `ping 127.1.2.3' is then happily sent along the default route.

                                Have a nice fortnight
-- 
Martin `MJ' Mares   <mj@xxxxxx>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Only dead fish swim with the stream.

<Prev in Thread] Current Thread [Next in Thread>