netdev
[Top] [All Lists]

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

To: Henrik Nordstrom <hno@xxxxxxxxxxxxxxx>
Subject: Re: Do you know the TCP stack? (127.x.x.x routing)
From: Jamie Lokier <jamie@xxxxxxxxxxxxx>
Date: Thu, 10 Mar 2005 01:47:57 +0000
Cc: jamal <hadi@xxxxxxxxxx>, Martin Mares <mj@xxxxxx>, Zdenek Radouch <zdenek@xxxxxxx>, Steve Iribarne <steve.iribarne@xxxxxxxxxxxxxxxxxxxxx>, Eran Mann <emann@xxxxxxx>, Thomas Graf <tgraf@xxxxxxx>, Andi Kleen <ak@xxxxxx>, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0503091730280.16557@xxxxxxxxxxxxxxxxxxxxx>
References: <1110288879.1050.167.camel@xxxxxxxxxxxxxxxx> <20050308135134.GA20607@xxxxxxxxxxxxxxxxxxxxxxxx> <1110290300.1050.190.camel@xxxxxxxxxxxxxxxx> <20050308140301.GC20607@xxxxxxxxxxxxxxxxxxxxxxxx> <1110291470.1043.211.camel@xxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0503081937020.5332@xxxxxxxxxxxxxxxxxxxxx> <1110316631.1084.57.camel@xxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0503090009120.6780@xxxxxxxxxxxxxxxxxxxxx> <1110371962.1088.90.camel@xxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0503091730280.16557@xxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
Henrik Nordstrom wrote:
> If Linux could manage different IP stacks per interface this would not be 
> a problem, but as it is today the same IP stack is used for all interfaces 
> making dual homing (not routing) a bit troublesome when the same addresses 
> may be in both networks..

Indeed, I have exactly the same problem with a device that must
simultaneously connect to:

     - the local customer-site ethernet
     - the local customer-site 802.11 wireless

and auto-configure both interfaces using DHCP to connect to hosts on
the internet as best as possible through all available interfaces.
There is absolutely no guarantee that I won't see a network or even
address conflict on the two interfaces, as they may be _separate_
networks each behind a NAT to the outside world over ADSL.

In fact, it's quite likely that DHCP for each interface will provide a
192.168.0.0/24 address, as that seems to be the typical setup of both
kinds of ADSL NAT router...

Any suggestion of asking customer-site to specially configure their
network rather defeats the point, which is a device which
automatically tries available connections, using DHCP, and routes its
traffic over whichever one works best at any time.

-- Jamie

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