From owner-freebsd-questions@FreeBSD.ORG Sun Mar 20 19:21:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D43016A4CE for ; Sun, 20 Mar 2005 19:21:44 +0000 (GMT) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C7CC43D2F for ; Sun, 20 Mar 2005 19:21:44 +0000 (GMT) (envelope-from fteg@london.com) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180])3BCE21800130 for ; Sun, 20 Mar 2005 19:21:44 +0000 (GMT) X-OB-Received: from unknown (205.158.62.49) by wfilter.us4.outblaze.com; 20 Mar 2005 19:21:44 -0000 Received: by ws1-1.us4.outblaze.com (Postfix, from userid 1001) id 303EA4BE6D; Sun, 20 Mar 2005 19:21:44 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [213.187.181.70] by ws1-1.us4.outblaze.com with http for fteg@london.com; Sun, 20 Mar 2005 14:21:43 -0500 From: "Fafa Diliha Romanova" To: "Vince Hoffman" Date: Sun, 20 Mar 2005 14:21:43 -0500 X-Originating-Ip: 213.187.181.70 X-Originating-Server: ws1-1.us4.outblaze.com Message-Id: <20050320192144.303EA4BE6D@ws1-1.us4.outblaze.com> cc: questions@freebsd.org Subject: RE: IPv6 in rc.conf only: create gif0 / add route? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2005 19:21:44 -0000 Hello again! Your answers were a bit out of my league: > > here is my rc.conf so far. i'm not sure if it's working > > i haven't had a chance to reboot yet. > > > > please let me know what you think of it? > > > > # *** IPv6 configuration > > # > > ipv6_enable=3D"YES" > > ipv6_gateway_enable=3D"YES" > > cloned_interfaces=3D"gif0" > > ipv6_network_interfaces=3D"gif0" > > ipv6_defaultrouter=3D"fe80::" > > ifconfig_gif0=3D"inet 213.181.153.22 213.121.24.85" > > ipv6_ifconfig_gif0_alias1=3D"2001:618:400:33bb::1 prefixlen 64" > > ipv6_ifconfig_gif0_alias2=3D"2001:618:400:33bb::2 prefixlen 64" > > ipv6_ifconfig_gif0_alias3=3D"2001:618:400:33bb::3 prefixlen 64" > > ipv6_firewall_enable=3D"YES" > > ipv6_firewall_type=3D"open" > > rtadvd_enable=3D"YES" > > rtadvd_interfaces=3D"gif0" >=20 > You have nothing to specify the ipv6 part of the gif tunnel. should=20 > have 2 ipv6 addresses usualy on a /128. Could you please provide me with an example? > Your ipv6 default gateway is a fe80: address (link local.) Usualy=20 > it would be your next hop out onto the ipv6 internet (in my case=20 > the other side of the ipv6 part of the gif tunnel.) How should my gateway be? > You are advertising your machine as an ipv6 router but only on the=20 > gif interface, thus any ipv6 hosts you have on your network wont=20 > see the router advertisment packets and wont autoconfigure to the=20 > range you are advertising. My network interface connecting me to the Internet is lnc0. Should rtadvd be advertising it instead? > Hope you get it working, I'm no expert but it works for me :) Now now :) You seem to know your way. All the best, -- Fafa > > ----- Original Message ----- > > From: Vince > > To: "'Fafa Diliha Romanova'" , questions@freebsd.org > > Subject: RE: IPv6 in rc.conf only: create gif0 / add route? > > Date: Mon, 14 Mar 2005 20:26:53 -0000 > > > >> > >> 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=3D"gif0" # create the gif > >> gifconfig_gif0=3D"62.140.220.90 64.71.128.83" # setup the ipv4 endpoi= nts of > >> the tunnel > >> ipv6_enable=3D"YES" # Set to YES to set up for IPv6. > >> ipv6_gateway_enable=3D"YES" > >> ipv6_network_interfaces=3D"gif0 fxp0" # List of network interfaces (or > >> "auto"). > >> ipv6_defaultrouter=3D"2001:470:1F01:FFFF::120" # Set to IPv6 default > >> gateway > >> ipv6_ifconfig_gif0=3D"2001:470:1F01:FFFF::121 2001:470:1F01:FFFF::120 > >> prefixlen 128" #setup ipv6 tunnel > >> ipv6_ifconfig_fxp0=3D"2001:470:1F01:244::1 prefixlen 64" #set fxp0 ipv6 > >> address > >> rtadvd_enable=3D"YES" # Set to YES to enable an IPv6 rout= er > >> rtadvd_interfaces=3D"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=3D"YES" > >>> ipv6_gateway_enable=3D"YES" > >>> ipv6_network_interfaces=3D"gif0" > >>> ipv6_defaultrouter=3D"fe80::%gif0" > >>> ipv6_ifconfig_gif0=3D"inet 213.183.143.59 213.121.24.85" > >>> ipv6_ifconfig_gif0=3D"inet6 alias 2001:618:400:4572::1 prefixlen 64" > >>> ipv6_ifconfig_gif0=3D"inet6 alias 2001:618:400:4572::2 prefixlen 64" > >>> ipv6_ifconfig_gif0=3D"inet6 alias 2001:618:400:4572::3 prefixlen 64" > >>> ipv6_firewall_enable=3D"YES" > >>> ipv6_firewall_type=3D"open" > >>> rtadvd_enable=3D"YES" > >>> rtadvd_interfaces=3D"gif0" > >>> > >>> Is anybody able to tell what I lack? > >>> I certainly cannot ping6 6bone.net after reboot. > >>> > >>> Thanks! > >>> > >>> All the best, > >>> -- Fafa --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm