Difference between revisions of "Multicast"
From Linux-VServer
Line 10: | Line 10: | ||
/etc/vservers/twonky/interfaces# touch 1/nodev | /etc/vservers/twonky/interfaces# touch 1/nodev | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Documentation]] |
Revision as of 20:40, 21 October 2011
For a virtual server to be able to transmit multicast packets, no special configuration is required.
To give a virtual server the ability to receive multicast packets, you must allow it to bind to the multicast address it likes to use. This can be done by creating an interface directory with the selected multicast address in the "ip" file. By creating an empty "nodev" file, no configuration on devices is done when the vserver is started.
Example:
/etc/vservers/twonky/interfaces# mkdir 1 /etc/vservers/twonky/interfaces# echo 239.255.255.250 > 1/ip /etc/vservers/twonky/interfaces# touch 1/nodev