Difference between revisions of "Ipv6"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(New page: == Vars to set == /etc/sysctl.conf <pre> net.ipv6.conf.all.forwarding=1 </pre> /etc/sysconfig/network <pre> ... IPV6_DEFAULTGW=your_ipv6_gw_here IPV6_DEFAULTDEV=your_interface_here </pre>...)
 
(redirect)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Vars to set ==
+
#REDIRECT:[[IPv6]]
/etc/sysctl.conf
 
<pre>
 
net.ipv6.conf.all.forwarding=1
 
</pre>
 
 
 
/etc/sysconfig/network
 
<pre>
 
...
 
IPV6_DEFAULTGW=your_ipv6_gw_here
 
IPV6_DEFAULTDEV=your_interface_here
 
</pre>
 
 
 
/etc/sysconfig/network-scripts/ifcfg-eth0
 
<pre>
 
..
 
IPV6INIT=yes
 
IPV6FORWARDING=yes
 
IPV6ADDR=your_host_node_ipv6_ip/netmask
 
</pre>
 
 
 
 
 
/etc/sysconfig/network-scripts/ifup-ipv6
 
Replace
 
<pre>
 
ipv6_set_default_route "$IPV6_DEFAULTGW" "$IPV6_DEFAULTDEV" "$DEVICE"
 
</pre>
 
 
 
With
 
<pre>
 
ip r a 2000::/3 dev "$IPV6_DEFAULTDEV"
 
ip r a 2000::/3 via "$IPV6_DEFAULTGW" dev "$IPV6_DEFAULTDEV"
 
ip r d 2000::/3 dev "$IPV6_DEFAULTDEV"
 
</pre>
 
 
 
Talk about it -> [http://forum.openvz.org/index.php?t=tree&goto=35285&#msg_35285]
 

Latest revision as of 05:54, 25 January 2010

Redirect to: