PDA

View Full Version : Gateway Global Ping results - which RFE is local?


korda
05-25-2008, 01:16 PM
After Global Ping by using "proxy.mcastRpc(this.getSnapNetAddr(), new byte[] { 0, 1 }, 5,"vmStat", new object[] { 5, 6 });" in the client program, we hopefully receive all RFEs MACs.
How to determine which RFE MAC is locally connected, if they all respond at "random"?

mgenti
05-26-2008, 03:27 PM
Using the example provided there is not a way to determine which one is the directly conned node. Instead you will need to issue a separate multicast ping with a TTL of 1. This way only the directly connected host will respond to the ping. You can also drop the last parameter (spread time) since only one node will respond.