Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 20:26:53 -0000
From:      "Vince" <jhary@unsane.co.uk>
To:        "'Fafa Diliha Romanova'" <fteg@london.com>, <questions@freebsd.org>
Subject:   RE: IPv6 in rc.conf only: create gif0 / add route?
Message-ID:  <200503142027.j2EKRJI4031020@unsane.co.uk>
In-Reply-To: <20050313201121.D5EE14BE6D@ws1-1.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Since you are using a gif interface I assume you use a tunnel for your ipv6
connection.

Here is the relevant parts of my rc.conf which works 
(I use a H.E. ipv6 tunnel (http://tunnelbroker.net) 
but any gif tunnel should be similar) 

gif_interfaces="gif0"  # create the gif
gifconfig_gif0="62.140.220.90 64.71.128.83"  # setup the ipv4 endpoints of
the tunnel 
ipv6_enable="YES"                # Set to YES to set up for IPv6.
ipv6_gateway_enable="YES"
ipv6_network_interfaces="gif0 fxp0"  # List of network interfaces (or
"auto").
ipv6_defaultrouter="2001:470:1F01:FFFF::120"    # Set to IPv6 default
gateway
ipv6_ifconfig_gif0="2001:470:1F01:FFFF::121 2001:470:1F01:FFFF::120
prefixlen 128" #setup ipv6 tunnel
ipv6_ifconfig_fxp0="2001:470:1F01:244::1 prefixlen 64" #set fxp0 ipv6
address
rtadvd_enable="YES"              # Set to YES to enable an IPv6 router
rtadvd_interfaces="fxp1 fxp0 wi0"       # Interfaces rtadvd sends RA
packets.


Some lines may wrap.
Vince

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of 
> Fafa Diliha Romanova
> Sent: 13 March 2005 20:11
> To: questions@freebsd.org
> Subject: IPv6 in rc.conf only: create gif0 / add route?
> 
> Hey!
> 
> I am trying to add my entire IPv6 setup into rc.conf.
> But it seems it won't automagically create gif0, nor will it 
> add the default route. This is my rc.conf:
> 
> # *** IPv6 configuration
> #
> ipv6_enable="YES"
> ipv6_gateway_enable="YES"
> ipv6_network_interfaces="gif0"
> ipv6_defaultrouter="fe80::%gif0"
> ipv6_ifconfig_gif0="inet 213.183.143.59 213.121.24.85"
> ipv6_ifconfig_gif0="inet6 alias 2001:618:400:4572::1 prefixlen 64"
> ipv6_ifconfig_gif0="inet6 alias 2001:618:400:4572::2 prefixlen 64"
> ipv6_ifconfig_gif0="inet6 alias 2001:618:400:4572::3 prefixlen 64"
> ipv6_firewall_enable="YES"
> ipv6_firewall_type="open"
> rtadvd_enable="YES"
> rtadvd_interfaces="gif0"
> 
> Is anybody able to tell what I lack?
> I certainly cannot ping6 6bone.net after reboot.
> 
> Thanks!
> 
> All the best,
> -- Fafa
> 
> --
> ___________________________________________________________
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 



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