Linux and IPv6

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

 



Hi all,

We have configured 4 systems (3 NSK Tandem systems, 1 linux box) in a private subnet 192.168.150.0. We have Redhat Linux 8.0 installed on Linux box. We were able to configure the the linux box in IPv6 dual mode. The output of "ifconfig" is as follows:

---------------------------------------------------------------------------- --------
[root@xxxxxxxxx root]# uname -a
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i
386 GNU/Linux
[root@xxxxxxxxx root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:48:B7:4C:DA
inet addr:192.168.150.50 Bcast:192.168.150.255 Mask:255.255.255.0
inet6 addr: 3fee:1234:5:6::1/96 Scope:Global
inet6 addr: 3fee:1234:5:6::1/0 Scope:Global
inet6 addr: fe80::280:48ff:feb7:4cda/10 Scope:Link
inet6 addr: fe80::abcd:1235/96 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45734 errors:1 dropped:0 overruns:0 frame:0
TX packets:14180 errors:0 dropped:0 overruns:0 carrier:0
collisions:46 txqueuelen:100
RX bytes:5587725 (5.3 Mb) TX bytes:1093860 (1.0 Mb)
Interrupt:11 Base address:0xe000


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:286 errors:0 dropped:0 overruns:0 frame:0
TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26633 (26.0 Kb) TX bytes:26633 (26.0 Kb)
[root@xxxxxxxxx root]#
---------------------------------------------------------------------------- --------


The other 3 NSK systems are also configured in IPv6 dual mode. The IPv4 and IPv6 address of one of the NSK system are:
192.168.150.15
fe80::a00:8eff:fe01:7db8
When we tried to ping the NSK machine (running dual stack) from Linux box using IPv4 address, we are able to ping (see below) but when we tried to ping using IPv6 address we are getting "No route to host" message. Output of ping using IPv4 and IPv6 addressess are shown below:


---------------------------------------------------------------------------- --------
[root@xxxxxxxxx root]# ping 192.168.150.15
PING 192.168.150.15 (192.168.150.15) from 192.168.150.50 : 56(84) bytes of data.
64 bytes from 192.168.150.15: icmp_seq=1 ttl=64 time=10.9 ms
64 bytes from 192.168.150.15: icmp_seq=2 ttl=64 time=10.8 ms
64 bytes from 192.168.150.15: icmp_seq=3 ttl=64 time=10.9 ms
64 bytes from 192.168.150.15: icmp_seq=4 ttl=64 time=10.9 ms
64 bytes from 192.168.150.15: icmp_seq=5 ttl=64 time=11.1 ms
--- 192.168.150.15 ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4009ms
rtt min/avg/max/mdev = 10.863/10.963/11.161/0.169 ms


[root@xxxxxxxxx root]#
[root@xxxxxxxxx root]# ping6 -I eth0 fe80::a00:8eff:fe01:7db8
PING fe80::a00:8eff:fe01:7db8(fe80::a00:8eff:fe01:7db8) from fe80::abcd:1235 eth
0: 56 data bytes
ping: recvmsg: No route to host
ping: recvmsg: No route to host
ping: recvmsg: No route to host
ping: recvmsg: No route to host
--- fe80::a00:8eff:fe01:7db8 ping statistics ---
4 packets transmitted, 0 received, 100% loss, time 3005ms
[root@xxxxxxxxx root]#
---------------------------------------------------------------------------- --------


The route information shows:
---------------------------------------------------------------------------- --------
[root@xxxxxxxxx root]#
[root@xxxxxxxxx root]# route -A inet6
Kernel IPv6 routing table
Destination Next Hop
Flags Metric Ref Use Iface
::1/128 ::
U 0 3 0 lo
3fee:1234:5:6::1/128 ::
U 0 10 0 lo
3fee:1234:5:6::/96 ::
UA 256 0 0 eth0
fe80::abcd:1235/128 ::
U 0 87 0 lo
fe80::/96 ::
UA 256 0 0 eth0
fe80::280:48ff:feb7:4cda/128 ::
U 0 750 0 lo
fe80::a00:8eff:fe00:8e71/128 fe80::a00:8eff:fe00:8e71
UAC 0 4 1 eth0
fe80::/10 ::
UA 256 0 0 eth0
ff00::/8 ::
UA 256 0 0 eth0
::/0 ::
UDA 256 0 0 eth0
[root@xxxxxxxxx root]#
---------------------------------------------------------------------------- --------


We also tried adding following route:

[root@xxxxxxxxx root]# route -A inet6 add fe80::a00:8eff:fe01:7db8 gw fe80::280:48ff:feb7:4cda dev eth0
[root@xxxxxxxxx root]# route -A inet6
Kernel IPv6 routing table
Destination Next Hop
Flags Metric Ref Use Iface
::1/128 ::
U 0 3 0 lo
3fee:1234:5:6::1/128 ::
U 0 10 0 lo
3fee:1234:5:6::/96 ::
UA 256 0 0 eth0
fe80::abcd:1235/128 ::
U 0 93 0 lo
fe80::/96 ::
UA 256 0 0 eth0
fe80::280:48ff:feb7:4cda/128 ::
U 0 750 0 lo
fe80::a00:8eff:fe00:8e71/128 fe80::a00:8eff:fe00:8e71
UAC 0 4 1 eth0
fe80::a00:8eff:fe01:7db8/128 fe80::280:48ff:feb7:4cda
UGH 1 0 0 eth0
fe80::/10 ::
UA 256 0 0 eth0
ff00::/8 ::
UA 256 0 0 eth0
::/0 ::
UDA 256 0 0 eth0
[root@xxxxxxxxx root]#


After adding above route, output of Ping to IPv6 is as follows:

[root@xxxxxxxxx root]# ping6 -I eth0 fe80::a00:8eff:fe01:7db8
PING fe80::a00:8eff:fe01:7db8(fe80::a00:8eff:fe01:7db8) from fe80::abcd:1235 eth
0: 56 data bytes
From ::1 icmp_seq=1 Destination unreachable: Address unreachable
From ::1 icmp_seq=2 Destination unreachable: Address unreachable
From ::1 icmp_seq=3 Destination unreachable: Address unreachable


--- fe80::a00:8eff:fe01:7db8 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% loss, time 3999ms


[root@xxxxxxxxx root]#

But when we tried to ping the linux box using ipv6 address from NSK machines, we are able to ping. Could you tell us the reason why we are not able to ping using IPv6 address?

Thanks for the help.



--
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux