忍者ブログ

Mechatronics and Life

There is simply nothing of importance whatsoever.

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

Building a Ubuntu IPv4/IPv6 Dual Stack Router Box

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.



Will do the IPv4 part in the coming days.
PR