From root@fapl.lucentmmit.com  Mon Apr 20 15:04:22 1998
Received: from fapl.lucentmmit.com ([38.162.159.140])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09198
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Apr 1998 15:04:18 GMT
          (envelope-from root@fapl.lucentmmit.com)
Received: (from root@localhost)
	by fapl.lucentmmit.com (8.8.7/8.8.7) id NAA13337;
	Wed, 15 Apr 1998 13:53:37 -0400 (EDT)
	(envelope-from root)
Message-Id: <199804151753.NAA13337@fapl.lucentmmit.com>
Date: Wed, 15 Apr 1998 13:53:37 -0400 (EDT)
From: mcambria@lucent.com
Reply-To: mcambria@lucent.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Problem with routed(8) router discovery client
X-Send-Pr-Version: 3.2

>Number:         6359
>Category:       bin
>Synopsis:       routed does sent router discovry solicitations
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 20 08:10:19 PDT 1998
>Closed-Date:    Mon Mar 12 17:02:44 PST 2001
>Last-Modified:  Mon Mar 12 17:03:00 PST 2001
>Originator:     Michael C. Cambria
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
>Environment:

	FreeBSD 2.2.5 Release from the CD-ROM

>Description:

        routed(8) is setup to do router discovery client.  There is no default
        router configured.  The only thing netstat -rn shows is loopback and 
        the 2 local ethernet networks.

        routed(8) uses all defaults (ie. no /etc/gateways file exists.)

        When the system boots (and when the router discovery soliciation 
        timer expires) error messages stating that there is no route to host 
        for ip addresses 224.0.0.2 and 224.0.0.9 show up.  It seems that 
        routed is trying to determine the interface to send multicast 
        messages for router discovery solicitations via the route table.

        When I configure a default route (which defeats the purpose of 
        router discovery), the error messages go away.  Likewise, when I 
        configure a default route to a non-existant IP address, the messages
        go away (but I can't trigger a router advertisement either.)

        If I set /etc/gateways to use rdisc_bcast (ie. turn off multicast)
        everything works fine.  The problem is that the point of using 
        routed at all was to teach multicast.

        Using gated(8) in lieu of routed(8) works perfectly.

>How-To-Repeat:

	Use routed -q as a router discovery client with no /etc/gateways file 
        (ie. default everything.)  In my specific case, I have 2 ethernet 
        interfaces and forwarding is enabled (it was left over from when 
        this machine was running as a router.)

>Fix:
	
	Use rdisc_bcast in /etc/gateways 

>Release-Note:
>Audit-Trail:

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: mcambria@lucent.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: bin/6359: Problem with routed(8) router discovery client
Date: Tue, 21 Apr 1998 14:17:05 -0400 (EDT)

 <<On Wed, 15 Apr 1998 13:53:37 -0400 (EDT), mcambria@lucent.com said:
 
 >         When I configure a default route (which defeats the purpose of 
 >         router discovery), the error messages go away.  
 
 You need a multicast default route.  This used to be obvious in the
 old sysconfig framework:
 
 #static_routes="foo multicast"
 #route_foo="woofo woofo-gw"
 #route_multicast="224.0.0.0 -netmask 0xf0000000 -interface 10.0.0.1"
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Mon Aug 14 10:12:03 PDT 2000 
State-Changed-Why:  
Did you ever try Garrett's suggestion to set up a multicast 
default route? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=6359 
State-Changed-From-To: feedback->closed 
State-Changed-By: des 
State-Changed-When: Mon Mar 12 17:02:44 PST 2001 
State-Changed-Why:  
Feedback timeout (and likely a configuration error) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=6359 
>Unformatted:
