Multiple IPv6 addresses over a HE tunnel
Setup: Debian, 2 IPv4 addresses.
I'm looking to configure multiple IPv6 with the routed /64 that comes with the tunnel.
Tunnel is currently up, and I can ping ipv6 addresses, however when I try and bring up an ipv6 address in the routed /64 (see below) I'm getting the error message:
alpha:/etc/network# ifup eth0:1
SIOCSIFFLAGS: Cannot assign requested address
Failed to bring up eth0:1.
> auto lo
iface lo inet loopback
auto eth0 eth0:0
iface eth0 inet static
address 1
netmask 255.255.255.0
gateway
iface eth0:1 inet6 static
address
netmask 64
iface eth0:0 inet static
address
netmask 255.255.255.0
gateway
auto hetunnel1 hetunnel1:0 # ipv6 start on boot
iface hetunnel1 inet6 v4tunnel
address
netmask 64
ttl 64
gateway
endpoint 216.66.80.26
local
Can anyone point me in the right direction to get the addresses working?
Thanks in advance!
2 Replies
auto 6in4
iface 6in4 inet6 v4tunnel
endpoint 72.52.104.74
local <myip>
ttl 255
address <tunnel_endpoint>::2
netmask 64
mtu 1472
up ip -6 route add ::/0 dev 6in4 metric 1
post-up sysctl -w net.ipv6.conf.all.forwarding=1
up ip -6 addr add <routed 64="">::/64 dev eth0
up ip -6 addr add <routed 64="">::3/128 dev 6in4</routed></routed></tunnel_endpoint></myip>