>>>>> On 27 Feb 2001 13:53:39 -0600
>>>>> Kirk Strauser <[EMAIL PROTECTED]> said:
kirk> I registered for an IPv6 tunnel from www.freenet6.net, and they
kirk> send me the following Perl script (modified to work behind a NAT
kirk> router according to the "IPv6-behind-NAT" instructions at
kirk> <URL:http://www.daemonnews.org/200009/ipv6.html>):
kirk> ---8<-----
kirk> $if='gif0'; # Via ifconfig | grep
kirk> # Somes informations about tunnels values
kirk> print "This script will create a tunnel between this
kirk> computer\n";
kirk> print "and the Freenet6 server (tunnels server)\n";
kirk> print "Your IPv6 address (your tunnel end point) is
kirk> 3ffe:b00:c18:1fff:0:0:0:461 \n";
kirk> print "We establish a tunnel to the Freenet6 server at
kirk> 3ffe:b00:c18:1fff:0:0:0:460 \n";
kirk> print "Your IPv4 address is : 216.224.193.50 \n";
kirk> print "The IPv4 address of the Freenet6 server is :
kirk> 206.123.31.102 \n";
kirk> # Setup the tunnel with values from Freenet6
kirk> system(`gifconfig $if 10.0.0.2 206.123.31.102`);
kirk> system(`ifconfig $if inet6 3ffe:b00:c18:1fff:0:0:0:461
kirk> 3ffe:b00:c18:1fff:0:0:0:460 prefixlen 128 alias`);
kirk> system(`ifconfig $if up`);
kirk> system(`route add -inet6 default 3ffe:b00:c18:1fff:0:0:0:461`);
kirk> ---8<-----
kirk> This works well; I can ping6 the world to my heart's content.
kirk> The next step I want to try, though is integrating this
kirk> IPv6-over-4 tunnel into my rc.conf (4.2-STABLE, BTW). Frankly,
kirk> I'm completely bewildered by the IPv6 section of that file.
kirk> What values do I plug in, and where?
Though I have never try Freenet6, it should work:
ipv6_enable="YES"
gif_interfaces="gif0"
gifconfig_gif0="10.0.0.2 206.123.31.102"
ipv6_network_interfaces="gif0"
ipv6_ifconfig_gif0="3ffe:b00:c18:1fff:0:0:0:461 3ffe:b00:c18:1fff:0:0:0:460 prefixlen
128"
ipv6_defaultrouter="3ffe:b00:c18:1fff:0:0:0:461"
kirk> I want this machine to be a IPv6 gateway for the other machines
kirk> on my LAN, too.
Since Freenet6 serve only one host address, it is impossible. If you
want to connect your LAN to 6bone, you need prefix assignment.
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED] [EMAIL PROTECTED] ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message