Add Debian IPv6 docs

This commit is contained in:
Valentin Brandl 2017-06-23 10:13:07 +02:00
parent ae10012d53
commit 11e0dbcb05
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

27
debian_ipv6.md Normal file
View File

@ -0,0 +1,27 @@
# IPv6 on Debian hosts
## `/etc/network/interfaces`
```
auto lo
iface lo inet loopback
iface lo inet6 loopback # IPv6 on lookback device
[...]
iface eth0 inet6 static
address <ipv6-address>
netmask 64
gateway <ipv6-gateway>
# these should work but somehow don't. Therefore the workaround using /etc/rc.local
#post-up /sbin/ip -f inet6 route add <ipv6-gateway> dev eth0
#post-up /sbin/ip -f inet6 route add default via <ipv6-gateway>
#pre-down /sbin/ip -f inet6 route del default via <ipv6-gateway>
#pre-down /sbin/ip -f inet6 route del <ipv6-gateway> dev eth0
```
## `/etc/rc.local`
```
```