From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,eda29bddbfcb350c X-Google-Attributes: gid1020c6,public X-Google-Thread: 10650a,eda29bddbfcb350c X-Google-Attributes: gid10650a,public X-Google-Thread: fee84,eda29bddbfcb350c X-Google-Attributes: gidfee84,public X-Google-Thread: f72b0,eda29bddbfcb350c X-Google-Attributes: gidf72b0,public X-Google-Thread: 11035d,eda29bddbfcb350c X-Google-Attributes: gid11035d,public From: Srikanth Throvagunta Subject: Re: IP aliasing & telnet Date: 1998/05/15 Message-ID: <355C7724.D865BADF@cisco.com>#1/1 X-Deja-AN: 353570086 Content-Transfer-Encoding: 7bit References: <355B4B97.1388DC9B@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: cisco Systems Newsgroups: comp.unix.internals,comp.unix.misc,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.admin /* * 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.