Linode Forum
https://forum.linode.com/

ipv6 config on debuntu
https://forum.linode.com/viewtopic.php?f=19&t=7078
Page 1 of 1

Author:  glg [ Thu May 05, 2011 10:02 pm ]
Post subject:  ipv6 config on debuntu

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?

Author:  hoopycat [ Fri May 06, 2011 1:23 pm ]
Post subject: 

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

Author:  theckman [ Fri May 06, 2011 1:41 pm ]
Post subject: 

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

Author:  glg [ Fri May 06, 2011 6:16 pm ]
Post subject: 

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.

Author:  derekyang [ Sun May 08, 2011 10:38 pm ]
Post subject: 

really thanks

theckman's function worked for me.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/