Stage 4: 6Bone-connected LAN
Host Configuration:
-
NOTE: This document assumes you have completed Stage 3 and that you
have not rebooted or changed your network configuration since then
-
Reconnect the crossover cable between PC 1 and PC 2
-
Acquire a 64-bit subnet. In this case I got mine (3ffe:1000:0001:b0bd::0/64)
from https://carmen.cselt.it/ipv6tb/.
Be sure to designate your site as a router! This process can take
up to a few days.
-
You must now remove the tunnel that was set up in Stage 3 by resetting
all interfaces:
-
# ifconfig sit0 down
-
# ifconfig sit1 down
-
# /etc/rc.d/init.d/network restart
-
Since we will be using PC 2 as a router, it must be configured to allow
forwarding between interfaces. On PC 2 ONLY:
-
# echo 1 >/proc/sys/net/ipv6/conf/all/forwarding
Tunnel Connection Configuration:
-
You are now ready to set up the new tunnel. I will refer to the prefix
you have been assigned as PREFIX. In my case, PREFIX=3ffe:1000:0001:b0bd.
TUNNEL
will refer to your tunnel host's IPv4 address.
-
On PC 2 ONLY, enter the following commands:
-
# ifconfig sit0 up
-
# ifconfig eth0 add PREFIX::ffff/64
-
# ifconfig sit0 tunnel ::TUNNEL
-
# ifconfig sit1 up
-
# route -A inet6 add 3ffe::0/15 gw ::TUNNEL dev sit0
-
The tunnel should now be working. Try pinging PREFIX::ffff
and then www.6bone.net.
-
Now you must suballocate a portion of your subnet to the segment that connects
PC 1 and PC 2. In my case, I chose PREFIX:0:1::0/96, giving
32 bits of address space for the subnet. On PC 2 ONLY, assign an address
to that segment's adapter as follows:
-
# ifconfig eth1 add PREFIX:0:1::2/96
-
PC 1 is ready to be configured as a client on the suballocated network.
On PC 1 ONLY:
-
# ifconfig eth0 add PREFIX:0:1::1/96
-
# route -A inet6 add 3ffe::0/15 gw PREFIX:0:1::2 dev eth0
-
You must now start your services. On BOTH PCs:
-
# killall inetd
-
# xinetd
-
# /etc/rc.d/init.d/httpd restart
-
Finally, add your new addresses to the /etc/hosts files on BOTH
PCs:
-
PREFIX:0:1::1 pc1v6
-
PREFIX:0:1::2 pc2v6
Testing:
-
Unless PC 1 has some sort of connection to the IPv4 Internet, you will
not be able to look up DNS entries for IPv4 or IPv6 hosts since the 6Bone
uses the standard Internet DNS heirarchy for its name services. Instead,
you must use ping on PC 2 to do the lookups in advance:
-
# ping6 www.6bone.net
-
# ping6 www.normos.org
-
# ping6 www.ipv6.uni-muenster.de
-
Now put entries for these hosts into the /etc/hosts file on PC
1. For example:
-
3ffe:b00:c18:1::10 www.6bone.net
-
3ffe:b00:c18:1::11 www.normos.org
-
3ffe:400:10:100:200:c0ff:fed0:a4c3 www.ipv6.uni-muenster.de
-
On PC 1, try the following commands:
-
# ping6 pc1v6
-
# ping6 pc2v6
-
# telnet pc2v6
-
Now, on both PCs, try browsing to these sites using Chimera:
-
pc1v6
-
pc2v6
-
www.6bone.net
-
www.normos.org
-
www.ipv6.uni-muenster.de