Changes

Jump to: navigation, search

Virtual network device

1,272 bytes removed, 02:37, 25 January 2010
IPv6
== IPv6 ==
To setup IPv6 networking does not work with venet you. You'll need to enable use the veth bridging device. See the following [[VEs and HNs in your sysctlsame subnets]] article.conf:
<code>
# IPv6 Packet Forwarding and Proxy NDP
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 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 Neighbor Discovery Protocol] or [http://mirrors.bieringer.de/Linux+IPv6-HOWTO/proc-sys-net-ipv6.html Linux IPv6 Howto]).
 
You will as well need to configure a new v6 default gateway for your host:
 
<code>
ip addr add 2620:0:2d0:1::193/64 dev eth0
route -6 add default gw 2620:0:2d0:1::1
</code>
 
You can add these commands to your existing network configuration on Debian/Linux:
 
<code>
iface eth0 inet static
address 64.131.90.7
netmask 255.255.255.240
network 64.131.90.0
broadcast 64.131.90.15
gateway 64.131.90.1
up ip addr add 2620:0:2d0:1::193/64 dev eth0
up route -6 add default gw 2620:0:2d0:1::1
down ip addr del 3620:0:2d0:1::193/64 dev eth0
</code>
== Specific aspects of venet network device ==
Anonymous user

Navigation menu