[896] in linux-net channel archive
Re: multiple IP addresses, outgoing connections
daemon@ATHENA.MIT.EDU (Harald Milz)
Sun Aug 13 18:46:21 1995
From: seneca!hm@commy.ix.de (Harald Milz)
To: linux-net@vger.rutgers.edu
Date: Sun, 13 Aug 1995 08:09:37 +0200 (MET DST)
Reply-To: seneca!hm@commy.ix.de
Subject: Re: multiple IP addresses, outgoing connections
To: linux-net@vger.rutgers.edu
Organization: Harry's Box
Stephen R. van den Berg (srb@cuci.nl) wrote:
> Now, if you have one ethernet connection, but have multiple IP addresses
> (like by using dummy interfaces), there seems to be no way to coerce the
> kernel/programs into automatically selecting a certain sender address
> depending on where you'd like to connect.
This seems so. My "problem" is just the opposite. I have an ISDN card in
my box, using Matthias Urlichs' IP/ISDN software. Plus I have a dummy
interface set up. Ths dummy interface's address is the one which is
publicly known by nameserver entries, and the address of the outgoing
IP/ISDN interface is different. Ideally, it should not be seen from the
outside (like a router's interface). Now when I make connections to the
outside world, the packets' source address is the one of the IP/ISDN
interface which is sometimes annoying (some FTP servers make reverse
nameserver lookups to verify the client's address which in this case
is unknown). Assigning the IP/ISDN interface my "real" address is no
alternative -- if the ISDN software isn't loaded due to some
testing, the box can't even look up its name in /etc/hosts.
How can I give the outgoing packets the correct address?
Ciao,
hm