57
1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

Embed Size (px)

Citation preview

Page 1: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

1

IPv6 Addressingand Address Management

Paul Wilson

Director General

APNIC

Page 2: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

2

Overview

• IPv6 address architecture

• Why IPv6?

• Address management past and present

• Regional Internet Registries

• IP address policies

• Global policy coordination

• What’s next

Page 3: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

3

What is an IP Address?

Page 4: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

4

“On the Internet, nobody knows you’re a dog…”

by Peter Steiner, from The New Yorker, (Vol.69 (LXIX) no. 20)

Page 5: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

5

[email protected]

www.redhat.com

Skype: whoever

www.dogs.biz

[email protected]

www.mininova.org

MSN: whatever

www.doggie.com

www.ietf.org

216.239.39.99

66.187.232.50

66.135.208.101

209.217.36.32

202.12.29.20

199.166.24.5

66.135.208.88

198.41.3.45

4.17.168.6

“On the Internet…”you are nothing but an IP Address!

202.12.29.142

Page 6: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

6

What is an IP Address?

IPv4: 32 bits

e.g. 202.12.29.142 (host address)

202.12.29/24 (network address)

232 = 4,294,967,296 addresses

= 4 billion addresses

IPv6: 128 bits

e.g. 2001:400:3c00:af92:: (host address)

2001:0400::/32 (network address)

2128 = 340,282,366,920,938,463,463,374,607,431,770,000,000

= 340 billion billion billion billion addresses ?

Page 7: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

7

128 bits

IPv6 address architecture

Topological Interface

/0 /64 /128

Infrastructure Site

/0 /64/48

• 248 site addresses = 281,474,976,710,656

= 281 thousand billion site addresses

• 264 “subnet” addresses = 18,446,744,073,709,551,616

= 18 billion billion subnet addresses

?

Page 8: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

8

128 bits

One more thing…

Topological Interface

/0 /64 /128

Infrastructure Site

/0 /64/48

001 TLA SLANLASub-TLA

/0 /64/48

RFC 2450 (1998), now deprecated!

Page 9: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

9

What else is an IP Address?

• Internet infrastructure addresses– Uniquely assigned to infrastructure elements– Globally visible to the entire Internet

• A finite “Common Resource”– Never “owned” by address users

• Managed globally under common policies– To ensure globally cohesive Internet– Policies developed by the Internet community– Implemented by cooperative RIR system

• Not dependent upon the DNS

Page 10: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

10

My Computer www.cernet.cn2001:0C00:8888:: 2001:0400::

www.cernet.cn ? 202.112.0.462001:0400::

IP addresses are not domain names…

The Internet

DNS

Page 11: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

11

Why IPv6?

Page 12: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

12

Rationale for IPv6

• IPv4 address space consumption– Now up to 10 years unallocated remaining– More if unused addresses can be reclaimed– …or less if allocation rates increase

• Loss of “end to end” connectivity– Widespread use of NAT due to ISP policies

and marketing– Additional complexity and performance

degradation– “Fog on the Internet”

• Brian Carpenter, IETF, RFC 2775

Page 13: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

13

The NAT problem

10.0.0.1 ..2 ..3 ..4

R

61.100.32.0/26(64 addresses)

61.100.32.1 ..2 ..3 ..4

ISP 61.100.0.0/16

The Internet

*AKA home router, ICS, firewall

NAT*

61.100.32.128(1 address)

Page 14: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

14

The NAT problem

Internet

10.0.0.202

61.100.32.128

NAT

?Extn 202

Phone Network

02 6262 9898

PABX

Page 15: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

15

Rationale for IPv6

• Other “features”…– Security– QOS– Mobility?– Multihoming and routing table control?

• All available in some form in IPv4– Or yet to be solved

Page 16: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

16

How are IP Addresses managed?

Page 17: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

17

The early years: 1981 – 1992

“The assignment of numbers is also handled by Jon. If you are developing a protocol or application that will require the use of a link, socket, port, protocol, or network number please contact Jon to receive a number assignment.” (RFC 790)

1981:

Page 18: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

18

IANA address consumption

1983 1984 1985 1986 1987 1988 1989 1990 1991

0

2

4

6

8

10

12

14

16

Page 19: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

19

Global routing table: ’88 – ’92

0

1000

2000

3000

4000

5000

6000

7000

8000

9000

Jul-88 Jan-89 Jul-89 Jan-90 Jul-90 Jan-91 Jul-91 Jan-92 Jul-92

Page 20: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

20

0

10000

20000

30000

40000

50000

60000

70000

80000

90000

100000

Jan-89 Jan-90 Jan-91 Jan-92 Jan-93 Jan-94 Jan-95 Jan-96

Global routing table: Projection

Page 21: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

21

The boom years: 1992 – 2001

“It has become clear that … these problems are likely to become critical within the next one to three years.” (RFC1338)

“…it is [now] desirable to consider delegating the registration function to an organization in each of those geographic areas.” (RFC 1366)

1992:

Page 22: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

22

IANA address consumption

1983 1984 1985 1986 1987 1988 1989 1990 1991

0

2

4

6

8

10

12

14

16

19831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005

0

2

4

6

8

10

12

14

16

various

assigned

ripencc

lacnic

arin

apnic

afrinic

Page 23: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

23

Global routing table (IPv4)

http://bgp.potaroo.net/as1221/bgp-active.html

CIDR deployment

“Dot-Com” boom

Projected routing table growth without CIDR

Sustainablegrowth?

CIDR deployment

“Dot-Com” boom

Projected routing table growth without CIDR

Sustainablegrowth?

Page 24: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

24

Recent years: 2002 – 2005

2004:

Establishment of the Number Resource Organisation

Page 25: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

25

Where are the addresses?

Page 26: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

26

IPv4 distribution – Global

Unused65

25%

RIPENCC197%

LACNIC4

2%

Historical90

36%

Reserved36

14%

APNIC166%

ARIN26

10%

Page 27: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

27

IPv4 distribution – Regional

1999 2000 2001 20022003

20042005

0

0.5

1

1.5

2

2.5

3

3.5

apnic

arin

lacnic

ripencc

afrinic

Page 28: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

28

IPv4 distribution – Top 10

199319941995199619971998 1999 2000 2001 2002 2003 2004 2005

0

1

2

3

4

5

6

7

ES

CA

IT

FR

DE

KR

UK

CN

JP

US

Page 29: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

29

IPv6 distribution – Global

apnic3276843%

arin61448%

lacnic5121%

ripencc3635248%

Page 30: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

30

IPv6 distribution – Regional

19992002

20032004

2005

0

2000

4000

6000

8000

10000

12000

14000

16000

18000

20000

apnic

arin

ripencc

Page 31: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

31

IPv6 distribution – Top 10

Other

US UKCH IT

JP

DE

NONLAU

KR

EU

Page 32: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

32

Regional Internet Registries

Page 33: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

33

What are RIRs?

• Regional Internet Registries– Industry self-regulatory bodies– Non-profit, neutral and independent– Open membership-based structures

• Internet resource allocation and registration– Primarily, IP addresses – IPv4 and IPv6

• Policy development and coordination– Open Policy Meetings and processes

• Supporting activities– Training courses, outreach– Newsletters, reports, web sites– Technical/operational services

Page 34: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

34

What is APNIC?

Page 35: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

35

What is APNIC?

• RIR for Asia Pacific region– Established 1993, Tokyo– 1100+ members in 45 of 62 AP economies– 45 staff, 18 nationality/language groups

• National Internet Registry structure– All NIRs follow same policies– Single regional address pool

• Other activities– Liaison: IETF, APT, PITA, APEC, ISP-A’s– ITU Sector Member– UN ECOSOC consultative status– Operational services and support…

Page 36: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

36

Rootservers

(10)

(15)

Page 37: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

37

icons.apnic.net

Page 38: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

38

Other activities

• Certification Authority– Member authentication– RFC 3779 implementation– Test resource certificates available at

• ftp://ftp.apnic.net/pub/test-certs

• Internet “governance”– Dialog with governments– ORDIG - Open Regional Dialog on Internet

Governance (UNDP)– ICANN, WSIS, WGIG etc etc

Page 39: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

39

IP Address Policies

Page 40: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

40

IP address management policies

• Fundamental technical principles– Provider-based addressing– Objective demonstrated need– Conservation, aggregation and registration

• Administrative policies– “Common resources” – not owned– Management in common interest– First-come-first-served allocation

• Constantly evolving through policy process– By consensus of Internet operator community– Process is open to all interested parties

Page 41: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

41

RIR policy coordination

OPEN

TRANSPARENT‘BOTTOM UP’

Anyone can participate

All decisions & policies documented & freely available to anyone

Internet community proposes and approves policy

Need

DiscussEvaluate

Implement Consensus

Page 42: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

42

IPv6 management policies

• Utilisation metric– HD Ratio rather than percentage– Specific value 0.8 initially– Change currently under discussion

• Assignment size– /48 initially suggested by IETF– May be changed to /56 or other

• Initial/minimum allocation size– /32 for all ISP allocations

Page 43: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

43

IPv6 utilisation – HD Ratio

• Under IPv4, address space utilisation measured as simple percentage:

• IPv4 utilisation requirement is 80%– When 80% of address space has been

assigned or allocated, LIR may receive more– E.g. ISP has assigned 55,000 addresses

from /16

availableassignednUtilisatio =

%84536,65

000,55 ==availableassigned

Page 44: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

44

IPv6 utilisation – HD Ratio

• Under new IPv6 policy utilisation is determined by HD-Ratio (RFC 3194):

• IPv6 utilisation requirement is HD=0.80– Measured according to end-site assignments

only (intermediate allocations are ignored)– E.g. ISP has assigned 10,000 addresses

from /32

)log()log(

availableassigned

HDnUtilisatio =

83.0)536,65log(

)000,10log()log()log( ==available

assigned

Page 45: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

45

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

48 44 40 36 32 28 24 20 16 12 8 4 0

IPv6 utilisation (HD = 0.80)

RFC3194 “The Host-Density Ratio for Address Assignment Efficiency”

/32

10.9%

1.18%

/16

0.80)log(

)log( =total

utilised

Page 46: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

46

IPv6 utilisation (HD = 0.80)

• Percentage utilisation calculation

IPv6

Prefix

Site Address

Bits

Total site address in /48s

Threshold

(HD ratio 0.8)

Utilisation %

/42 6 64 28 43.5 %

/36 12 4096 776 18.9 %

/35 13 8192 1351 16.5 %

/32 16 65536 7132 10.9 %

/29 19 524288 37641 7.3 %

/24 24 16777216 602249 3.6 %

/16 32 4294967296 50859008 1.2 %

/8 40 1099511627776 4294967296 0.4 %

/3 45 35184372088832 68719476736 0.2 %

Page 47: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

47

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

48 44 40 36 32 28 24 20 16 12 8 4 0

IPv6 utilisation (HD = 0.94)

RFC3194 “The Host-Density Ratio for Address Assignment Efficiency”

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

/48 /44 /40 /36 /32 /28 /24 /20 /16 /12 /8 /4 /0

0.94)log(

)log( =total

utilised

Page 48: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

48

IPv6 utilisation (HD = 0.94)

• Proposed utilisation measures

IPv6

Prefix

Site Address

Bits

Total site address in /48s

Threshold

(HD ratio 0.8)

Utilisation %

/42 6 64 50 77.9 %

/36 12 4096 2487 60.7 %

/35 13 8192 4771 58.2 %

/32 16 65536 33689 51.4 %

/29 19 524288 237901 45.4 %

/24 24 16777216 6183533 36.9 %

/16 32 4294967296 1134964479 26.4 %

/8 40 1099511627776 208318498661 19.0 %

/3 45 35184372088832 5414630391777 15.4 %

Page 49: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

49

Global Policy Coordination

Page 50: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

50

Global policy coordination

• Local actions have global impact– Consumption or wastage of common resource– Global routing table growth

• Bad behaviour can isolate entire networks and countries

– E.g. Spam and hacking, router overload

• Inconsistent policies also cause global effects– E.g. Fragmentation of IP address space– If widespread, Internet routing is fragmented– End of global end-end routability

• Address policies must be globally consistent– RIRs work hard to ensure this

Page 51: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

51

NRO

• Number Resource Organisation (2003)– “Coalition” of all RIRs

• For carriage of joint RIR activities– Technical coordination and services

• DNS, ERX, whois, 6to4, IPv6 unique local addresses…

– RIR point of contact and representation– Global policy coordination– Negotiation/liaison with other bodies

• ICANN, IETF, UN/ITU/WSIS etc

• Independent of ICANN– Able to operate with or without ICANN– But intended to support and work with ICANN

Page 52: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

52

ASO

• Address Supporting Organisation– Established 1999, reformed 2004

• ICANN function, performed by NRO– Under MoU between NRO and ICANN– Provides global policy coordination structure

• Address Council (AC)– Global policy coordination according to the ASO

Policy Development Process (PDP)– Other roles: appointments, liaisons, etc

• Revised PDP– 15 step (max) process– NRO PDP suspended while ASO provides those

functions

Page 53: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

53

Summary

Page 54: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

54

IP address policy

• A global internet needs global policy– RIRs and NRO achieve this– 10+ years of successful experience

• Policy fragmentation – Internet fragmentation, loss of global routing

• IPv4 has a long history– Result of early allocations is unfair distribution– RIRs have ensured that current allocation policies

are fair to all

• IPv6 is being managed better from the start– RIR system is responsible and fair– Policy will continue to evolve with the Internet

Page 55: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

55

IPv6 – Internet for everything!

Page 56: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

56

IPv6 – Summary

• The good news…– IPv6 is available now– IPv6 addresses are very easy to obtain

• The not so good news…– Complexity: cost and learning curve– Demand? Do users want it? “Chicken and Egg”

• The reality: A long transition– “Changing engines mid-flight”– 10 years to complete?

• The critical message: Start now!

Page 57: 1 IPv6 Addressing and Address Management Paul Wilson Director General APNIC

57

Thank You