qpimd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qpimd-users] Interface mismatch: recv PIM pkt from 192.168.1.6 to 2


From: Andrew Lunn
Subject: Re: [qpimd-users] Interface mismatch: recv PIM pkt from 192.168.1.6 to 224.0.0.13 on fd=12: recv_ifindex=4 (eth2) sock_ifindex=3 (eth1)
Date: Thu, 16 Apr 2009 15:59:21 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

> Are you able to test with the following tarball? The major change is a
> functional
> maintenance strategy for the RPF cache. There are several minor corrections,
> including a fix for the self-neighboring effect you pointed out.
> 
> http://download.savannah.nongnu.org/releases-noredirect/qpimd/qpimd-0.145.tar.gz

Thanks for the new tarball. 

I'm starting to make progress. 

uml1> show ip mroute 
Proto: I=IGMP P=PIM

Source          Group           Proto Input iVifI Output oVifI TTL Uptime  
192.168.1.1     232.0.0.42      I     eth1      3 eth1       3   1 00:34:57 
192.168.1.1     232.0.0.42      I     eth1      3 eth2       4   1 00:34:23 

Doesn't the first rule cause a loop, I'm seeing the same packet
multiple times on the network, since there is another node on the same
network, again eth1 with the rules:

Source          Group           Proto Input iVifI Output oVifI TTL Uptime  
192.168.1.1     232.0.0.42      I     eth1      3 eth1       3   1 00:38:03 
192.168.1.1     232.0.0.42      I     eth1      3 eth2       4   1 00:37:23 
192.168.1.1     232.0.0.42      I     eth1      3 eth3       5   1 00:37:49 

The packet seems to be going round and around with decreasing TTL.

I'm also getting some crashes:

2009/04/16 14:00:05 PIM: Interface mismatch: recv IGMP pkt from 192.168.3.5 to 
224.0.0.22 on fd=13: recv_ifindex=5 (eth3) sock_ifindex=4 (
eth2)
2009/04/16 14:00:05 PIM: stream_getc: Attempt to get char out of bounds
2009/04/16 14:00:05 PIM: &(struct stream): 0x667610, size: 4096, endp: 15, 
getp: 15

2009/04/16 14:00:05 PIM: Assertion `0' failed in file 
/home/lunn/Multicast/mobtel07/src/quagga/lib/stream.c, line 272, function 
stream_get
c
2009/04/16 14:00:05 PIM: Backtrace for 15 stack frames:
2009/04/16 14:00:05 PIM: [bt 0] 
/usr/local/lib/libzebra.so.0(zlog_backtrace+0x2b) [0x40145d28]
2009/04/16 14:00:05 PIM: [bt 1] 
/usr/local/lib/libzebra.so.0(_zlog_assert_failed+0xa5) [0x40145e98]
2009/04/16 14:00:05 PIM: [bt 2] /usr/local/lib/libzebra.so.0(stream_getc+0x84) 
[0x40142c59]
2009/04/16 14:00:05 PIM: [bt 3] /usr/local/sbin/pimd [0x40f4bc]
2009/04/16 14:00:05 PIM: [bt 4] /usr/local/sbin/pimd [0x40b708]
2009/04/16 14:00:05 PIM: [bt 5] /usr/local/sbin/pimd [0x40be84]
2009/04/16 14:00:05 PIM: [bt 6] /usr/local/sbin/pimd [0x40ce3f]
2009/04/16 14:00:05 PIM: [bt 7] /usr/local/sbin/pimd [0x40cfd4]
2009/04/16 14:00:05 PIM: [bt 8] /usr/local/sbin/pimd [0x40d2f9]
2009/04/16 14:00:05 PIM: [bt 9] /usr/local/sbin/pimd [0x40a769]
2009/04/16 14:00:05 PIM: [bt 10] /usr/local/sbin/pimd [0x40abcb]
2009/04/16 14:00:05 PIM: [bt 11] /usr/local/lib/libzebra.so.0(thread_call+0x68) 
[0x4013a14b]
2009/04/16 14:00:05 PIM: [bt 12] /usr/local/sbin/pimd [0x402db1]
2009/04/16 14:00:05 PIM: [bt 13] /lib/libc.so.6(__libc_start_main+0xda) 
[0x404c04ca]
2009/04/16 14:00:05 PIM: [bt 14] /usr/local/sbin/pimd [0x4029b9]

I used gdb to turn the addresses into symbols:
0x40f4bc <zclient_lookup_nexthop+633>
0x40b708 <fib_lookup_if_vif_index+48>
0x40be84 <igmp_source_forward_start
0x40ce3f <igmp_source_timer_on+223>
0x40cfd4 <igmp_source_reset_gmi+183>
0x40d2f9 <allow+119>
0x40a769 <pim_igmp_packet+2000>
0x40abcb <pim_igmp_read+628>

         Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]