From 11e0dbcb0531327f912cce868ee89193de44e18e Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 23 Jun 2017 10:13:07 +0200 Subject: [PATCH] Add Debian IPv6 docs --- debian_ipv6.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 debian_ipv6.md diff --git a/debian_ipv6.md b/debian_ipv6.md new file mode 100644 index 0000000..a7fc053 --- /dev/null +++ b/debian_ipv6.md @@ -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 +netmask 64 +gateway + +# these should work but somehow don't. Therefore the workaround using /etc/rc.local +#post-up /sbin/ip -f inet6 route add dev eth0 +#post-up /sbin/ip -f inet6 route add default via +#pre-down /sbin/ip -f inet6 route del default via +#pre-down /sbin/ip -f inet6 route del dev eth0 +``` + +## `/etc/rc.local` + +``` +```