Re: Abnormal behaviour of ping6
- To: Marc Blanchet <Marc.Blanchet@viagenie.qc.ca>, debian-ipv6@lists.debian.org
- Subject: Re: Abnormal behaviour of ping6
- From: Sharmila <shard@intoto.com>
- Date: Wed, 20 Oct 2004 17:33:12 +0530
- Message-id: <6.1.2.0.0.20041020172428.02321b08@172.16.1.10>
- In-reply-to: <134C64E6D0D127AFF6C8ABB4@[10.255.255.122]>
- References: <6.1.2.0.0.20041019182732.0227d3d0@172.16.1.10> <134C64E6D0D127AFF6C8ABB4@[10.255.255.122]>
Hi Marc,
Thanks a
lot for ur reply.With the ipaddresses and mask suggested by
you,everything is working fine.I am able to ping from Host1 to Host2
successfully all the times.traceroute6 and tracepath6 also worked
fine.
But,I have
two questions to ask you and everybody:
1)According
to my understanding site-local addresses in ipv6 are same as private
ipaddresses in ipv4.If site-local addresses are being deprecated,which
addresses should we use on private LANs??
2)I could
not understand why netmask /80 is illegal in ipv6? I thought ,I would use
48 bits for interface-id and remaining 80 as prefix.Why am I wrong in
thinking so? When I did ifconfig with /80 ,it accepted and even displayed
the address with /80 prefix.then why does the kernel (probably) set it to
64.
It would
be very kind of u all if you can clarify me in these things.
Thanks again for previous mail.
Expecting more help from u,
Sharmila
At 06:50 AM 10/20/2004, Marc Blanchet wrote:
- your "netmask" is
/80. illegal in ipv6. should be /64.
- the kernel probably sets it to /64 anyway. if you then look at your
config and substitute /80 by /64, then all your hosts appear to be on the
same link, where they aren't.
- use /64 and do addressing for the 2 links. example:
host1 eth0 =
fec0::1:e2d2:50:fcb2:7251 / 64
router eth0 = fec0::1:e2d2:50:fcb1:de7b / 64
router eth1 = fec0::2:a4b4:11:111b:9dd3 / 64
host2 eth0 = fec0::2:a4b4:50:fcb2:4574 /
64
- fec0, site-local, is currently being deprecated. You can still use it
for testing purposes, but don't plan to do a whole ipv6 addressing plan
with this.
Marc.
--On Mardi 19 octobre 2004 18:28 +0530 Sharmila <shard@intoto.com>
wrote:
Hi all,
I
am a new user of Ipv6 and I am using the following simple setup:
Host1------Router--------Host2
Host1,Host2 & router are linux(kernel version 2.4.18-4 ) pcs with
ipv6
insmoded .(Dual Stack is present on all 3 m/cs).On router,I have
enabled
forwarding.
The ipv6 addresses are as follows:
host1 eth0 = fec0::e2d2:50:fcb2:7251 / 80
router eth0 = fec0::e2d2:50:fcb1:de7b / 80
router eth1 = fec0::a4b4:11:111b:9dd3 / 80
host2 eth0 = fec0::a4b4:50:fcb2:4574 / 80
Added corresponding routes on host1 and host2
Now the problem is , ping6 from host1 to host2 is successful
sometimes
and failure sometimes.In case of failure,it gives "Destination
not
reachable:Address unreachable" message.
Why is it behaving abnormally?? Am I missing some configuration ? Or
is
the problem with my m/cs?
Also, are there are any better test tools?? Please help me in this
regard.
Thanks in advance,
Sharmila
--
To UNSUBSCRIBE, email to debian-ipv6-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
D.Sharmila
Intoto Software (India) Pvt. Ltd.,
Uma Plaza,Nagarjuna Circle,
Punjagutta,
Hyderabad ,India.
Mobile: 9885012730
Tel: +91-40-2335-8927 / 28Ext: 210
Fax: +91-40-2335-8933
e-mail: shard@intoto.com,sharmiladabbiru@yahoo.com
Reply to: