Originally posted by: Kosala
Hi,
I have a interesting situation which I can't seem to find a workaround. One of my servers are assigned with two IP address with two interfaces (en2 and en3):
en2: 172.16.1.151 gw 172.16.1.222 (production LAN)
en3: 172.16.250.151 gw 172.16.250.222 (test LAN)
Both these networks are accessible to users in the 172.0.0.0 network in our organization. Using smitty I have applied the default gateway of 172.16.1.222 for both the interfaces (en2 and en3). In order to allow users to connect to the 172.16.250.0 network I have added a static route for the 172.16.250.222, for the network on en3. Now I have the following entries in the netstat -rn
default 172.16.1.222 UG 4 0
en2 - - =>
default 172.16.250.222 UG 4 0
en3 - -
Since these two route are assigned to two different interfaces, I expected AIX to use the respective interface based on the destination network, but for my disappointment, these two routing entries are used as a ip multi-pathing scenario. For example, telnet attempts to one of the IP addresses respond alternately in a round robin manner. Which means alternatively, the connection times out for consecutive telnet sessions, for both IP addresses.
How can I specify, users who reach the server through en2 should go to 172.16.1.222 and users who reach the server via en3 should use the 172.16.250.222... What did I do wrong here? Any pointers highly appreciated.
Thanx in advance,
Kosala
#AIX-Forum