Multicast: Difference between revisions

From Linix VServer
Jump to navigationJump to search
imported>Phedny
No edit summary
 
imported>Glenn
(catspec)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
/etc/vservers/twonky/interfaces# touch 1/nodev
/etc/vservers/twonky/interfaces# touch 1/nodev
</pre>
</pre>
[[Category:Network related]]

Latest revision as of 21:25, 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