7.0-BETA2 routed and multicast registration

Marko Zec zec at icir.org
Sat Nov 17 03:27:52 PST 2007

On Saturday 17 November 2007 11:20:16 Bruce M Simpson wrote:
> Hi,
> I'm catching up on FreeBSD email after a long hiatus.
> Reinhard Haller wrote:
> > Hi,
> >
> > routed has problems with setsockopt registering itself for
> > multicast. The trace contains the following messages:
> >
> > IP_ADD_MEMBERSHIP ALLROUTERS: Can't assign requested address
> > turn on RIP
> > setsockopt(IP_ADD_MEMBERSHIP RIP): Can't assign requested address
> > setsockopt(rdisc_sock,IP_MULTICAST_IF): Can't assign requested
> > address
> That's because the ip_multicast_if() hack has been deprecated in
> -CURRENT for months now, because routed (and other multicast
> applications) really should be using the RFC 3678 APIs.
> I'm pretty sure I already pointed people at patches for converting
> routed to use the updated multicast APIs much earlier in the year;
> please check the archives, or see here:
>     http://people.freebsd.org/~bms/dump/routed.rfc3678.diff
> I haven't tested or committed the routed patch due to a lack of user
> feedback, sadly -- which is regrettable, we all end up feeling the
> pain during a release cycle if issues aren't nipped in the bud there
> and then.

Note that with a recent port of Quagga multicast doesn't work as well, 
so now we don't have neither RIP nor OSPF support there which is kind 
of funny.  Though I think it's not only the missing RFC1724 support in 
the kernel that is crippling mcast support in Quagga...


> Marko: I would much prefer it if ip_multicast_if() is not
> reintroduced to 7-CURRENT.
> kind regards,

More information about the freebsd-current mailing list