Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: ipv6 config on debuntu
PostPosted: Thu May 05, 2011 10:02 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
I got my "automatic" address working fine (rebooted). I got an assigned pool. I followed the directions to add addresses via "ip -6 addr add" and got that to work. was able to ping from one linode to another on both the automaticly configured addresses and the ones manually added.

So, how do I configure this properly? ie, put the "pool" addresses I want into my interfaces file. I tried copying an iface eth0 inet6 static stanza I found online, didn't work. Anyone got an example?


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 1:23 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I usually do an /etc/network/interface stanza like:

iface eth0 inet6 static
address xxxx:xxxx:xxxx::dead:beef
netmask 64

Might need to stick it on eth0:1, eth0:2, etc, though... haven't played with that aspect lately. -rt

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 1:41 pm 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
On Debian 6.0 under my eth0 section I added lines like this:

Code:
iface eth0 inet static
   address <ipv4_addr>
   netmask <ipv4_subnet>
   gateway <ipv4_gateway>
   # bring up IPv6
   up /sbin/ip -6 addr add <ipv6_addr>/64 dev eth0
   up /sbin/ip -6 addr add <ipv6_addr>/64 dev eth0


This ran the ip command when the interface was brought up. Seemed to work perfectly for me. I'm thinking of trying out HoopyCat's method shortly on my Debian Linode.

-Tim


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 6:16 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
I wasn't getting hoopycat's method to work out, it seemed to be ignored. I was able to get theckman's way to work and now am able to ping from external, etc.


Top
   
 Post subject:
PostPosted: Sun May 08, 2011 10:38 pm 
Offline

Joined: Thu May 05, 2011 4:54 am
Posts: 1
really thanks

theckman's function worked for me.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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