Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: What is a routed prefix?  (Read 8616 times)

Toucanfan

  • Newbie
  • *
  • Posts: 10
What is a routed prefix?
« on: November 20, 2010, 03:30:55 PM »

Hi everyone!
The term is menioned a lot, but I can't seem to figure out what it means. A real world example: What is eg. the difference (if any) between my routed /64 and the tunnel connection /64 ?

Thanks in advance
:)
Logged

lukec

  • Jr. Member
  • **
  • Posts: 65
    • Home
Re: What is a routed prefix?
« Reply #1 on: November 20, 2010, 03:56:11 PM »

Your "tunnel connection /64" is being used in this situation as the netmask of yout point to point tunnel with HE. If you equate this in v4 parlance then this is being used as a /30 (your end and HE's end) no other IPv6 addresses can be used from that /64 (there goes another 18 trillion addresses :-[) If you really equate this with v4 then a /126 could be used, however HE use a /64 instead.

Your "routed /64" is a different IPv6 network that HE route down your tunnel for you to use at your location...hooray, you have 18 trillion addresses to play with and allocate to your hosts...

Does this help?

Regards
lukec
Logged

Toucanfan

  • Newbie
  • *
  • Posts: 10
Re: What is a routed prefix?
« Reply #2 on: November 20, 2010, 04:13:10 PM »

Hi, and thank you for replying
I know that HE uses a /64 for the P-t-P connection. I've earlier been told that they do so because of some "compatibility issues". However, my question was more regarding the term "routed prefix". What does that exactly mean? Are there any non-routed prefix'es for instance?
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1722
Re: What is a routed prefix?
« Reply #3 on: November 20, 2010, 04:16:40 PM »

Corrections:

You can use the other 18+ QUINTILLION IPs in the tunnel's PtP /64, but really only on the tunnel interface, and you get no rDNS control. So you are always better off leaving them be and using this routed prefix.

A /64 is 18,446,744,073,709,551,616 IPs, and not 18,446,744,073,709 so use quintillion please.

The routed prefix means that it is STATICALLY routed to your side of the tunnel, for your use on your LAN. This means the machine that you terminate the tunnel on will act as a router for that prefix.
Logged

lukec

  • Jr. Member
  • **
  • Posts: 65
    • Home
Re: What is a routed prefix?
« Reply #4 on: November 21, 2010, 04:35:04 PM »

Corrected corrections...being from the Great Britain... ;D

See the table referenced from the quote below... http://www.jimloy.com/math/billion.htm

Quote
Million, Billion, Trillion...
Copyright 1999, Jim Loy

People sometimes ask me the names of the large numbers. Here is a table. The system used in the U.S. is not as logical as that used in other countries (like Great Britain, France, and Germany). In these other countries, a billion (bi meaning two) has twice as many zeros as a million, and a trillion (tri meaning three) has three times as many zeros as a million, etc. But the scientific community seems to use the American system.


A /64 would contain 18 zeros (rounded down) - a billion 12 and a million 6...
I question the "Internet Community" being the same as the "scientific community" and claim the right to call it 18 trillion...

Regards
lukec
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1722
Re: What is a routed prefix?
« Reply #5 on: November 21, 2010, 04:46:04 PM »

Good thing then that HE.NET and myself are US based :)
« Last Edit: November 21, 2010, 04:47:54 PM by broquea »
Logged

jimb

  • Hero Member
  • *****
  • Posts: 805
  • ^^^ Warped picture
Re: What is a routed prefix?
« Reply #6 on: November 21, 2010, 05:35:40 PM »

I like saying ~18.4 billion billion (18.45 * 1000 ^ 3 * 1000 ^ 3), cause it sounds more impressive than "quintillion", and sounds like something Carl Sagan would say.   ;D

Anyways:

{root@gtoojimb/pts/0}~# units -v
2526 units, 72 prefixes, 56 nonlinear units

You have: 18446744073709551616
You want: quintillion
        18446744073709551616 = 18.446744 quintillion
        18446744073709551616 = (1 / 0.054210109) quintillion

You have: 18446744073709551616
You want: shortquintillion
        18446744073709551616 = 18.446744 shortquintillion
        18446744073709551616 = (1 / 0.054210109) shortquintillion
(US)

You have: 18446744073709551616
You want: longquintillion
        18446744073709551616 = 1.8446744e-11 longquintillion
        18446744073709551616 = (1 / 5.4210109e+10) longquintillion

You have: 18446744073709551616
You want: longtrillion
        18446744073709551616 = 18.446744 longtrillion
        18446744073709551616 = (1 / 0.054210109) longtrillion
(many non-english speaking countires)

/usr/share/units/units.def on your friendly Linux box has some nice comments on all this.
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2706
Re: What is a routed prefix?
« Reply #7 on: November 22, 2010, 09:45:54 AM »

BSD doesn't know what's going on

Code: [Select]
[carl@mars ~]$ units
586 units, 56 prefixes
You have: 18446744073709551616
You want: quintillion
unknown unit 'quintillion'

For the record, neither does Solaris
« Last Edit: November 22, 2010, 09:47:58 AM by cholzhauer »
Logged

jimb

  • Hero Member
  • *****
  • Posts: 805
  • ^^^ Warped picture
Re: What is a routed prefix?
« Reply #8 on: November 22, 2010, 10:30:10 AM »

Older units.def files used "usquintillion" and "ukquintillion" etc.  Probably have an older version of units.
Logged

lukec

  • Jr. Member
  • **
  • Posts: 65
    • Home
Re: What is a routed prefix?
« Reply #9 on: November 23, 2010, 04:50:33 PM »

BSD knows...you just have to tell it ;-) gunits...install the port...even then note the difference in available "units" "prefixes" and "nonliniar units" available to BSD...< Linux  :(

Code: [Select]
lear:/usr/ports/math/units> gunits
2438 units, 71 prefixes, 32 nonlinear units

You have: 18446744073709551616
You want: brtrillion
        * 18.446744
        / 0.054210109
You have: 18446744073709551616
You want: quintillion
        * 18.446744
        / 0.054210109
You have:
lear:/usr/ports/math/units>
Logged

jimb

  • Hero Member
  • *****
  • Posts: 805
  • ^^^ Warped picture
Re: What is a routed prefix?
« Reply #10 on: November 23, 2010, 04:55:39 PM »

Kind of surprised that BSD ports version isn't as up to date as gentoo portage version of units.
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2706
Re: What is a routed prefix?
« Reply #11 on: November 24, 2010, 05:30:25 AM »

Quote
BSD knows...you just have to tell it ;-) gunits...install the port...even then note the difference in available "units" "prefixes" and "nonliniar units" available to BSD...< Linux

Ohh...gunits works better than units

Code: [Select]

[carl@mars ~]$ gunits
2526 units, 72 prefixes, 56 nonlinear units

You have: 18446744073709551616
You want: quintillion
        * 18.446744
        / 0.054210109

And BSD > Linux for some things...just depends what you want to do ;)
Logged