Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: astralbluenet on February 13, 2008, 03:37:09 PM

Title: Configuring a tunnel under *BSD - persistent state
Post by: astralbluenet on February 13, 2008, 03:37:09 PM
For FreeBSD 6.x/7.x, here are the relevant rc.conf variables; gifX is the gif interface to use for the tunnel, e.g. gif0, and $ipv4a, $ipv4b, $ipv6b have the same meaning as in broquea's post:

gifconfig_gifX="$ipv4b $ipv4a"
ipv6_defaultrouter="-interface gifX"

Also, make sure that the variables $gif_interfaces and $ipv6_network_interfaces contain gifX (see below).

- gif1 is the tunnel interface to use (you can pick any unused number instead of 1 though).
- Our IPv4 address is
- The tunnel broker is at
- We have been allocated 2001:470:1f04:143::2 as the IPv6 endpoint address.

ipv6_network_interfaces="lo0 gif1"
ipv6_defaultrouter="-interface gif1"