Yenya's World

Thu, 24 May 2007

Playing With Multicast

We have our hot-spare router back from repair, and it has been working for a week without crash so far. So I have finally got a chance to play with new features of our network without having to fear that I lose the whole network in case of a misconfiguration. The first thing which was long overdue was native multicast (the second one being native IPv6 on all our networks).

It seems that the basic multicast sending and receiving data works - the following example uses VideoLan Client:

stream-server$ vlc -vvv MyFavouriteAnime.avi --sout udp:239.123.45.67 --ttl 2
stream-client$ vlc -vvv udp:@239.123.45.67

However, it seems only some of the multicast-able hosts on my network can answer to the ping -t 2 -c 2 224.0.0.1. So far I have not figured out what to do in order to make the remaining hosts answer the above ping.

The Linux multicast routing, on the other hand, is a very sorrowful area. The HOWTOs are many years old and obsolete, the routing programs like mrouted or pimd are not being worked on anymore. The mailing lists and discussion boards are full of questions without answers, like this one at KernelTrap. For example, on my router the /proc/sys/net/ipv4/conf/*/mc_forwarding files are read-only, and the /proc/net/ip_mr_cache file is empty no matter what I do.

I have yet to try some more tricks mentioned in the above KernelTrap thread. But nevertheless, my dear lazyweb, does anyone have a working Linux-based multicast router?

Section: /computers (RSS feed) | Permanent link | 2 writebacks

About:

Yenya's World: Linux and beyond - Yenya's blog.

Links:

RSS feed

Jan "Yenya" Kasprzak

The main page of this blog

Categories:

Archive:

Blog roll:

alphabetically :-)