Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: bkeelerx@iwa.dp.intel.com (Bruce J. Keeler)
Subject: Re: IP aliasing & telnet
Date: 1998/05/15	[thread overview]
Message-ID: <eclu36rcyxc.fsf@ws025.dp.intel.com> (raw)
In-Reply-To: 6jhn36$hfq$1@alpha2.radio-msu.net


Yar Tikhiy <yar@radio-msu.net> writes:
> Hello,
> 
> In comp.unix.internals Srikanth Throvagunta <sthrovag@cisco.com> wrote:
> > that an interface configured with multiple IP addresses under
> > different subnets is known to cause
> > some problems. What, if any, are they? Has anyone experimented
> > with such a setup?
> 
> I never heard about such problems.

Nor I.
> 
> > Telnet runs off TCP port 23. There does not seem to be an option
> > in telnet to specify a particular
> > interface address to use (when configured with IP aliasing).
> > In a nutshell, telnet does not seem to
> > do a bind before a connect on the socket. Can anyone please
> > spearhead the discussion?
> 
> Telnet does not run off TCP port 23. Telnetd does :-) Even more
> correctly, it is inetd which knows about the ports and addresses,
> and telnetd just uses stdin and stdout. Generally speaking,
> a lot of modern standalone (i.e. which does not run from inetd)
> server-side software can be configured to bind to a specific
> IP address. Usual inetd cannot, but xinetd (a free advanced
> replacement for inetd; it seems to be for BSD only, though) can.
> 
> SY, Yar

As I read the original question, he seems to be wondering how the system
chooses the source IP address when initiating an outbound connection.
The answer is that it will pick the one that corresponds to the subnet
it's going to.  The only times that's ambiguous is when there is more
than one route to the destination, or when the aliased IP addresses are
on the same subnet.  I can't imagine a case when either situation would
cause a problem.

If telnet provides no way to bind the client end of the connection, it's
probably because there's no need.

Bruce
--
      Bruce J. Keeler          | Someone:  Just how fast is that RS6000 box?
  bkeelerx@iwa.intel.dp.com    |
UNIX, Perl, whatever you need. | Me: Well, I don't know what its terminal
   I don't speak for Intel.    | velocity is, but I'd sure love to find out!



  reply	other threads:[~1998-05-15  4:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-14  4:00 IP aliasing & telnet Srikanth Throvagunta
1998-05-15  4:00 ` Srikanth Throvagunta
1998-05-15  4:00 ` Yar Tikhiy
1998-05-15  4:00   ` Bruce J. Keeler [this message]
1998-05-18  4:00     ` Yar Tikhiy
1998-05-18  4:00   ` Srikanth Throvagunta
1998-05-18  4:00   ` Srikanth Throvagunta
1998-05-19  4:00     ` Barry Margolin
1998-05-19  4:00     ` Jure Simsic
1998-05-19  4:00       ` Andrew Williams
1998-05-19  4:00       ` Kurt J. Lanza
1998-05-22  4:00       ` Srikanth Throv
1998-05-20  4:00     ` Brian McCauley
1998-06-02  4:00     ` Mark Simon
1998-06-02  4:00       ` T. Srikanth
1998-06-03  4:00       ` Michael Mansour
1998-05-21  4:00 ` Bjorn Borud
1998-05-21  4:00   ` Barry Margolin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox