On 2009-04-03, Garry Dolley <gdol...@arpnetworks.com> wrote:
> Dear misc,
>
> Is it possible to have a git0 tunnel that accepts a remote endpoint
> of any address?  I'm trying to set up a 6to4 anycast relay router.

6to4 is not gif.

OpenBSD does not support 6to4.


>
> What I have is:
>
> gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
>         groups: gif
>         physical address inet 192.88.99.1 --> X.X.X.X
>         inet6 fe80::647c:495e:1409:1134%gif0 ->  prefixlen 64 scopeid 0x11
>         inet6 2002:d04f:5932::1 ->  prefixlen 16
>         inet 192.88.99.1 --> 0.0.0.0 netmask 0xffffff00
>
>
> As long as 'X.X.X.X' is a single host IP, and I set up a tunnel from 
> that host, my IPv6 traffic works and I can ping IPv6 hosts.
>
> I tried (guessing) things like:
>
> sudo ifconfig gif0 tunnel 192.88.99.1 0.0.0.0
> sudo ifconfig gif0 tunnel 192.88.99.1 any
> sudo ifconfig gif0 tunnel 192.88.99.1 all
>
> would let me do it, but alas, none work.
>
> I'm basically looking for the OpenBSD equivalent of this Linux command:
>
> ip tunnel add 6to4 mode sit ttl 64 remote any local 192.88.99.1
>
> see how I can have "remote any" ?
>
> Is something similar possible in OpenBSD?
>
> Thanks.

Reply via email to