Operating System - HP-UX
1752857 Members
3548 Online
108790 Solutions
New Discussion

Re: can't add IPv6 default route

 
River Tarnell
Advisor

can't add IPv6 default route

Hi,

So I have an IPv6 tunnel configured:

root@maiden:~#ifconfig iptu0
iptu0: flags=284800851
inet6 fe80::c0a8:e --> fe80::4d4b:687e prefix 10
tunnel mode ip6inip
tunnel src 192.168.0.14 dst 77.75.104.126
root@maiden:~#ifconfig iptu0:1
iptu0:1: flags=284800851
inet6 2a01:348:6:78::2 --> 2a01:348:6:78::1 prefix 64

I'm trying to add a default route via the tunnel endpoint, but it fails:

root@maiden:~#route inet6 add net default 2a01:348:6:78::1
add net default/0 gateway 2a01:348:6:78::1 Network is unreachable

However, the gateway definitely _is_ reachable:

root@maiden:~#ping 2a01:348:6:78::1
PING 2a01:348:6:78::1: 64 byte packets
64 bytes from 2a01:348:6:78::1: icmp_seq=0. time=29. ms
64 bytes from 2a01:348:6:78::1: icmp_seq=1. time=23. ms
64 bytes from 2a01:348:6:78::1: icmp_seq=2. time=22. ms

----2a01:348:6:78::1 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 22/25/29


What's up? (I'm running IPv6NCF11i B.11.11.0705 on HP-UX 11i v1.)
1 REPLY 1
River Tarnell
Advisor

Re: can't add IPv6 default route

Okay, so I found the following did work:

root@maiden:~#route inet6 add net default 2a01:348:6:78::2

Note that that's the IP of _my_ side of the tunnel interface. Is this how it's meant to work in HP-UX? (I haven't noticed this behaviour in Solaris...)