-
1. Re: multicasting and routers
tom.elrod Mar 19, 2005 9:23 PM (in response to mazz)Can't really speak to the configuration of your Netgear in particular. Would have to research to understand what the settings mean. However, most network devices that act as a switch and provide DHCP service will not allow muliticast past the device by default (have a wireless DLink where this is the case, but gave up trying to configure it to allow multicast because it is pos).
There are a couple of tools you can use. One is the DetectorUtil within the remoting package. It is a simple class that will start eitehr a multicast or jndi detector and output the NetworkRegistry's entries every 3 seconds. This will at least give you insite as to what the detector can see. For a little lower level too to figure out if multicast is working, can run the jgroups org.jgropus.demos.Draw class (just need jgroups and commons-logging jar to run it). This will start a whiteboard. If start the Draw program on both machines and they see each other, via drawing on one and showing up on the other, then you know multicast is working (this only uses multicast to communicate). If this tool does not work, then is down to looking at network config, which will depend on your specific network (and can't help much without hands on)
Hope this helps.
-Tom -
2. Re: multicasting and routers
mazz Mar 21, 2005 9:46 AM (in response to mazz)To close this thread - I did get it to work with no real configuration changes needed. Just have to make sure you use a multicast IP address (224.*.*.* - 239.*.*.*) for the MulticastDetector port - the default JBoss/Remoting is obviously fine here. What I ended up doing is connecting my laptop to the network via my router using two interfaces (the wireless and the normal wired connection). Then I just started two JBossAS servers using "-b {wireless addr}" and "-b {wired addr}". Things worked fine.