Setting up IPv6 in /etc/rc.conf
dougb at FreeBSD.org
Fri Oct 15 18:14:59 UTC 2010
On 10/15/2010 11:04 AM, Mark Murray wrote:
> IPv6 gurus: what are the CURRENT /etc/rc.conf incantations to do the
> following (which works):
> $ ifconfig gif0 create
> $ ifconfig gif0 tunnel 192.168.0.2 18.104.22.168
> $ ifconfig gif0 inet6 2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128
> $ route -n add -inet6 default 2001:1111:2222:3333::1
> $ ifconfig gif0 up
> ... when my non-working setup in /etc/rc.conf contains
> gifconfig_gif0="192.168.0.2 22.214.171.124"
> gifconfig_gif0_ipv6="2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128"
> ipv6_defaultrouter="-inet6 default 2001:1111:2222:3333::1"
> ... which used to work. The bit that fails is the bit where gif0 gets
> its tunnel IPv6 addresses. I've tried both gifconfig_gif0_ipv6="..."
> and ifconfig_gif0_ipv6="...". The IPv6 endmpoints never make it onto
> This used to work, but setting up IPv6 in CURRENT is a moving
> target, and I can't find a working example any more. I've looked in
> /etc/defaults/rc.conf, but the gifN examples there are all devoid of any
> IPv6 examples.
Sorry for your frustration. Hiroki has taken over the IPv6 configuration
responsibility, so hopefully he can help get you on the right path.
Breadth of IT experience, and | Nothin' ever doesn't change,
depth of knowledge in the DNS. | but nothin' changes much.
Yours for the right price. :) | -- OK Go
More information about the freebsd-current