• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Three IPv6 addresses? (Running Ubuntu 10.04 LTS)

Started by incidence, September 17, 2010, 11:00:59 AM

Previous topic - Next topic

incidence

Hi,

I'm newbie when it comes to IPv6.

How can I assign multiple IPv6 addresses for one server? I succesfully added one.


/etc/network/interfaces
auto hetunnel
iface hetunnel inet6 v4tunnel
   address 2001:470:1f08:ea8::2
   netmask 64
   ttl 64
   gateway 2001:470:1f08:ea8::1
   endpoint 216.66.80.26
   local 178.79.xxx.xxx


Thanks!

cholzhauer

I'm assuming you want to add them to your eth0 (or equivalent) address and not the tunnel interface?  You need to assign them out of your routed /64

This page should help

http://www.cyberciti.biz/faq/ubuntu-ipv6-networking-configuration/

incidence

#2
Yeah, I want to add them to eth0. Thanks. I'll see that link =)

Edit: That didn't help me that much. Can I get more than 1 IPv6 address from Tunnelbroker or I have to form a new tunnel every time?  :)

eth0      Link encap:Ethernet  HWaddr fe:fd:b2:4f:8f:fa
         inet addr:178.79.xxx.xxx  Bcast:178.79.xxx.xxx Mask:255.255.255.0
         inet6 addr: fe80::fcfd:b2ff:fe4f:8ffa/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:50109 errors:0 dropped:0 overruns:0 frame:0
         TX packets:45548 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:11461061 (11.4 MB)  TX bytes:7728018 (7.7 MB)
         Interrupt:28

he-ipv6   Link encap:IPv6-in-IPv4
         inet6 addr: fe80::b24f:8ffa/128 Scope:Link
         inet6 addr: 2001:470:1f08:ea8::2/64 Scope:Global
         UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0
         TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:520 (520.0 B)  TX bytes:520 (520.0 B)



Thanks!

cholzhauer

I thought I had replied to this already..hmm

You can get more than one IPv6 address from HE...that's why you are assigned a /64 right off the bat, giving you 64k addresses to play with.

broquea

More like 18+ Quintillion addresses, not 64 Thousand.

incidence

Thanks for your responses. How can I calculate my remaining public IPv6 addresses? =)

If first is 2001:470:1f09:ea8::2. Trying to achieve this with three IP's: http://www.linode.com/wiki/index.php/IPv6_Reverse_DNS

cholzhauer

Yeah, as soon as I hit submit, I knew that 64k looked incorrect...thanks for the correction

So you want to configure reverse DNS for your subnet?

snarked

One can correct a post within the first 10-15 minutes if no one else has replied.  Use the feature next time.

Ninho

Quote from: incidence on September 18, 2010, 07:26:36 AM
Thanks for your responses. How can I calculate my remaining public IPv6 addresses? =)

If first is 2001:470:1f09:ea8::2.

That is the address of (your side of) the tunnel. Forget about it for awhile. Instead, you
want to assign addresses from your /64, which is : 2001:470:1f09:ea9::0/64

Please notice the bold 9 !

HTH. This should get you started, otherwise ask again...

--
Ninho

broquea

You bolded the wrong part, the /48 quad is what changes, not the /64.