OVH Community, your new community space.

IPv6 Addresss Debian


akai
16-12-2014, 22:53
Can anyone help with setting up the IPv6 address in debian

I've currently got in /etc/network/interfaces this:

Code:
iface eth0 inet6 static
	address 2001:41D0:2:3B9c::
	netmask 64
	post-up /sbin/ip -family inet6 route add 2001:41D0:2:3Bff:ff:ff:ff:ff dev eth0
	post-up /sbin/ip -family inet6 route add default via 2001:41D0:2:3Bff:ff:ff:ff:ff
up ip -6 addr add 2001:41d0:2:3b9c::1/64 dev eth0
up ip -6 addr add 2001:41d0:2:3b9c::2/64 dev eth0
up ip -6 addr add 2001:41d0:2:3b9c::3/64 dev eth0
up ip -6 addr add 2001:41d0:2:3b9c::4/64 dev eth0
up ip -6 addr add 2001:41d0:2:3b9c::5/64 dev eth0
	pre-down /sbin/ip -family inet6 route del default via 2001:41D0:2:3Bff:ff:ff:ff:ff
	pre-down /sbin/ip -family inet6 route del 2001:41D0:2:3Bff:ff:ff:ff:ff dev eth0
down ip -6 addr del 2001:41d0:2:3b9c::1/64 dev eth0
down ip -6 addr del 2001:41d0:2:3b9c::2/64 dev eth0
down ip -6 addr del 2001:41d0:2:3b9c::3/64 dev eth0
down ip -6 addr del 2001:41d0:2:3b9c::4/64 dev eth0
down ip -6 addr del 2001:41d0:2:3b9c::5/64 dev eth0
but the extra 5 address arn't showing up when I reboot the server.