Multiple IPv6 addresses over a HE tunnel

Hi

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

For my Deb' box

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>

That worked, thankyou very much!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct