tech-net archive

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

Re: Correct method for IPv6 over IPv4 tunneling



On 16/05/2012 9:15 PM, Hubert Feyrer wrote:
> On Wed, 16 May 2012, Darren Reed wrote:
>> netbsd ~# ifconfig gif0 create
>> netbsd ~# ifconfig gif0 inet6 2001::1 2001::2 prefixlen 126
>> ifconfig: SIOCAIFADDR_IN6: Invalid argument
> ...
>> Is my NetBSD foo wrong or...?
>>
> 
> Maybe you need something like
> 
>     ifconfig gif0 tunnel a.a.a.a. b.b.b.b
> 
> between those two lines? See here for a working example (no more in 
> operation):
> 
>     http://www.feyrer.de/IPv6/netstart.local

The problem was I was missing "prefixlen 128".
I had tried other prefix lengths but to no avail.

Without that, it is not possible to configure an IPv6 over IPv4
gif tunnel.

Thanks,
Darren


Home | Main Index | Thread Index | Old Index