From owner-freebsd-net Tue Feb 27 11:53:46 2001 Delivered-To: freebsd-net@freebsd.org Received: from kanga.honeypot.net (kanga.honeypot.net [216.224.193.50]) by hub.freebsd.org (Postfix) with ESMTP id 911B137B718 for ; Tue, 27 Feb 2001 11:53:41 -0800 (PST) (envelope-from kirk@honeypot.net) Received: from pooh.honeypot (mail@pooh.honeypot [10.0.1.2]) by kanga.honeypot.net (8.11.2/8.11.2) with ESMTP id f1RJrdJ18555 for ; Tue, 27 Feb 2001 13:53:39 -0600 (CST) (envelope-from kirk@honeypot.net) Received: from kirk by pooh.honeypot with local (Exim 3.12 #1 (Debian)) id 14XqBn-0006TW-00 for ; Tue, 27 Feb 2001 13:53:39 -0600 To: freebsd-net@freebsd.org Subject: Freenet6, IPv6 tunnels, and rc.conf From: Kirk Strauser Date: 27 Feb 2001 13:53:39 -0600 Message-ID: <87d7c3ewcc.fsf@pooh.honeypot> Lines: 44 X-Mailer: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I hope this is the right place to ask; if not, a gentle nudge in the right direction would be most appreciated. I registered for an IPv6 tunnel from www.freenet6.net, and they send me the following Perl script (modified to work behind a NAT router according to the "IPv6-behind-NAT" instructions at ): ---8<----- $if='gif0'; # Via ifconfig | grep # Somes informations about tunnels values print "This script will create a tunnel between this computer\n"; print "and the Freenet6 server (tunnels server)\n"; print "Your IPv6 address (your tunnel end point) is 3ffe:b00:c18:1fff:0:0:0:461 \n"; print "We establish a tunnel to the Freenet6 server at 3ffe:b00:c18:1fff:0:0:0:460 \n"; print "Your IPv4 address is : 216.224.193.50 \n"; print "The IPv4 address of the Freenet6 server is : 206.123.31.102 \n"; # Setup the tunnel with values from Freenet6 system(`gifconfig $if 10.0.0.2 206.123.31.102`); system(`ifconfig $if inet6 3ffe:b00:c18:1fff:0:0:0:461 3ffe:b00:c18:1fff:0:0:0:460 prefixlen 128 alias`); system(`ifconfig $if up`); system(`route add -inet6 default 3ffe:b00:c18:1fff:0:0:0:461`); ---8<----- This works well; I can ping6 the world to my heart's content. The next step I want to try, though is integrating this IPv6-over-4 tunnel into my rc.conf (4.2-STABLE, BTW). Frankly, I'm completely bewildered by the IPv6 section of that file. What values do I plug in, and where? I want this machine to be a IPv6 gateway for the other machines on my LAN, too. Any help appreciated! -- Kirk Strauser To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message