TCP/IP does it according to routing.  What IP address you're trying to reach
is compared to your routing table (route -n).  The system will select the
most specific route it can find.  If none match it will use the default
route.

Adam's suggestion to use different DNS names relies on this.  If you assign
DNS names to the IP address of the two ends of the HiperSocket, the routing
will automatically force the traffic over that interface, since there should
be a route entry for the HiperSocket interface that will cause all traffic
to that subnet to flow over it.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Steve Gentry
Sent: Thursday, December 08, 2005 2:51 PM
To: [email protected]
Subject: Linux and Hipersockets


Hello. I have two linux guest machines running on the same IFL  I have a
hipersocket defined to both of them i.e., they are on the same subnet.  I
also have OSA ports defined to these same two machines.  The OSA's are on
a different subnet, and both Linux's (eth0) are on that same subnet.  One
of the linux machines is running Samba.  I issue a mount command from the
other linux machine.  How do the linux machines determine which interface
(eth0 or hsi0) to use?  I would want both Linux's to use hsi0 because
hipersockets are supposed to be fast.  Can I some how force the two
Linux's to use the hsi0 rather than eth0?
Thanks,
Steve G.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to