Difference between revisions of "IPv6-in-IPv4"
(New page: == Tunnelbroker - IPv6-in-IPv4 == '''Turn on ipv6 forwarding''' /etc/sysctl.conf <pre> net.ipv6.conf.all.forwarding = 1 </pre> '''Apply sysctl.conf changes''' <pre> /sbin/sysctl -p </pr...) |
(→Tunnelbroker - IPv6-in-IPv4) |
||
Line 46: | Line 46: | ||
/etc/init.d/network restart | /etc/init.d/network restart | ||
</pre> | </pre> | ||
+ | |||
+ | ** How-to created with help of tunnelbroker.net ** |
Latest revision as of 17:47, 7 August 2008
Tunnelbroker - IPv6-in-IPv4[edit]
Turn on ipv6 forwarding
/etc/sysctl.conf
net.ipv6.conf.all.forwarding = 1
Apply sysctl.conf changes
/sbin/sysctl -p
Turn on autotunnel
/etc/sysconfig/network
IPV6_AUTOTUNNEL=yes
Configure sit1 interface
/etc/sysconfig/network-scripts/ifcfg-sit1
DEVICE=sit1 BOOTPROTO=none ONBOOT=yes IPV6INIT=yes IPV6TUNNELIPV4= Server_IPv4_address IPV6TUNNELIPV4LOCAL=Client_IPv4_address # You'll need to specify your client IP if you've multiple NICs IPV6ADDR=Client_IPv6_address
Create a static route for inet6
/etc/sysconfig/static-routes-ipv6
sit1 2000::/3 Server_IPv6_address sit1 ::/0 Server_IPv6_address
(2000::/3 or ::/0 will depend on your kernel, add both and everything will work just fine)
Restart network
/etc/init.d/network restart
- How-to created with help of tunnelbroker.net **