IPv6 Tunnel CentOS

Monday, February 4, 2013

IPv6 Tunnel CentOS


CentOS

/etc/sysconfig/network

NETWORKING_IPV6=yes
IPV6_DEFAULTDEV="tun6to4"

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

IPV6INIT="yes"
IPV6TO4INIT="yes"
IPV6TO4_RELAY="192.88.99.1"

Restart your networking (/etc/init.d/network restart)
---------
centos

/etc/sysconfig/network

NETWORKING_IPV6="yes"
IPV6_DEFAULTDEV="he-ipv6"


/etc/sysconfig/network-scripts/ifcfg-he
DEVICE=he-ipv6
TYPE=sit
BOOTPROTO=none
ONBOOT=yes                         # set to "no" if you prefer to start the tunnel manually
IPV6INIT=yes
IPV6TUNNELIPV4=66.220.18.42        # Server IPv4 address
IPV6ADDR="2001:470:f0be::1/48"      # Client IPv6 address
IPV6ADDR_SECONDARIES="2001:470:f0be::2/48"

0 comments :