From: Srikanth Throvagunta <sthrovag@cisco.com>
Subject: Re: IP aliasing & telnet
Date: 1998/05/15 [thread overview]
Message-ID: <355C7724.D865BADF@cisco.com> (raw)
In-Reply-To: 355B4B97.1388DC9B@cisco.com
/*
* I received the following help from todd in personal email to me.
* To be more explicit, one of the Unix boxes on the testbed panicks and I want to know
* if anyone has tried out this configuration. I don't think ipforwarding
* has any element to play. As for telnet, its client does not seem to have an explicit
* mechanism to use and send packets out an interface.
* - Srikanth
*/
-------------------------------------------------------
In article <355B4B97.1388DC9B@cisco.com> you write:
> A network interface on a Unix like Digital Unix or Solaris can be assigned
> multiple IP addresses and the overloaded term IP aliasing is used to
> refer to it. I have heard 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?
In general, it's not too common to run 2 IP subnets over the same piece of
ehernet. As far as 'known problems', though, the only thing I can think
of is that you have to make sure IP forwarding is turned off on the box,
or you have yourself a nice little loop because both interfaces 'see'
every packet.
> 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?
There's no need to bind() to a specific IP address for outgoing connections,
the kernel routing table takes care of making sure the packets go out the
proper interface. In the case of telnet, the source port number is also
not important, so no, it does not need to do a bind() before connect().
todd.
next prev parent 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 [this message]
1998-05-15 4:00 ` Yar Tikhiy
1998-05-15 4:00 ` Bruce J. Keeler
1998-05-18 4:00 ` Yar Tikhiy
1998-05-18 4:00 ` Srikanth Throvagunta
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-19 4:00 ` Barry Margolin
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-18 4:00 ` Srikanth Throvagunta
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