From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d391893b00852dda X-Google-Attributes: gidfee84,public From: arnaud valeix Subject: Re: 2 IP address for one Ethernet Card and routing Date: 2000/03/03 Message-ID: <38BF5405.167E@aigf.sncf.fr>#1/1 X-Deja-AN: 592548631 Content-Transfer-Encoding: 7bit References: <38BCD1E8.41C6@aigf.sncf.fr> Organization: S.N.C.F. (French Railways) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hello - More precisions > On the local machine: > > I ping the remote machine: ---> It's OK. > I try to telnet the remote machine: --> It is NOT OK. > > I use tcpdump and I saw this: > > When I use ping (icmp) , the origin IP address used is the B address. > When I use telnet (tcp), the origin IP address used is the A address. RFC 792 (ICMP) The source ip address could be any of the gateway's address. (re-routed ppacket to remote through alias ip address) TCP (use a function : GET_SRCADDR) which look into the OS or config as rc.config. This, explain why telnet,rsh,rcp,rlogin..etc use the primary address describe in the rc.config. > > That's why, the telnet doesn't not respond. > > Is it possible to resolve this or more, to force using the alias > address to be the origin of packet with B IP address. It'll be nice to include a route option to use an alias address for source routing or to forget primary address. > > I try to change the IP address on the local /etc/hosts and use > the old IP adress B for hostname, but it's not better. > > I'd like any informations. > > Thank's > > Arnaud VALEIX