netdev
[Top] [All Lists]

ICMPv6 Echo Reply bug in Linux 2.2.15 ?

To: netdev@xxxxxxxxxxx
Subject: ICMPv6 Echo Reply bug in Linux 2.2.15 ?
From: Thomas Moestl <tmoestl@xxxxxxx>
Date: Mon, 15 May 2000 18:07:49 +0200
Sender: owner-netdev@xxxxxxxxxxx
Hi!

I was building a ping implementation for IPv6, when I noticed a
strange thing: When I send an ICMP echo request to the link-
local address of my network adaptor (the one that is automatically
assigned to an eth? interface), I get an ICMP echo reply (with
matching id and seq) from ::1, and no reply from the address I pinged.
This is probably not very important, but it surely is not compliant
to rfc 2463, that states that the reply must come frome the address
the Echo Request went to. Has anybody any idea where the problem is?
Here is my configuration:

----------
ip addr ls:
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:00:86:39:0c:b0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.89/24 brd 192.168.0.255 scope global eth0
    inet6 fe80::200:86ff:fe39:cb0/10 scope link 
----------
ip route ls:
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.89 
127.0.0.0/8 dev lo  scope link 
default via 192.168.0.3 dev eth0  metric 1 
----------
ip link ls:
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop 
    link/sit 0.0.0.0 brd 0.0.0.0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:00:86:39:0c:b0 brd ff:ff:ff:ff:ff:ff
----------

The IP that I pinged was fe80::200:86ff:fe39:cb0 in this case.

I tested this on a network without any IPv6 routers.
If somebody needs it, I can post some code.

Thomas


-- 

-------------------------------------------------------------------------------
Thomas Moestl <tmoestl@xxxxxxx>  --- http://home.t-online.de/home/Moestl/
gpg/pgp key fingerprint: 6011 FAD1 73FF 775F 052F  A022 A813 81AE CFE6 C8BB


<Prev in Thread] Current Thread [Next in Thread>