From: arnaud valeix <arnaud.valeix@aigf.sncf.fr>
Subject: 2 IP address for one Ethernet Card and routing
Date: 2000/03/01 [thread overview]
Message-ID: <38BCD1E8.41C6@aigf.sncf.fr> (raw)
Hello,
I was trying to define 2 ip address for one ethernet card and changing
order of IP address of different class.
A is the new primary IP address
B became the alias IP address.
In the file : /etc/host -> hostname is known with IP address named: A.
The IP address named : A is also on rc.config
and the alias IP address named: B in /etc/inet.local.
On the local machine I create a route to a target machine using
the IP adress B.
This is the Origin Machine.
----------
A remote Target machine who knew the Origin machine using the IP address
named : B I do these adjustments:
On this remote machine, if I well configure route,
(adding a route to join the ip address named A - IP address B route
was already on).
I can use ping and telnet from the remote station with the
address A and B. An the origin machine can ping and telnet this
target machine also without any problem.
All is OK.
-------
But I was thinking about a workless solution, which I'm gonna explain:
Imagine on this remote machine , I forgot to create a route to join
IP address A of the local machine.
What's happen:
I clear the arp translation over the 2 machines.
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.
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.
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
next reply other threads:[~2000-03-01 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-01 5:00 arnaud valeix [this message]
2000-03-03 5:00 ` 2 IP address for one Ethernet Card and routing arnaud valeix
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