Subject: kern/5401: kernel/mrouted does not prune
To: None <gnats-bugs@gnats.netbsd.org>
From: Heiko W.Rupp <hwr@pilhuhn.de>
List: netbsd-bugs
Date: 05/04/1998 10:33:59
>Number:         5401
>Category:       kern
>Synopsis:       kernel/mrouted does not prune
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May  4 01:35:00 1998
>Last-Modified:
>Originator:     Heiko W.Rupp
>Organization:
private
>Release:        NetBSD1.3.1 / mrouted as supplied with (3.8 version)
>Environment:
System: NetBSD snert 1.3.1 NetBSD 1.3.1 (SNERT) #1: Thu Apr 30 19:50:31 MEST 1998 hwr@snert:/usr/src/sys/arch/i386/compile/SNERT i386


>Description:

  [ Note, I am not sure if this really belongs to kern, but then
   multicast on the ppp Interfaces was not in the kernel in 1.1 times ]

	With the following configuration

    ----we0 [snert = NetBSD box] ppp0 --------- asyn1 [cisco = gw7]

   I run mrouted without entries in mrouted.conf I get

----
   Virtual Interface Table
Vif  Name  Local-Address                               M  Thr  Rate Flags
 0    we0  193.141.89.2    subnet: 193.141.89/24       1   1      0 querier
10:13:29.036 warning - SIOCGETVIFCNT fails

 1   ppp0  194.122.227.22  subnet: 194.122.227.20/30   1   1      0 querier
10:13:29.047 warning - SIOCGETVIFCNT fails
----

which makes quite sense (appart from the warnings).

After a while packets start flowing in (as they should with dvmrp). As
there are no groups subscribed, this should stop soon, but there is no prune 
arriving at gw7 even if mrouted says so:

10:18:22.710 SENT prune message      from 194.122.227.22  to 194.122.227.21
10:18:22.713 sent prune for (default 228.1.1.47)/372 on vif 1 to 194.122.227.21

packets for this group are still flowing in as one can see by the
modem leds and tcpdump. Also I can't see any prunes with tcpdump.

When I say

phyint ppp0 disable in mrouted.conf 
and build a (mrouted-)tunnel interface to the gw7 cisco, then prunes 
start to work.

COnfig on the cisco (running IOS 11.1(18))

interface Async1
 ip pim sparse-dense-mode    ! same for sparse only or dense mode
 ip dvmrp default-information only


	
>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: