Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2002 10:51:33 -0700
From:      Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>
To:        Erwin Lansing <erwin@lansing.dk>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: rc.conf hooks for IPv6 and gif0 IPv6 tunnel interfaces?
Message-ID:  <15692.6181.368549.652902@horsey.gshapiro.net>
In-Reply-To: <20020803123456.E3782@droso.net>
References:  <20020803122546.L1015-100000@phoenix.vh.laserfence.net> <20020803123456.E3782@droso.net>

next in thread | previous in thread | raw e-mail | index | archive | help
erwin> ipv6_enable="YES"                # Set to YES to set up for IPv6
erwin> gifconfig_gif0="62.79.90.66 62.242.0.222"
erwin> ipv6_ifconfig_gif0="2001:6c8:9:1::6 2001:6c8:9:1::5 prefixlen 128"
erwin> ipv6_defaultrouter="2001:6c8:9:1::5"

I believe you also need:

gif_interfaces="gif0"

erwin> is just for my tunnel.

In case it helps, my tunnel is slightly different in that it gives me a
full network which my firewall routes to my internal network.  The above is
just for a single IPv6 node.  Here are my settings (with commentary):

# The basic tunnel setup
gif_interfaces="gif0"
gifconfig_gif0="209.220.147.177 216.98.98.82"

# Enable IPv6
ipv6_enable="YES"
ipv6_network_interfaces="sis0 gif0"

# Enable IPv5 firewall
ipv6_firewall_enable="YES"
ipv6_firewall_type="/etc/ip6fw.rules"
ipv6_firewall_quiet="YES"
ipv6_firewall_logging="YES"
ipv6_firewall_flags="-p m4"

# Make this machine the router for the IPv6 network
ipv6_gateway_enable="YES"

# Set the prefix for my network (for autoconfiguration of addresses)
ipv6_prefix_sis0="3ffe:0507:018b:0001"

# Start router advertisement daemon so other machines on my network can
# autoconfigure
rtadvd_enable="YES"
rtadvd_interfaces="sis0"

# Enable routed to talk to my upstream provider (tunnel)
# You only need this is you have a RIPng based tunnel, not a static tunnel
ipv6_router_enable="YES"
ipv6_router_flags="-A 3ffe:0507:018b::/48,gif0 -O 3ffe:0507:018b::/48,gif0"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15692.6181.368549.652902>