IPv6 in Linux

IPv4-IPv6 Tunnels

HE IPv6 Tunnel Broker http://tunnelbroker.net/


auto he6to4
iface he6to4 inet6 v4tunnel
  address xxx:yyy:uuu:zzz::2
  netmask 64
  gateway xxx:yyy:uuu:zzz::1
  local A.B.C.D      # needed if you have multiple external Interfaces
  ttl 64             # needed because of a tunneling situation

SIXXS Tunnel Broker http://www.sixxs.net FIXME

Basic configuration (Debian/ubuntu)


auto ethX
iface ethX inet6 static
   address xxxx:yyyy:uuuu:::1
   netmask 64



Basic configuration (RHEL/Fedora/CentOS)

f /etc/sysconfig/network


f /etc/sysconfig/network-scripts/ifcfg-eth0


Save and close the file. Restart networking:

 # service network restart

Router adv

Router side


interface eth0
        AdvSendAdvert on;
        IgnoreIfMissing on;
        MinRtrAdvInterval 3;
        MaxRtrAdvInterval 30;
        AdvDefaultPreference low;
        AdvHomeAgentFlag off;
        AdvManagedFlag  on;
#       AdvOtherConfigFlag on;

        prefix 2001:15c0:1000:1036::/64
                AdvOnLink on;
                AdvAutonomous off;
                AdvRouterAddr off;
        RDNSS 2001:15c0:1000:1036::1 2001:15c0:ffff:f::12
                AdvRDNSSPreference 8;
                AdvRDNSSOpen off;

Router dibbler dhcpv6

Router side


 log-level 1
 log-mode short
 preference 0

 iface eth1 {
 option dns-server 2001:15c0:ffff:f::12,2001:15c0:1000:1036::1
 option domain net.lan
 option time-zone  CET
 option lifetime 500
 t1 1800-2000
 t2 2700-3000
 prefered-lifetime 3600
 valid-lifetime 7200

 class {
   pool 2001:15c0:1000:1036::1/64

linux/ipv6.txt · Last modified: 2012/10/27 13:13 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready