Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jan 31, 2011 9:29 am 
Offline
Senior Newbie

Joined: Mon Jan 31, 2011 8:57 am
Posts: 18
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.

Quote:
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!


Last edited by tonymallin on Tue Feb 01, 2011 4:16 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon Jan 31, 2011 4:31 pm 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
For my Deb' box

Code:
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


Top
   
 Post subject:
PostPosted: Tue Feb 01, 2011 4:16 am 
Offline
Senior Newbie

Joined: Mon Jan 31, 2011 8:57 am
Posts: 18
That worked, thankyou very much!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group