7
edits
Changes
→IPv6
=== IPv6 ===
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 ==