On 2011-05-15, Andreas Bartelt <o...@bartula.de> wrote:
> Hello,
>
> I'm able to use the following configuration for gif0 via ifconfig(8):
>
> # ifconfig gif0 inet6 tunnel 2002:db8::1 2002:db8::2
> # ifconfig gif0 192.168.1.1 192.168.1.2 netmask 255.255.255.0
>
> The following version of /etc/hostname.gif0 doesn't work:
> # cat /etc/hostname.gif0
> inet6 tunnel 2002:db8::1 2002:db8::2
> inet 192.168.1.1 255.255.255.0
> dest 192.168.1.2
>
> Is there a way to do this correctly via /etc/hostname.gif0 ?

For now, for the v4-over-v6 tunnel that you're creating with these
commands, you'll need:

!ifconfig gif0 inet6 tunnel 2002:db8::1 2002:db8::2
inet 192.168.1.1 255.255.255.0
dest 192.168.1.2

I'll send an ifconfig diff relating to this to tech@..

Reply via email to