From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 10 13:20:07 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 559B516A418 for ; Fri, 10 Aug 2007 13:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C58513C469 for ; Fri, 10 Aug 2007 13:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7ADK7vt011371 for ; Fri, 10 Aug 2007 13:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7ADK72A011369; Fri, 10 Aug 2007 13:20:07 GMT (envelope-from gnats) Date: Fri, 10 Aug 2007 13:20:07 GMT Message-Id: <200708101320.l7ADK72A011369@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: James Carlson Cc: Subject: Re: bin/111493: routed doesn't use multicasts for RIPv2 via P2P interfaces X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: James Carlson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 13:20:07 -0000 The following reply was made to PR bin/111493; it has been noted by GNATS. From: James Carlson To: Bruce M Simpson Cc: Vernon Schryver , 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