It has been my interest to build a Dual Stack Router Box that allows me to do more fun stuff than a modem. Now I have the time to get to it.
OS: Ubuntu 11.04
interfaces:
ppp0:The PPP part of it
ppp1:My VPN
eth0: the interface which is connected to the modem
eth1: the interface which is goes to my LAN
Doing the IPv6 Part of network
It's actually relatively easy compared to Ipv4. Get pppoeconf setup to handle PPP.
sudo apt-get install wide-dhcpv6-client
That will allow me to get a static /60 subnet by Prefix Delegation
sudo apt-get radvd
That allows me to advertise my subnet to eth1
sudo ip -6 route add default dev ppp0
Then I just have to manually set up DNS in my host which is a slight pain.
Things needed to be considered:
Need to consider how to automate this process every time ppp0 comes up.
The other issue I need to solve is how to advertise the DNS automatically to my host.