Hi all --
I didn't see this in the forums, so I thought I'd share how to set up a linux box that terminates
your 6 to 4 tunnel into a router so that other boxen on your home net can use v6 too.
First, you need to get the package radvd from yum/apt-get, etc. This package is for router
advertisements once you get everything set up.
Here's the assignments I got from Sonic once I got my tunnel:
Transport:: 200100000000:0000:0000:13fc/127
Network:: 20010004:9fe0:0000:0000:0000:0000/60
in rc.local, I followed their instructions with those addresses:
# setup the 6in4 tunnel to the sonic transport addresses
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::208.201.234.221
ifconfig sit1 up
ifconfig sit1 inet6 add 200100000000:0000:0000:13fd/127
route -A inet6 add ::/0 sit1
using the Network subnet, I created a subnet on eth0, turned on forwarding in the kernel, and started the radvd service and put it into rc.local as well:
# now setup v6 on eth0 for the first subnet
ifconfig eth0 inet6 add 20010004:9fe0::0
route -A inet6 add 2001:5a8:4:9fe0::/64 eth0
# turn on kernel forwarding
sysctl -w net.ipv6.conf.all.forwarding=1
# and the v6 router advertisement daemon
service radvd start
before you actually do this, you need to create the file /etc/radvd.conf:
interface eth0 {
AdvSendAdvert on;
MinRtrAdvInterval 5;
MaxRtrAdvInterval 15;
prefix 20010004:9fe0:0000:0000:0000:0000/64 {
AdvOnLink on;
AdvAutonomous on;
};
};
once all of this executes, your other machines should automatically autoconf their ipv6
addresses, and you should be able to ping6 phresheez.com (<-- my site
you'll be able to see the ipv6 address on your other machines by using ifconfig (or the equivalent
on whatever os you're on) -- there should be a Scope:Global address on eth0.
hope this helps!
cheers, Mike
I didn't see this in the forums, so I thought I'd share how to set up a linux box that terminates
your 6 to 4 tunnel into a router so that other boxen on your home net can use v6 too.
First, you need to get the package radvd from yum/apt-get, etc. This package is for router
advertisements once you get everything set up.
Here's the assignments I got from Sonic once I got my tunnel:
Transport:: 200100000000:0000:0000:13fc/127
Network:: 20010004:9fe0:0000:0000:0000:0000/60
in rc.local, I followed their instructions with those addresses:
# setup the 6in4 tunnel to the sonic transport addresses
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::208.201.234.221
ifconfig sit1 up
ifconfig sit1 inet6 add 200100000000:0000:0000:13fd/127
route -A inet6 add ::/0 sit1
using the Network subnet, I created a subnet on eth0, turned on forwarding in the kernel, and started the radvd service and put it into rc.local as well:
# now setup v6 on eth0 for the first subnet
ifconfig eth0 inet6 add 20010004:9fe0::0
route -A inet6 add 2001:5a8:4:9fe0::/64 eth0
# turn on kernel forwarding
sysctl -w net.ipv6.conf.all.forwarding=1
# and the v6 router advertisement daemon
service radvd start
before you actually do this, you need to create the file /etc/radvd.conf:
interface eth0 {
AdvSendAdvert on;
MinRtrAdvInterval 5;
MaxRtrAdvInterval 15;
prefix 20010004:9fe0:0000:0000:0000:0000/64 {
AdvOnLink on;
AdvAutonomous on;
};
};
once all of this executes, your other machines should automatically autoconf their ipv6
addresses, and you should be able to ping6 phresheez.com (<-- my site
you'll be able to see the ipv6 address on your other machines by using ifconfig (or the equivalent
on whatever os you're on) -- there should be a Scope:Global address on eth0.
hope this helps!
cheers, Mike