[ds6] Help required: Unable to Ping Global Ipv6 address from different host

somashekar somashekar at celstream.com
Wed Apr 5 13:54:46 CEST 2006


Hi All,



I have two desktops which are installed with Fedora Core release 3,
connected with each other using Ethernet hub (crash net)

They are not connected to the main network (i.e., uplink is not
connected)

I am trying to establishing a network where the two PCs can communicate
each other using IPv6 addresses.

Both hosts are IPv6 enabled.



Iam able to ping the link-local ipv6 address from one host to another
host.

But unable to ping the global ipv6 address.



The configuration of the two PCs, which are named as Host-A and Host-B
are as shown below.



Host-A configuration

-----------------------------

After reboot, [root at localhost ~]# ifconfig

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:3586 errors:0 dropped:0 overruns:0 frame:0

          TX packets:3586 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:4476276 (4.2 Mb)  TX bytes:4476276 (4.2 Mb)

------------------------------------------------------------------------
-----------------------------

Iam assigning 10.255.114.96 address to Host-A



[root at localhost ~]#  ifconfig eth0 10.255.114.96



eth0      Link encap:Ethernet  HWaddr 00:08:74:2E:41:54

          inet addr:10.255.114.96  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::208:74ff:fe2e:4154/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:1 errors:0 dropped:0 overruns:0 frame:0

          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:64 (64.0 b)  TX bytes:3910 (3.8 Kb)

          Base address:0xecc0 Memory:ff8e0000-ff900000



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:3586 errors:0 dropped:0 overruns:0 frame:0

          TX packets:3586 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:4476276 (4.2 Mb)  TX bytes:4476276 (4.2 Mb)

------------------------------------------------------------------------
-----------------------

Initial /etc/resolv.conf



; generated by /sbin/dhclient-script

search xerox.celstream.com

nameserver 10.255.114.25



---------------------------------------------------------------------

I have used bind-9.3.2 for DNS Server configuration.



After changing resolv.conf as shown below



; generated by /sbin/dhclient-script

search celstream1.com

nameserver 10.255.114.96



------------------------------------------------------------------------
-

Ping DNS Server "celstream1.com"



[root at localhost ~]# ping ns1.celstream1.com



PING ns1.celstream1.com (10.255.114.96) 56(84) bytes of data.

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=0 ttl=64
time=0.056 ms

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=1 ttl=64
time=0.072 ms

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=2 ttl=64
time=0.068 ms

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=3 ttl=64
time=0.068 ms



--- ns1.celstream1.com ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3000ms

rtt min/avg/max/mdev = 0.056/0.066/0.072/0.006 ms, pipe 2

------------------------------------------------------------------------
------------------------------------------------------



Ping6 Link-local ipv6 address fe80::208:74ff:fe2e:4154



[root at localhost ~]# ping6 -I eth0 fe80::208:74ff:fe2e:4154



PING fe80::208:74ff:fe2e:4154(fe80::208:74ff:fe2e:4154) from ::1 eth0:
56 data bytes

64 bytes from fe80::208:74ff:fe2e:4154: icmp_seq=0 ttl=64 time=0.111 ms

64 bytes from fe80::208:74ff:fe2e:4154: icmp_seq=1 ttl=64 time=0.060 ms

64 bytes from fe80::208:74ff:fe2e:4154: icmp_seq=2 ttl=64 time=0.060 ms

64 bytes from fe80::208:74ff:fe2e:4154: icmp_seq=3 ttl=64 time=0.059 ms



--- fe80::208:74ff:fe2e:4154 ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 2999ms

rtt min/avg/max/mdev = 0.059/0.072/0.111/0.023 ms, pipe 2



------------------------------------------------------------------------
-----------------------------------------------------

/etc/sysconfig/network-scripts/ifcfg-eth0



DEVICE=eth0

BOOTPROTO=dhcp

ONBOOT=yes

TYPE=Ethernet

IPV6INIT=yes

IPV6TO4INIT=yes

DHCP6C=yes

IPV6ADDR=fe80::208:74ff:fe2e:4154

------------------------------------------------------------------------
---

/etc/sysconfig/network-scripts/ifcfg-lo

DEVICE=lo

IPADDR=127.0.0.1

NETMASK=255.0.0.0

NETWORK=127.0.0.0

# If you're having problems with gated making 127.0.0.0/8 a martian,

# you can change this to something else (255.255.255.255, for example)

BROADCAST=127.255.255.255

ONBOOT=yes

NAME=loopback

------------------------------------------------------------------------
-----

[root at localhost ~]# ip -6 route show



unreachable ::/96 dev lo  metric 1024  error -101 mtu 16436 advmss 16376
metric10 64

unreachable ::ffff:0.0.0.0/96 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:a00::/24 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:7f00::/24 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:a9fe::/32 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:ac10::/28 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:c0a8::/32 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:e000::/19 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 3ffe:ffff::/32 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

fe80::/64 dev eth0  metric 256  mtu 1500 advmss 1440 metric10 64

ff00::/8 dev eth0  metric 256  mtu 1500 advmss 1440 metric10 1

unreachable default dev lo  proto none  metric -1  error -101 metric10
255



------------------------------------------------------------------------
-----

[root at localhost ~]# ip route show



[root at localhost network-scripts]# ip route show

169.254.0.0/16 dev lo  scope link

10.0.0.0/8 dev eth0  proto kernel  scope link  src 10.255.114.96

------------------------------------------------------------------------
------

ping6 Host-B Ipv6 address



[root at localhost network-scripts]# ping6 -I eth0 fe80::206:5bff:fe20:406c



PING fe80::206:5bff:fe20:406c(fe80::206:5bff:fe20:406c) from
fe80::208:74ff:fe2e:4154 eth0: 56 data bytes

64 bytes from fe80::206:5bff:fe20:406c: icmp_seq=0 ttl=64 time=1.31 ms

64 bytes from fe80::206:5bff:fe20:406c: icmp_seq=1 ttl=64 time=0.500 ms

64 bytes from fe80::206:5bff:fe20:406c: icmp_seq=2 ttl=64 time=0.435 ms



--- fe80::206:5bff:fe20:406c ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.435/0.750/1.316/0.401 ms, pipe 2

------------------------------------------------------------------------
------

Using dibbler-0.4.1-linux.tar for DHCP Ipv6 server and client

I got the Global inet6 addr which is 2000::bd



[root at localhost ~]# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:08:74:2E:41:54

          inet addr:10.255.114.96  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::208:74ff:fe2e:4154/64 Scope:Link

          inet6 addr: 2000::bd/128 Scope:Global

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:71 errors:0 dropped:0 overruns:0 frame:0

          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:8846 (8.6 Kb)  TX bytes:10285 (10.0 Kb)

          Base address:0xecc0 Memory:ff8e0000-ff900000



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:10317 errors:0 dropped:0 overruns:0 frame:0

          TX packets:10317 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:4950042 (4.7 Mb)  TX bytes:4950042 (4.7 Mb)



------------------------------------------------------------------------
------

ping6 Host-B Global Ipv6 addr 2000::7f from Host-A



[root at localhost ~]# ping6 -I eth0 2000::7f

connect: Network is unreachable

------------------------------------------------------------------------
------

/etc/sysconfig/network



NETWORKING=yes

HOSTNAME=localhost.localdomain

NETWORKING_IPV6=yes

IPV6INIT=yes

IPV6FORWARDING=yes

IPV6_DEFAULTDEV=tun6to4





Host-B Configuration

----------------------------------



Initial ifconfig



[root at localhost ~]# ifconfig

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:4367 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4367 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:5458005 (5.2 Mb)  TX bytes:5458005 (5.2 Mb)

------------------------------------------------------------------------
--

[root at localhost ~]# ifconfig eth0 10.255.114.176



eth0      Link encap:Ethernet  HWaddr 00:06:5B:20:40:6C

          inet addr:10.255.114.176  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::206:5bff:fe20:406c/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:342 (342.0 b)  TX bytes:3955 (3.8 Kb)

          Interrupt:11 Base address:0xec80



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:4367 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4367 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:5458005 (5.2 Mb)  TX bytes:5458005 (5.2 Mb)

------------------------------------------------------------------------
----

 [root at localhost ~]# ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:06:5B:20:40:6C

          inet addr:10.255.114.176  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::206:5bff:fe20:406c/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:342 (342.0 b)  TX bytes:5605 (5.4 Kb)

          Interrupt:11 Base address:0xec80



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:4367 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4367 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:5458005 (5.2 Mb)  TX bytes:5458005 (5.2 Mb)



sit0      Link encap:IPv6-in-IPv4

          NOARP  MTU:1480  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

------------------------------------------------------------------------
-

After running dibbler-client



[root at localhost ~]# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:06:5B:20:40:6C

          inet addr:10.255.114.176  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::206:5bff:fe20:406c/64 Scope:Link

          inet6 addr: 2000::7f/128 Scope:Global

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:55 errors:0 dropped:0 overruns:0 frame:0

          TX packets:99 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:5706 (5.5 Kb)  TX bytes:13080 (12.7 Kb)

          Interrupt:11 Base address:0xec80



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:4367 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4367 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:5458005 (5.2 Mb)  TX bytes:5458005 (5.2 Mb)

------------------------------------------------------------------------
-

[root at localhost ~]# ping ns1.celstream1.com

PING ns1.celstream1.com (10.255.114.96) 56(84) bytes of data.

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=0 ttl=64
time=0.434 ms

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=1 ttl=64
time=0.473 ms

64 bytes from ns1.celstream1.com (10.255.114.96): icmp_seq=2 ttl=64
time=0.506 ms



--- ns1.celstream1.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2001ms

rtt min/avg/max/mdev = 0.434/0.471/0.506/0.029 ms, pipe 2

----------------------------------------------------------------------

/etc/resolv.conf



; generated by /sbin/dhclient-script

search xerox.celstream.com

nameserver 10.255.114.96

nameserver ::1

search celstream1.com

------------------------------------------------------------------------
--

/etc/sysconfig/network



NETWORKING=yes

HOSTNAME=localhost.localdomain

NETWORKING_IPV6=yes

IPV6INIT=yes

IPV6FORWARDING=yes

IPV6_DEFAULTDEV=tun6to4

-----------------------------------------------------------------------

/etc/sysconfig/network-scripts/ifcfg-eth0



DEVICE=eth0

BOOTPROTO=dhcp

ONBOOT=yes

TYPE=Ethernet

IPV6INIT=yes

IPV6TO4INIT=yes

IPV6ADDR=fe80::206:5bff:fe20:406c

DHCP6C=yes

------------------------------------------------------------------------
---

[root at localhost ~]# ip -6 route show

unreachable ::/96 dev lo  metric 1024  error -101 mtu 16436 advmss 16376
metric10 64

unreachable ::ffff:0.0.0.0/96 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:a00::/24 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:7f00::/24 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:a9fe::/32 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:ac10::/28 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:c0a8::/32 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 2002:e000::/19 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

unreachable 3ffe:ffff::/32 dev lo  metric 1024  error -101 mtu 16436
advmss 16376 metric10 64

fe80::/64 dev eth0  metric 256  mtu 1500 advmss 1440 metric10 64

ff00::/8 dev eth0  metric 256  mtu 1500 advmss 1440 metric10 1

unreachable default dev lo  proto none  metric -1  error -101 metric10
255



------------------------------------------------------------------------
---------

[root at localhost ~]# ip route show



169.254.0.0/16 dev lo  scope link

10.0.0.0/8 dev eth0  proto kernel  scope link  src 10.255.114.176





The problem is



I am able to ping6 the link-local ipv6 addresses across the two hosts.
And also able to ping6 the DHCP assigned global ipv6 address within the
same host but not from the other host. It says "Network is unreachable"
as shown below.



 [root at localhost ~]# ping6 -I eth0 2000::7f

connect: Network is unreachable



Please let me know if I have missed out any other settings or
configuration, so that I can ping6 using DHCP assigned global ipv6
address across these hosts.



Thanks in advance,

Soma





______________________________________________________________
DISCLAIMER:
This electronic message, and any attachments to this electronic message are
intended for the exclusive use of the addressee(s)named herein and may contain
legally privileged and confidential information. It is the property of Celstream
Technologies Pvt. Ltd. If you are not the intended recipient, you are hereby
strictly notified not to copy, forward, distribute or use this message or any
attachments thereto. If you have received this message in error, please delete
it and all copies thereof from your system and notify the sender at Celstream
Technologies or administrator at celstream.com immediately
_______________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.deepspace6.net/archive/ds6/attachments/20060405/fbba1392/attachment-0001.html


More information about the ds6 mailing list