Several IPv6 tunnels possible?

gnn at freebsd.org gnn at freebsd.org
Fri May 13 18:42:25 PDT 2005


At Fri, 13 May 2005 22:26:05 +0200 (MEST),
FreeMan at fantasymail.de wrote:
> Afaik i can use different gif interfaces but
> i dont know how to define for each tunnel their
> own default gateway.
> 
> ipv6_enable="YES"
> ipv6_network_interfaces="xl0 gif0 lo0"
> ipv6_defaultrouter="fe80::1%gif0"
> gifconfig_gif0="myip tunnelserverip"
> ipv6_ifconfig_gif0="ipv6adress prefixlen 128"
> ipv6_ifconfig_gif0_alias0="ipv6adress2 prefixlen 128"
> 
> This works for one tunnel but how can i add a
> second one without brake routing?

You need to set up appropriate routes.  You cannot have two default
routes, as far as I know.  Why do you want two tunnels?

Later,
George


More information about the freebsd-net mailing list