Bering-uClibc 4.x - User Guide - IPv6 Networking - External Network Connections

From bering-uClibc
Revision as of 22:14, 31 December 2010 by Kapeka (Talk | contribs) (SixXS)

Jump to: navigation, search
IPv6 Networking - External Network Connections
Bering-uClibc 4.x - User Guide Next

Native IPv6


Tunnel from IPv6 Tunnelbroker


If you use SixXS as your IPv6 tunnelbroker, you'll want to install the aiccu.lrp Package, which provides AICCU, the Automatic IPv6 Connectivity Client Utility.

AICCU makes it easy for users to get IPv6 connectivity. After having requested an account, tunnel and optionally a subnet, AICCU can be used to automatically configure the tunnel. AICCU supports TIC (Tunnel Information & Control protocol), which it uses for retrieving the tunnel configuration information, AYIYA, which allows tunnels to be created even behind firewalls and NAT's.

The procedure to configure Bering-uClibc 4.x is as follows:

  • Make sure you have the tun kernel Module loaded. Note that this relies on the crc32 kernel Module, which should be automatically loaded in most setups anyway.
  • Configure Shorewall to accept the SixXS tunnel traffic. Add the following to /etc/shorewall/rules:
SixXS(ACCEPT)   fw      net
  • Install the aiccu.lrp Package and configure it using lrcfg.
    • Specify your own username and password.
    • Specify the relevant protocol and server. For example:
protocol tic
  • Start the aiccu daemon:
svi aiccu start
  • Check for error messages in /var/log/syslog
  • If all is well, you should have a new network interface called "sixxs" which is effectively the IPv6 equivalent of your external IPv4 interface (e.g. eth0 or ppp0).
  • In the event of problems you may find the "test" mode of the "aiccu" command useful.

Although AICCU supports tunnels via non-static IP-adresses, we've found that tunnels via DSL-providers (like T-DSL connections in Germany), that change the ip address in an 24-hour-intervall, doesn't work reliably. A workaround is to add the script below, named as 0aiccu, to /etc/ppp/ip-up-d. It restarts aiccu after ppp has reestablished the pppoe connection.

if pidof aiccu
       then /etc/init.d/aiccu stop
while  pidof aiccu ; do
  sleep 15;                                                                 
  pidof aiccu;
/etc/init.d/aiccu start

Hurricane Electric


Up Next