IPv6 multicast

Since IPv6 has no broadcast mechanism, a multicast address is used by the sockets transmitting OLSR packets. Using multicast in its most basic form in IPv6 is a matter of setting a socket to join a multicast sender group and to join a multicast receive group. This is done using the setsockopt(2) call and the IPV6_ADD_MEMBERSHIP and IPV6_JOIN_GROUP flags.

The default multicast-address used is ff05::15 for interfaces using a site-local address and ff0e::1 for interfaces using a global address, if nothing else is specified by the user. The multicast addresses to use can be set in the configuration file.



Andreas 2004-07-29