Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)  (Read 6072 times)

incidence

  • Newbie
  • *
  • Posts: 3
Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« on: September 17, 2010, 11:00:59 AM »

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
Code: [Select]
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!
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2731
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #1 on: September 17, 2010, 11:02:56 AM »

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/
Logged

incidence

  • Newbie
  • *
  • Posts: 3
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #2 on: September 17, 2010, 11:06:48 AM »

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?  :)

Code: [Select]
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!
« Last Edit: September 17, 2010, 11:25:17 AM by incidence »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2731
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #3 on: September 17, 2010, 03:08:41 PM »

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.
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1735
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #4 on: September 17, 2010, 07:29:21 PM »

More like 18+ Quintillion addresses, not 64 Thousand.
Logged

incidence

  • Newbie
  • *
  • Posts: 3
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #5 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. Trying to achieve this with three IP's: http://www.linode.com/wiki/index.php/IPv6_Reverse_DNS
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2731
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #6 on: September 18, 2010, 01:46:27 PM »

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?
Logged

snarked

  • Hero Member
  • *****
  • Posts: 774
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #7 on: September 18, 2010, 02:23:54 PM »

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

Ninho

  • Full Member
  • ***
  • Posts: 138
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #8 on: September 21, 2010, 03:03:42 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
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1735
Re: Three IPv6 addresses? (Running Ubuntu 10.04 LTS)
« Reply #9 on: September 21, 2010, 08:00:07 AM »

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