Using multicast across subnets gets a bit involved. This thread may help.
http://www.nabble.com/broker-discovery-client-help-to4474136.html#a4515535 If multicast is not a requirement, I would recommend using unicast tcp transports to connect the two brokers. Joe LiXiao2007 wrote: > > I setup two brokers on different subnets and tried to connect them using > networkConnector. It did not work. Could someone tell me how to configure > it? > Thanks! > > Here are my configurations. > > Broker A. > <transportConnectors> > <transportConnector name="openwire" uri="tcp://host1:portnumber" > discoveryUri="multicast://mygroupid"/> > </transportConnectors> > > <networkConnectors> > <networkConnector uri="multicast://mygroupid"/> > </networkConnectors> > > Broker B. > > <transportConnectors> > <transportConnector name="openwire" uri="tcp://host2:portnumber" > discoveryUri="multicast://mygroupid"/> > </transportConnectors> > > <networkConnectors> > <networkConnector uri="multicast://mygroupid"/> > </networkConnectors> > > Here host1 and host2 are on different subnets. > -- View this message in context: http://www.nabble.com/How-to-configure-network-brokers-on-different-subnet-tp17873028p17877349.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.