Operating System - HP-UX
1833946 Members
1669 Online
110063 Solutions
New Discussion

Re: Configure IPv6 in 11iv2

 
SOLVED
Go to solution
Bejoy C Alias
Respected Contributor

Configure IPv6 in 11iv2

Hi,
I am trying to configure IPv6 in 11.23 between 2 cross connected machines. I am able to ping the machine using the ipv4 address but not using the ipv6 address.
Machine1
/@:VM1:#netstat -in
IPv4:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.168.1.0 192.168.1.5 1694 0 1695 0 0
lo0 4136 127.0.0.0 127.0.0.1 803988 0 803988 0 0

IPv6:
Name Mtu Address/Prefix Ipkts Opkts
lan0 1500 fe80::ea3e:6cff:fef1:9b9b/10 92 77
lan0:1 1500 2002::5/64 28854 28869
lo0 4136 ::1/128 121210 121210

Machine2
/@:VM2:#netstat -in
IPv4:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.168.1.0 192.168.1.6 1678 0 1680 0 0
lo0 4136 127.0.0.0 127.0.0.1 806241 0 806241 0 0

IPv6:
Name Mtu Address/Prefix Ipkts Opkts
lan0 1500 fe80::9e81:56ff:fe64:a6f4/10 56 47
lan0:1 1500 2002::6/64 28844 28858
lo0 4136 ::1/128 121131 121131

Machine1
/@:VM1:#netstat -rn -f inet6
IPv6 Routing tables:
Destination/Prefix Gateway Flags Refs Interface Pmtu
fe80::ea3e:6cff:fef1:9b9b/128
fe80::ea3e:6cff:fef1:9b9b
UH 0 lan0 4136
::1/128 ::1 UH 0 lo0 4136
2002::5/128 2002::5 UH 0 lan0:1 4136
2002::/64 2002::5 U 3 lan0:1 1500
fe80::/10 fe80::ea3e:6cff:fef1:9b9b
U 3 lan0 1500


Machine2
/@:VM2:#netstat -rn -f inet6
IPv6 Routing tables:
Destination/Prefix Gateway Flags Refs Interface Pmtu
::1/128 ::1 UH 0 lo0 4136
2002::6/128 2002::6 UH 0 lan0:1 4136
fe80::9e81:56ff:fe64:a6f4/128
fe80::9e81:56ff:fe64:a6f4
UH 0 lan0 4136
2002::/64 2002::6 U 3 lan0:1 1500
fe80::/10 fe80::9e81:56ff:fe64:a6f4
U 3 lan0 1500
Be Always Joy ......
7 REPLIES 7
rick jones
Honored Contributor
Solution

Re: Configure IPv6 in 11iv2

What specific ping command lines are you using and what are they returning as output? I just did some pings with an IPv6 address just fine:

On one machine:

# ifconfig lan0 inet6 plumb
# hostname
linger
# ifconfig lan0 inet6
lan0: flags=4800840
inet6 :: prefix 0
# ifconfig lan0 inet6 up
# ksh -o emacs
# ifconfig lan0 inet6
lan0: flags=4800841
inet6 fe80::230:6eff:fe4c:2778 prefix 10

and then the other:

# ifconfig lan0 inet6 plumb
# ifconfig lan0 inet6 up
# ifconfig lan0 inet6
lan0: flags=4800841
inet6 fe80::230:6eff:fe4c:1c62 prefix 10
# hostname
loiter
# ping fe80::230:6eff:fe4c:2778
PING fe80::230:6eff:fe4c:2778: 64 byte packets
64 bytes from fe80::230:6eff:fe4c:2778: icmp_seq=0. time=0. ms
64 bytes from fe80::230:6eff:fe4c:2778: icmp_seq=1. time=0. ms
64 bytes from fe80::230:6eff:fe4c:2778: icmp_seq=2. time=0. ms

----fe80::230:6eff:fe4c:2778 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
there is no rest for the wicked yet the virtuous have no pillows
Bejoy C Alias
Respected Contributor

Re: Configure IPv6 in 11iv2

Hi, I am able to ping to the link local address of both the machines which is starting with fe80::x , i have assigned a secondary ip address to the two machines which is 2002::502:192:168:1:5 and 2002::502:192:168:1:6. I am not able to ping using this ip addresses.Anything else needs to be done?
Be Always Joy ......
Bejoy C Alias
Respected Contributor

Re: Configure IPv6 in 11iv2

Ping outputs.

While pinging its own ip
/@:VM1:#ping -f inet6 2002::502:192:168:1:5
PING 2002::502:192:168:1:5: 64 byte packets
64 bytes from 2002::502:192:168:1:5: icmp_seq=0. time=0. ms

While pinging other machine
/@:VM1:#ping -f inet6 2002::502:192:168:1:6
PING 2002::502:192:168:1:6: 64 byte packets

----2002::502:192:168:1:6 PING Statistics----
10 packets transmitted, 0 packets received, 100% packet loss
Be Always Joy ......
Bejoy C Alias
Respected Contributor

Re: Configure IPv6 in 11iv2

Hi , i am able to ping after changing the ip address to 2003:502:xxx series , but 2002:: series is not working. Is that series reserved for anything ? bcoz in the IPv6 Admin Guide 11i says that 2002::/16 is reserved for 6to4. Any idea ?
Be Always Joy ......
rick jones
Honored Contributor

Re: Configure IPv6 in 11iv2

If 2002::/16 is reserved for 6to4 then I'd probably avoid it just on principle. It could be that things checking for that space aren't checking with complete correctness.

I suppose you could try to combine some tusc and tcpdump tracing to see what is going-on.

there is no rest for the wicked yet the virtuous have no pillows
Bejoy C Alias
Respected Contributor

Re: Configure IPv6 in 11iv2

Hi, Thank you for your valuable suggestions.
I could see that if i configure the 2002:: prefixed address i am not able to ping to the other host, but if i configure a tunnel using the 2002:: prefix it is pinging fine. So i think i would better avoid using 2002:: prefix if i am not using a 6to4 tunnel.

Thanks Again....
Be Always Joy ......
Bejoy C Alias
Respected Contributor

Re: Configure IPv6 in 11iv2

Pblm solved....
Be Always Joy ......