Date: Fri, 10 Aug 2007 13:20:07 GMT From: James Carlson <carlsonj@workingcode.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/111493: routed doesn't use multicasts for RIPv2 via P2P interfaces Message-ID: <200708101320.l7ADK72A011369@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/111493; it has been noted by GNATS.
From: James Carlson <carlsonj@workingcode.com>
To: Bruce M Simpson <bms@incunabulum.net>
Cc: Vernon Schryver <vjs@calcite.rhyolite.com>, dan@obluda.cz,
freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/111493: routed doesn't use multicasts for RIPv2 via P2P interfaces
Date: Fri, 10 Aug 2007 09:15:51 -0400
Bruce M Simpson writes:
> I would just suggest that it should default to off to avoid confusing
> folk.
Defaulting what to "off?" The point of the patch (as I understood it)
was to use multicast on interfaces where the interface flags say
multicast is supported (IFF_MULTICAST) and where RIP-2 is configured
to run and multicast hasn't been explicitly disabled.
Why would this work differently than it does on Ethernet?
> If Zebra/Quagga is disallowing multicasted RIP across
> non-multicast links, that's another story entirely.
Yes, it is doing that, and so is the proposed routed patch. For
Zebra, see:
http://cvs.quagga.net/cgi-bin/viewcvs.cgi/zebra/zebra-cvs/ripd/rip_interface.c?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup
and for Quagga, see:
http://cvs.quagga.net/cgi-bin/viewcvs.cgi/quagga/ripd/rip_interface.c?annotate=1.36#163
The function of interest is rip_request_interface_send(). It checks
for version 2 and whether the interface supports multicast. If it
does, then it calls through to rip_request_send and rip_send_packet --
which uses the well-known multicast destination.
It doesn't check for point-to-point first.
(Sorry about the lame link to Zebra. They don't seem to have a web
interface.)
--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708101320.l7ADK72A011369>
