Changes

Jump to: navigation, search

Ipv6

694 bytes added, 17:05, 15 March 2009
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>...
== 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>

/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]
3
edits

Navigation menu