RMI problem - multiple network interfaces

Hi,

I’m currently implementing the network code for an RTS game using RMI, Java1.5.

Well, the following problem just occured when a client with more than one network card active
connects to my server:

-the lookup to the server works

-but the server can’t answer. Instead of using the ip of the interface the client established the connection on (interface 1),
he tries to send his answer to the ip of the other interface (interface 0).

So, does anybody know how to fix this?
Is it possible to set something like a default interface for RMI?

Sincerely,

Ingo