Changes

Jump to: navigation, search

Virtual network device

1,094 bytes added, 13:21, 5 January 2009
IPv6
=== IPv6 ===
If To setup IPv6 networking with venet you expect any problems with configuring IPv6 for 'll need to enable the following in your CTs, this OpenVZ forum thread might helpsysctl.conf:
http://forum<code> net.ipv6.openvzconf.org/indexdefault.php?tforwarding =msg&goto1 net.ipv6.conf.all.forwarding =14752&1</code>
 
 
In IPv6 you can't control forwarding per device, forwarding control has to take place in ip6tables, so all interfaces will forward IPv6 traffic.
 
If you enable IPv6 forwarding for your interfaces, Linux assumes your host to act like a router and will ignore 'Router Advertisments'
(see [[http://en.wikipedia.org/wiki/Neighbor_Discovery_Protocol]] or [[http://mirrors.bieringer.de/Linux+IPv6-HOWTO/proc-sys-net-ipv6.html]]).
 
You will as well need to configure a new v6 default gateway for your host:
 
<code>
ip addr add 2001:1:1:1:0::2/64 dev eth0
route -6 add default gw 2001:1:1:1:0::1
</code>
 
You can add these commands to your existing network configuration on Debian/Linux:
 
<code>
iface eth0 inet static
address 213.235.253.206
netmask 255.255.255.240
network 213.235.253.192
broadcast 213.235.253.207
gateway 213.235.253.193
up ip addr add 2001:1:1:1:0::2/64 dev eth0
up route -6 add default gw 2001:1:1:1:0::1
down ip addr del 22001:1:1:1:0::2/64 dev eth0
</code>
== See also ==
7
edits

Navigation menu