This is an old revision of the document!


IPv6 in Linux

IPv4-IPv6 Tunnels

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

f /etc/network/interfaces

auto he6to4
iface he6to4 inet6 v4tunnel
  address xxx:yyy:uuu:zzz::2
  netmask 64
  gateway xxx:yyy:uuu:zzz::1
  endpoint 216.66.84.46
  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)

f /etc/network/interfaces

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

f /etc/sysctl.conf

net.ipv6.conf.default.forwarding=1

Basic configuration (RHEL/Fedora/CentOS)

f /etc/sysconfig/network

NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=linux

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

IPV6INIT=yes
IPV6ADDR=<IPv6-IP-Address>
IPV6_DEFAULTGW=<IPv6-IP-Gateway-Address>

Save and close the file. Restart networking:

 # service network restart

Router adv

Router side

f /etc/radvd.conf

interface eth0
{
   AdvSendAdvert on;
   prefix xxxx:yyyy:uuuu:::/64
   {
   };
};
linux/ipv6.1255625853.txt.gz · Last modified: 2009/10/15 18:57 by 193.164.137.52
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready