Hey all,
I've been experiencing some strange network issues with OpenSG on a
client with multiple NICs.  The network setup looks as follows
eth0 (192.168.0.1) - the private cluster network
eth2 (foo.bar.baz.blah) - the Internet facing NIC

running
[EMAIL PROTECTED]:~/OpenSG/Tutorials$ strace ./13ClusterClient -m mercury -i
192.168.0.1 2>&1 | grep sockopt
setsockopt(9, SOL_SOCKET, SO_LINGER, {onoff=1, linger=1}, 8) = 0
setsockopt(9, SOL_SOCKET, SO_REUSEADDR, [-7319998661918719], 4) = 0
setsockopt(10, SOL_SOCKET, SO_BROADCAST, [33277200450977793], 4) = 0
setsockopt(10, SOL_IP, IP_MULTICAST_TTL, "\2", 1) = 0
setsockopt(10, SOL_SOCKET, SO_RCVBUF, [-7318349394214912], 4) = 0
getsockopt(10, SOL_SOCKET, SO_RCVBUF, [-7318349394214914], [4]) = 0
setsockopt(11, SOL_SOCKET, SO_BROADCAST, [34856855062708225], 4) = 0
setsockopt(11, SOL_IP, IP_MULTICAST_TTL, "\2", 1) = 0
setsockopt(11, SOL_IP, IP_MULTICAST_TTL, "\10", 1) = 0

you can see that at no stage does OpenSG call
setsockopt(...,IP_MULTICAST_IF,...) which AFAIK is required in order
to multicast out of eth0.  As it is the multicast UDP packets leave
eth2 which is the default route on the machine.  I have to remove eth2
and explicitly set a default route for all packets through eth0 in
order to get multicast working.

It's possible (read probable) that I'm doing something wrong, but I'm
not sure what.  Any advice on this would be appreciated.

Thanks,
--
Aidan

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to