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

(usagi-users 02457) Re: Problem with neighbor solicitation



When you say you added duplicate address, what do you mean, did you duplicate the Global address in both machines?
What version of usagi are you using?
For what I can see in the first case you are trying to ping a different Global address that is in the same net and it fails
while in the other case you are doing a ping to the link local address and you are successful, because you are in the same net.


Dmitrij Moskalev wrote:

Hi, some problem arose when I used usagi.

There are two hosts:

Linux crow 2.4.20 #1 Mon Jul 7 17:12:22 MSD 2003 i586 unknown



diam@crow:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:20:AF:38:DA:2F
         inet addr:195.208.32.213  Bcast:195.208.32.255  Mask:255.255.255.0
         inet6 addr: fe80::220:afff:fe38:da2f/64 Scope:Link
         inet6 addr: ::ffff:0:c3d0:350b/96 Scope:Global
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:4109 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2815 errors:0 dropped:0 overruns:0 carrier:1
         collisions:1 txqueuelen:100
         RX bytes:463854 (452.9 KiB)  TX bytes:245242 (239.4 KiB)
         Interrupt:5 Base address:0x320



lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:2510 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2510 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:376020 (367.2 KiB)  TX bytes:376020 (367.2 KiB)



diam@crow:~$ ndp -a
Neighbor                        Linklayer Address  Netif Expire    St Flgs
Prbs



and

Linux rabbit 2.4.20 #2 Fri May 16 11:07:07 MSD 2003 i686 unknown



[diam@rabbit diam]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:D0:B7:C6:C7:28
         inet addr:192.168.30.215  Bcast:192.168.30.255  Mask:255.255.255.0
         inet6 addr: fe80::2d0:b7ff:fec6:c728/64 Scope:Link
         inet6 addr: ::ffff:0:c3d0:3509/96 Scope:Global
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:309 errors:0 dropped:0 overruns:0 frame:0
         TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:22634 (22.1 KiB)  TX bytes:15097 (14.7 KiB)
         Interrupt:11 Base address:0xdf00 Memory:fd7ff000-fd7ff038



eth1      Link encap:Ethernet  HWaddr 00:60:94:23:F5:BD
         inet addr:195.208.32.215  Bcast:195.208.32.255  Mask:255.255.255.0
         inet6 addr: fe80::260:94ff:fe23:f5bd/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:21966 errors:0 dropped:0 overruns:0 frame:0
         TX packets:13944 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:2923072 (2.7 MiB)  TX bytes:2116562 (2.0 MiB)
         Interrupt:11 Base address:0xdf80 Memory:f32ff000-f32ff038



lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:85 errors:0 dropped:0 overruns:0 frame:0
         TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:6832 (6.6 KiB)  TX bytes:6832 (6.6 KiB)





[diam@rabbit diam]$ ndp -a
Neighbor                        Linklayer Address  Netif Expire    St Flgs
Prbs
::ffff:0:c3d0:350a              00:50:04:6b:b8:3f   eth0 unknown    S
::ffff:0:c3d0:350b                                  eth0 unknown    F
fe80::250:4ff:fe6b:b83f         00:50:04:6b:b8:3f   eth0 unknown    S



Now we do ping6 from second host to first:



[diam@rabbit diam]$ ping6 ::ffff:0:c3d0:350b
PING ::ffff:0:c3d0:350b(::ffff:0:c3d0:350b) from ::ffff:0:c3d0:3509 : 56
data by
tes
From ::ffff:0:c3d0:3509 icmp_seq=1 Destination unreachable: Address
unreachable
From ::ffff:0:c3d0:3509 icmp_seq=2 Destination unreachable: Address
unreachable
From ::ffff:0:c3d0:3509 icmp_seq=3 Destination unreachable: Address
unreachable



--- ::ffff:0:c3d0:350b ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% loss, time 3025ms



and see:



17:13:32.219391 ::ffff:0:c3d0:3509 > ff02::1:ffd0:350b: icmp6: neighbor sol:
who
has ::ffff:0:c3d0:350b
17:13:33.219385 ::ffff:0:c3d0:3509 > ff02::1:ffd0:350b: icmp6: neighbor sol:
who
has ::ffff:0:c3d0:350b
17:13:34.219383 ::ffff:0:c3d0:3509 > ff02::1:ffd0:350b: icmp6: neighbor sol:
who
has ::ffff:0:c3d0:350b



There is no answer.



But if we add duplicated address, answer exist:



19:32:15.608354 fe80::2d0:b7ff:fec6:c728 > ff02::1:ffd0:350b: HBH icmp6:
multica
st listener report max resp delay: 0 addr: ff02::1:ffd0:350b [hlim 1]
19:32:15.802498 :: > ff02::1:ffd0:350b: icmp6: neighbor sol: who has
::ffff:0:c3
d0:350b
19:32:15.802827 ::ffff:0:c3d0:350b > ip6-allnodes: icmp6: neighbor adv: tgt
is :
:ffff:0:c3d0:350b
19:32:16.512497 fe80::2d0:b7ff:fec6:c728 > ff02::1:ffd0:350b: HBH icmp6:
multica
st listener report max resp delay: 0 addr: ff02::1:ffd0:350b [hlim 1]



So, in first case host rejected incoming packet, in second case - accepted
packet for the same address.

Please, help me solve this problem.



Dmitrij Moskalev,

ISP.