Browse files

added Ubuntu multicast routing note

  • Loading branch information...
1 parent 9f1f881 commit 69c4f52c17ff23b0a42dca8165c5cdfbb7bb29bc chrisdew committed Mar 14, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0
@@ -45,6 +45,15 @@ Setting the Multicast Interface:
socket.setMulticastInterface(""); // Where is the IP of the interface you want to use Multicast on
socket.setMulticastInterface(); // If you want the system to figure out which to use (commonly the first non-loopback interface)

chrisdew Mar 14, 2011


Is this OSX-specific behaviour, or have you seen this on another Unix?

+Ubuntu/Debian specific notes on setMulticastInterface():
+Add something like the lines below to /etc/network/interfaces to control which interface is the default for multicast. By default, multicast uses the default route, not the first non-loopback interface.
+ up route add -net netmask eth0
+ down route del -net netmask eth0
Leaving a Multicast Group:

0 comments on commit 69c4f52

Please sign in to comment.