From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9339709a66775bb0 X-Google-Attributes: gidfee84,public From: RRrp Toren Subject: Re: Question on IP address aliasing Date: 1998/01/29 Message-ID: <34D135C3.BD886E0C@erols.com>#1/1 X-Deja-AN: 320441746 Content-Transfer-Encoding: 7bit References: <34D10593.6D3E@bankerstrust.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@erols.com X-Trace: winter.news.erols.com 886125950 963 207.172.131.89 (30 Jan 1998 02:05:50 GMT) Organization: Erol's Internet Services Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Guru; I have been using the IP Aliasing now for 5 years in a simulation environment. There are two situations: 1) You develop the application. In that case you use the desired IP address in the bind call of the socket. The normal value of '0' that you see in the books tells the OS to pick the best interface. By specifying what you want, that is what you get if it is available. 2) A process you don't control (e.g. telnet) will use the '0' and let the OS use the best IP based upon the destination and the current routing knowledge. You basicly can't force it..... guru sundararaman wrote: > > I have a network interface that "listens" for multiple IP addresses > (i.e. IP address aliasing). How do I ensure or control what address is > used when a connection is made *from* that interface to an external > system? > > Thanks. > -Guru S. > guru.sundararaman@bankerstrust.com