32
IPv4 and IPv6 current situation Marco Hogewoning, trainer

IPv4 and IPv6 Current Situation

Embed Size (px)

DESCRIPTION

Presentation givent by Marco Hogewoning at Moving Ahead with IPv6 Networking Conference 2011.

Citation preview

Page 1: IPv4 and IPv6 Current Situation

IPv4 and IPv6current situation

Marco Hogewoning, trainer

Page 2: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

IPv4 addresses in the global pool

2

10%

20%

30%

40%

2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011

38%

36%

34%

32%

30%

26%

22%

17%

13%

9%

5%

0%

Page 3: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Reaching the next level

• The Internet has around 2 billion users

• They consumed 3.5 billion addresses

• Growing in all directions– More users join up

– More connections become ‘always on’

– More devices become ‘Internet aware’

• IPv4 can no longer sustain this growth

3

Page 4: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

IPv4 exhaustion phases

4

time

IANA pool exhausted

IPv4 still available. RIPE NCC continues

normal operation

Each of the 5 RIRs received

a /8

RIPE NCC reaches final /8

Final /8 policy triggered

RIPE NCC pool

exhausted

RIPE NCC can only distribute IPv6

now

Page 5: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Business as usual

• As long as there are IPv4 addresses left, the RIPE NCC will keep on distributing them, based on justified need

• Same allocation and assignment policies still apply (RIPE-530)

• Until the final /8 is reached

5

Page 6: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

“Run Out Fairly”

• Gradually reduced allocation and assignment periods

• Needs for “Entire Period” of up to... – 12 months (January 2010)

– 9 months (July 2010)

– 6 months (January 2011)

– 3 months (July 2011)

• 50% has to be used up by half-period

6

Page 7: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Final /8 policy

• Each LIR can get one /22 allocation– 1024 IPv4 addresses

– New and existing members

– As long as supplies will last

• You must meet the criteria for an (additional) allocation

• Only when you already have IPv6 addresses

7

Page 8: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Transfer of IPv4 allocations

• LIRs can transfer IPv4 address blocks:– To another LIR

– Only when the block is not in use

– Meets minimum allocation size (/21)

• Requests are evaluated by the RIPE NCC– Justified need

• Registered in the RIPE Database

8

Page 9: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

No changes yet

• Policy will only change when the RIPE NCC’s final /8 is reached

• Be aware of the shorter assignment period!

• And start deploying IPv6 now!

9

Page 10: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Other RIRs

• APNIC ran out on 14 April 2011, final /8 policy activated. Now allocating a maximum of /22

• ARIN plans for /28 - /24 when reaching final /8

• LACNIC policy is /22 for ISP, /24 for critical infrastructure

• AfriNIC has no specific final /8 policy

10

See http://www.nro.net/rir-comparative-policy-overview

Page 11: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

RIPE NCC Available Pool

11

http://www.ripe.net/internet-coordination/ipv4-exhaustion/ipv4-available-pool-graph

Page 12: IPv4 and IPv6 Current Situation

IPv4 vs IPv6

Page 13: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Address format

• IPv4 uses 32 bit addresses– ‘Dotted decimal’

– 0.0.0.0 - 255.255.255.255

• IPv6 uses 128 bit addresses– Hexadecimal notation, numbers between 0 and f

– Separated by colons

– ‘2001:980:3042:2:5a55:caff:fef6:bdbf’

• IPv4 and IPv6 are not compatible

13

Page 14: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Coexistence

• IPv4 and IPv6 can not talk to each other

• But they can exist together on the same network

• Known as ‘Dual stack’– Computer has both an IPv4 and IPv6 address

– Uses one of the two when communicating

– If IPv6 is available it usually has preference

14

Page 15: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

A perfect world

15

IPv4 IPv6you

Page 16: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

The plan (1995 - 2009)

• To have most computers and networks dual stacked before the IPv4 pool runs out

• Traffic would have switched to IPv6

• Smooth transition from IPv4 to IPv6

• This failed :(

16

Page 17: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

IPv6 deployment issues

• People are reluctant to change– If it isn’t broken...

• Changes cost money

• There wasn’t a business case– IPv4 run out was a long term problem

– It is a ‘hidden’ problem

• Equipment wasn’t available– Cause or side-effect ?

17

Page 18: IPv4 and IPv6 Current Situation

Alternatives

Page 19: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Extending the IPv4 pool

• Find unused addresses

• Use Network Address Translation (NAT)– Common technique in home environments

– Machines get a ‘private IP address’

– And share a single public IP for connections

• Do the same at the operator level– Customers will get a private IP

– Carrier Grade NAT/Large Scale NAT

19

Page 20: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Problems with NAT

• Does it really scale ?– How many users can share a single address ?

• Who is using address X ?– Who am I talking to ?

– Who to blame for abuse ?

• It doesn’t allow to offer services

• Some protocols will break

• It does not talk to IPv6!

20

Page 21: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Plan B

• Technical community is very active

• Countless protocols and proposals are around– 6in4

– 6to4

– 6RD

– TSP

– A+P

– 4RD

– ...etc

21

Page 22: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Transitioning techniques

• Most of them use ‘tunnels’– Put X in Y (IPv6 in IPv4)

• The end point has both protocols

• And the network in between doesn’t

• Requires assistance in the form of so called ‘tunnel servers’– ‘Bridge’ between the 2 worlds

– Unpacking and repacking the data

22

Page 23: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Tunnels

23

IPv4 IPv6Tunnelserver

Page 24: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Drawbacks of tunnels

• Still require (public) IPv4 addresses

• Most of them work one way (IPv4 -> IPv6)– IPv6 content ?

• Who owns the tunnel server ?– Does it come with some guarantee ?

– Can you trust them ?

– ‘man in the middle’

• Filtering prohibits tunnels

24

Page 25: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Translation (NAT64/NAT-PT)

• Alternative #3: translate IPv4 into IPv6

• Customer will only get one protocol

• Translator box sits in between– Talks to both IPv4 and IPv6

– Shares addresses

• Drawbacks– Who is who

– Can you trust the ‘man in the middle’

– Breaks DNSsec

25

Page 26: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

Dual stack where you can

• “The most customer friendly way of transitioning to IPv6”

• Long term solution

• IPv4 run out is everybody’s problem

• The key in solving it lies with those who already have IPv4 addresses

• Worst case scenario: split brain!

26

Page 27: IPv4 and IPv6 Current Situation

IPv6 statisticsMarco Hogewoning, trainer

Page 28: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

IPv6 RIPEness

28

• Rating system:– One star if the member has an IPv6 allocation

– Additional stars if:

- IPv6 Prefix is visible on the internet

- A route6 object is in the RIPE Database

- Reverse DNS is set up

– A list of all 4 star LIRs: http://ripeness.ripe.net/

Page 29: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

IPv6 RIPEness: 7819 LIRs

29

4 stars16%

3 stars11%

2 stars5%

1 star14%

No IPv654%

Page 30: IPv4 and IPv6 Current Situation

Marco Hogewoning, 17 November 2011

IPv6 RIPEness over time

30

0%

20%

40%

60%

80%

100%

09-2010 11-2010 01-2011 03-2011 05-2011 07-2011 09-2011 11-2011

No IPv6 1 star 2 star 3 star 4 star

Page 31: IPv4 and IPv6 Current Situation

Questions?

Page 32: IPv4 and IPv6 Current Situation

Fin

Ende

KpajKonec

Son

Fine

Pabaiga

Einde

Fim

Finis

Koniec

Lõpp

Kрай

SfârşitКонeц

KrajVége

Kiнець

Slutt

Loppu

Τέλος

Y Diwedd

Amaia Tmiem

Соңы

Endir

Slut

Liðugt

An Críoch

Fund

הסוף

ËnnFinvezh

The End!

Beigas