Quantcast
Channel: UNIX and Linux Forums - AIX
Viewing all articles
Browse latest Browse all 373

Problem with multiple network interfaces

$
0
0
Hi .. we have two AIX 5.3 systems with a small client server app communicating over a TCP socket.

Box A has a single network interface where the server app (in Java) opens a well known port and waits for connections from Box B.

Box B has two network interfaces, X and Y. Interface X has the box name assigned to it but we need the two boxes to communicate via interface Y as it is on the same sub-net as A. So, the app on B binds it's socket to Y.

When the Client app (C++) on A contacts server B, all goes well from a B standpoint and B responds with a message on the new socket created by the 'accept' call. However, when received in box A, the message comes in on interface X rather than Y so the app on A never sees the message from B (as it is bound to interface Y).

Is there some inbound network routing configuration option that I need to set up to make this work ? Is so, where and how.

Thanks
Ron

Viewing all articles
Browse latest Browse all 373

Trending Articles