DUPlicate icmpv6 echo replies over wi0

Folkert Saathoff folkert at feedface.com
Mon Sep 5 05:13:34 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


hello lists,

i am setting up a wireless mobile IPv6 test network. for this, i am  
using
the kame snapshot from july (20050711) on freebsd 5.4, all on x86  
hardware.
before even setting up the mobile ip stuff, i noticed some weird  
behaviour
on the wireless nics. whenever i ping6 over a wireless link, i get  
DUPlicate
ICMPv6 echo responses. this does not happen for every echo request,  
but for
about every sixth request. also, its not only one DUPlicate, but  
between one
and a few dozen. it does not seem to matter wether i ping6 the router  
(which is
also the hostap) or a host behind that router. this happens in both  
directions too.
ethereal says that the correct number of echo requests is sent.
ping6ing over ethernet works as expected.


has anyone an idea what is going on here?

thnx/cheers,
/folkert



                            _
  ___ _   _ _ __ ___  _ __ | |_ ___  _ __ ___  _
/ __| | | | '_ ` _ \| '_ \| __/ _ \| '_ ` _ \(_)
\__ \ |_| | | | | | | |_) | || (_) | | | | | |_
|___/\__, |_| |_| |_| .__/ \__\___/|_| |_| |_(_)
      |___/          |_|

  _
  _|
|_ $ ping6 -c 5 feed:face:c0ca:c01a::a
PING6(56=40+8+8 bytes) feed:face:c0ca:c01a::b --> feed:face:c0ca:c01a::a
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=733.143 ms
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=735.438  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=737.302  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=737.72  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=740.634  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=741.054  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=0 hlim=64 time=741.46  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=5.477 ms
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=7.784 ms 
(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=9.644 ms 
(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=10.974  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=12.863  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=13.279  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=15.947  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=16.363  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=19.33 ms 
(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=21.133  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=21.549  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=23.583  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=23.989  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=24.397  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=24.802  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=25.209  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=25.615  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=1 hlim=64 time=26.023  
ms(DUP!)
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=2 hlim=64 time=4.076 ms
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=3 hlim=64 time=5.187 ms
16 bytes from feed:face:c0ca:c01a::a, icmp_seq=4 hlim=64 time=4.068 ms

- --- feed:face:c0ca:c01a::a ping6 statistics ---
5 packets transmitted, 5 packets received, +23 duplicates, 0.0%  
packet loss
round-trip min/avg/max/std-dev = 4.068/196.716/741.460/312.649 ms
_




       _ _            _
   ___| (_) ___ _ __ | |_ _
  / __| | |/ _ \ '_ \| __(_)
| (__| | |  __/ | | | |_ _
  \___|_|_|\___|_| |_|\__(_)

  _
  _|
|_ $ dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights  
reserved.
FreeBSD 5.4-RELEASE #0: Tue Jul 12 01:27:37 CEST 2005
     folkert at w2l2-10.cs.fh-wiesbaden.de:/home/folkert/src/kame/ 
freebsd5/sys/i386/compile/FF.MIP6.KAME
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (300.68-MHz 586- 
class CPU)
   Origin = "Geode by NSC"  Id = 0x540  Stepping = 0
   Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory  = 62390272 (59 MB)
avail memory = 55750656 (53 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 4 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.19.INTA
rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem  
0xe0000000-0xe00000ff irq 9 at device 6.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:2e:31:02:b7
rl1: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem  
0xe1000000-0xe10000ff irq 10 at device 10.0 on pci0
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:02:2e:39:00:c0
cbb0: <RF5C475 PCI-CardBus Bridge> irq 11 at device 14.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
isab0: <PCI-ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge> at device 18.1 (no driver attached)
atapci0: <Cyrix 5530 ATA33 controller> port 0xd800-0xd87f, 
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 18.2 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <multimedia, audio> at device 18.3 (no driver attached)
pci0: <display, VGA> at device 18.4 (no driver attached)
pci0: <serial bus, USB> at device 19.0 (no driver attached)
pmtimer0 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 10.000 msec
IPv6 packet filtering initialized, default to accept, unlimited logging
IPsec: Initialized Security Association Processing.
ad0: 38166MB <ST340016A/3.75> [77545/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
wi0: <  IEEE 802.11 Wireless LAN/PC Card> at port 0x100-0x13f irq 11  
function 0 config 1 on pccard0
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (1.7.1)
wi0: Ethernet address: 00:60:b3:66:a9:42
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

  _
  _|
|_ $ ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet6 feed:face:c0ca:c01a::b prefixlen 64
         inet6 fe80::260:b3ff:fe66:a942%wi0 prefixlen 64 scopeid 0x11
         ether 00:60:b3:66:a9:42
         media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
         status: associated
         ssid farfaraway 1:farfaraway
         stationname "FreeBSD WaveLAN/IEEE node"
         channel 1 authmode OPEN powersavemode OFF powersavesleep 100
         rtsthreshold 2312 protmode CTS
         wepmode OFF weptxkey 1




  _               _
| |__   ___  ___| |_ __ _ _ __ _
| '_ \ / _ \/ __| __/ _` | '_ (_)
| | | | (_) \__ \ || (_| | |_) |
|_| |_|\___/|___/\__\__,_| .__(_)
                          |_|

  _
_|
_|$ dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights  
reserved.
FreeBSD 5.4-RELEASE #0: Tue Jul 12 01:45:33 CEST 2005
     folkert at w2l2-11.cs.fh-wiesbaden.de:/home/folkert/src/kame/ 
freebsd5/sys/i386/compile/FF.MIP6.KAME
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (300.68-MHz 586- 
class CPU)
   Origin = "Geode by NSC"  Id = 0x540  Stepping = 0
   Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory  = 62390272 (59 MB)
avail memory = 55750656 (53 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 4 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.19.INTA
rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem  
0xe0000000-0xe00000ff irq 9 at device 6.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:2e:31:02:c3
rl1: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem  
0xe1000000-0xe10000ff irq 10 at device 10.0 on pci0
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:02:2e:39:00:cd
cbb0: <RF5C475 PCI-CardBus Bridge> irq 11 at device 14.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
isab0: <PCI-ISA bridge> at device 18.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge> at device 18.1 (no driver attached)
atapci0: <Cyrix 5530 ATA33 controller> port 0xd800-0xd87f, 
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 18.2 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <multimedia, audio> at device 18.3 (no driver attached)
pci0: <display, VGA> at device 18.4 (no driver attached)
pci0: <serial bus, USB> at device 19.0 (no driver attached)
pmtimer0 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 10.000 msec
IPv6 packet filtering initialized, default to accept, unlimited logging
IPsec: Initialized Security Association Processing.
ad0: 38166MB <ST340016A/3.75> [77545/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
wi0: <  IEEE 802.11 Wireless LAN/PC Card> at port 0x100-0x13f irq 11  
function 0 config 1 on pccard0
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:60:b3:66:a8:74
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

_
_|
_|$ ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet6 feed:face:c0ca:c01a::a prefixlen 64
         inet6 fe80::260:b3ff:fe66:a874%wi0 prefixlen 64 scopeid 0x11
         ether 00:60:b3:66:a8:74
         media: IEEE 802.11 Wireless Ethernet DS/11Mbps <hostap> (DS/ 
2Mbps <hostap>)
         status: associated
         ssid farfaraway 1:farfaraway
         stationname "FreeBSD WaveLAN/IEEE node"
         channel 1 authmode OPEN powersavemode OFF powersavesleep 100
         rtsthreshold 2312 protmode CTS
         wepmode OFF weptxkey 1



                                                                         
      /*
   _   
_                                                                        
*
   _|| 
_                                                                        
*
    ||                                                  
folkert at feedface.com   *
                                                                         
      */



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDHDZsIA10xPlRIZURAgvKAJ9/GWErWiRQA4TYqklr2l4F2gfpxgCghYF/
UOzknCsG6xw1UCeCzFnPXKU=
=TIfe
-----END PGP SIGNATURE-----


More information about the freebsd-mobile mailing list