RDV on a different LAN

Cyrille FOLLEAU <[email protected]> Wed, 7 Sep 2005 14:12:04 +0200
Newsgroups gmane.comp.java.jxta.user
Message-ID <OFFD64209B.3F5EB4A3-ONC1257075.0041256D-C1257075.0043062F@ds-fr.com>
Hello,

The question is simple :
Can I put a RDV which is not on the same LAN in "rendezvous seeding URI" ?

On JXTA configuration of Peer1 I check "Act as Rendezvous", on Peer1 only 
TCP/IP is enable (172.19.8.249:9701)
On peer2 (on a different lan 192.168.0.10), I put a new "rendezvous 
seeding URI" : tcp://172.19.8.249:9701

I can ping peer1 from peer2, and peer2 from peer1.

I read that a discovery query send a multicast to the Lan and discovery 
message to rendezvous Peer.
So Peer2 should see peer1 and peers on same LAN than peer1.

But when I do a : 
_discoSvc.getRemoteAdvertisements(null,DiscoveryService.PEER,null,null,100);
and then
Enumeration advertisments = 
_discoSvc.getLocalAdvertisements(DiscoveryService.PEER,null,null);

I only get PeerAdvertisement from the LAN of peer2 :(

Where am I wrong ?

I hope It's clear :)

Regards

Cyrille