Changes

Jump to: navigation, search

IPv6-in-IPv4

910 bytes added, 17:45, 7 August 2008
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 ==

'''Turn on ipv6 forwarding'''

/etc/sysctl.conf
<pre>
net.ipv6.conf.all.forwarding = 1
</pre>

'''Apply sysctl.conf changes'''
<pre>
/sbin/sysctl -p
</pre>

'''Turn on autotunnel'''

/etc/sysconfig/network
<pre>
IPV6_AUTOTUNNEL=yes
</pre>

'''Configure sit1 interface'''

/etc/sysconfig/network-scripts/ifcfg-sit1
<pre>
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
</pre>

'''Create a static route for inet6'''

/etc/sysconfig/static-routes-ipv6
<pre>
sit1 2000::/3 Server_IPv6_address
sit1 ::/0 Server_IPv6_address
</pre>
(2000::/3 or ::/0 will depend on your kernel, add both and everything will work just fine)

'''Restart network'''
<pre>
/etc/init.d/network restart
</pre>
3
edits

Navigation menu