Hi everyone,

I'm trying to get an IPv6 in IPv4 tunnel to come up at boot to get v6
connectivity for my box and VMs. My tunnelbroker is sixxs.

I've been following the Solaris instructions from their website, and if
I do the manual version, it seems to come up OK, like this...


dunc at gargravarr:~#  ifconfig ip.tun0 inet6 plumb tsrc 213.129.66.71 tdst
213.204.193.2 up
dunc at gargravarr:~# ifconfig ip.tun0 inet6 addif 2001:960:2:56b::2
2001:960:2:56b::1 up
Created new logical interface ip.tun0:1


ip.tun0: flags=2204851<UP,POINTOPOINT,RUNNING,MULTICAST,DHCP,NONUD,IPv6>
mtu 1480 index 6
        inet tunnel src 213.129.66.71 tunnel dst 213.204.193.2
        tunnel hop limit 60
        inet6 fe80::d581:4247/10 --> fe80::d5cc:c102
ip.tun0:1: flags=2200851<UP,POINTOPOINT,RUNNING,MULTICAST,NONUD,IPv6>
mtu 1480 index 6
        inet6 2001:960:2:56b::2/128 --> 2001:960:2:56b::1


I'm not too sure why ip.tun0 has the DHCP flag set, and I think I should
get rid of that somehow, however it does look like everything else went OK.


I then tried to make this come up at boot, again following the
instructions from Sixxs site, and created the following file...

dunc at gargravarr:~# cat /etc/hostname6.ip.tun0
tsrc 213.129.66.71 tdst 213.204.193.2 up \
   addif 2001:960:2:56b::2/64 2001:960:2:56b::1 nud preferred up
dunc at gargravarr:~#


This causes the box to panic and reboot when coming up, I have to boot a
different BE and then mount the correct BE and remove the
/etc/hostname6.ip.tun0 file in order to make it boot again.



Now, maybe the instructions from Sixxs are wrong for Opensolaris I don't
 know, but I'm pretty sure that I shouldn't be able to panic my box just
by creating that file, even if the contents are wrong.

Can anybody tell me what I should be doing, or explain why I'm getting a
panic? I'm happy to help debug this in any way I can if someone explains
how.

Thanks for your time,

Cheers,

Dunc

Reply via email to