40
1 | © 2013 Infoblox Inc. All Rights Reserved. 1 | © 2015 Infoblox Inc. All Rights Reserved. Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist

Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

1 | © 2013 Infoblox Inc. All Rights Reserved. 1 | © 2015 Infoblox Inc. All Rights Reserved.

Managing the Network with the Right IPv6 Address

Plan

Tom Coffeen, IPv6 Evangelist

Page 2: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

2 | © 2013 Infoblox Inc. All Rights Reserved. 2 | © 2015 Infoblox Inc. All Rights Reserved.

• It helps them accurately gauge the size and type of

IPv6 allocation their organization needs

This helps ensure that their ultimate addressing plan retains

its scalability and flexibility, meeting the network growth and

change requirements in the years to come

• It requires a baseline of IPv6 knowledge and training

that will help facilitate other IPv6 adoption plan tasks

and IPv6 operations

WHY ENTERPRISE IT NEEDS AN IPv6

ADDRESSING PLAN

Page 3: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

3 | © 2013 Infoblox Inc. All Rights Reserved. 3 | © 2015 Infoblox Inc. All Rights Reserved.

SOME BASIC GUIDELINES FOR IPv6

ADDRESS PLANNING

Page 4: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

4 | © 2013 Infoblox Inc. All Rights Reserved. 4 | © 2015 Infoblox Inc. All Rights Reserved.

THERE IS NO PRACTICAL EQUIVALENT TO

IPv4 ADDRESS CONSERVATION IN IPv6

Page 5: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

5 | © 2013 Infoblox Inc. All Rights Reserved. 5 | © 2015 Infoblox Inc. All Rights Reserved.

Stars in the Milky Way:

IPv6 offers 5 quadrillion times more addresses than there are

estimated stars in the Universe…

(3.4x1038)

(6.8x1022) = 5.0x1015

(4.0x1011) · (1.7x1011)

Galaxies in the Universe:

= 6.8x1022

400 billion

170 billion

Page 6: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

6 | © 2013 Infoblox Inc. All Rights Reserved. 6 | © 2015 Infoblox Inc. All Rights Reserved.

/48 Bob’s ISP

Man, I

really beat

the rush!

Ohboyohboyohboy!

!! 281 trillion

Internets just for my

little ol’ enterprise!

THE EARLY ENTERPRISE IPv6 ADOPTER

Page 7: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

7 | © 2013 Infoblox Inc. All Rights Reserved. 7 | © 2015 Infoblox Inc. All Rights Reserved.

An uncontroversial fact: A /48 (281 trillion

Internets) is more than enough address

space for any enterprise

But then so is a /64 (4.3 billion Internets)…

Or a /80 (65K Internets)...

Or a /96 – an entire Internet just for your

enterprise!

Page 8: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

8 | © 2013 Infoblox Inc. All Rights Reserved. 8 | © 2015 Infoblox Inc. All Rights Reserved.

“The Unix philosophy basically involves giving

you enough rope to hang yourself. And then a

couple of feet more, just to be sure.”

-Anonymous

Page 9: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

9 | © 2013 Infoblox Inc. All Rights Reserved. 9 | © 2015 Infoblox Inc. All Rights Reserved.

If you’re used to “making do”

with 10.0.0.0/8 (let’s call that one

meter of rope).

A /48 gives you enough rope to

get to the moon…

…one billion times.

Page 10: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

10 | © 2013 Infoblox Inc. All Rights Reserved. 10 | © 2015 Infoblox Inc. All Rights Reserved.

IPv4 Thinking IPv6 Reality

Must alloate subnets by single

bits (see above)

Must not waste host addresses

IPv4 THINKING

The single biggest risk to an effective ipv6 addressing

plan

No host address conservation

required

Subnetting done 4 bits at a time

(i.e., “nibble boundaries”)

Must make do with initial

allocation size

An allocation large enough to fit

your best design is available

Page 11: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

11 | © 2013 Infoblox Inc. All Rights Reserved. 11 | © 2015 Infoblox Inc. All Rights Reserved.

OMG!OMG!OMG!OMG!OMG!OMG!OMG!OMG!OMG!OMG!OMG!OMG!O

MUST. NOT.

IP ADDRESSES!

WASTE.

Page 12: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

12 | © 2013 Infoblox Inc. All Rights Reserved. 12 | © 2015 Infoblox Inc. All Rights Reserved.

PARANOIA, THE…

Page 13: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

13 | © 2013 Infoblox Inc. All Rights Reserved. 13 | © 2015 Infoblox Inc. All Rights Reserved.

I see it but I don’t

believe it.

• /64 per interface

• /48 per site

• Nibble boundaries

Page 14: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

14 | © 2013 Infoblox Inc. All Rights Reserved. 14 | © 2015 Infoblox Inc. All Rights Reserved.

Aw crap. I didn’t

get a large enough

allocation…

Page 15: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

15 | © 2013 Infoblox Inc. All Rights Reserved. 15 | © 2015 Infoblox Inc. All Rights Reserved.

Please sir, I want

some more.

Enterprise administrators don’t

have a history of getting

addresses directly from RIRs.

Page 16: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

16 | © 2013 Infoblox Inc. All Rights Reserved. 16 | © 2015 Infoblox Inc. All Rights Reserved.

Also, not that you asked but I’m glad

you’ll be giving me a Provider

Independent allocation. I got a Provider

Assigned allocation from my ISP but I

really don’t want to have to renumber

when I switch ISPs (or have to use an

ugly hack like ULA with IPv6 NPT).

And I’ll take some more cold gruel while

you’re at it…

Page 17: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

17 | © 2013 Infoblox Inc. All Rights Reserved. 17 | © 2015 Infoblox Inc. All Rights Reserved.

• /24 or 255.255.255.0 = 254 host addresses (75% utilization)

• Assuming you can consistently use /24s, operationally efficient:

• provides a tidy boundary for ACLs and routing summarization

• room for growth on the segment

190 hosts

IPv4 INTERFACE ASSIGNMENT

Page 18: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

18 | © 2013 Infoblox Inc. All Rights Reserved. 18 | © 2015 Infoblox Inc. All Rights Reserved.

8 hosts

30 hosts

119 hosts

/28 (255.255.255.240) = 14 host addresses (57% utilization)

Option 1:

/27 (255.255.255.228) = 30 host addresses (100% utilization)

Option 2:

/26 (255.255.255.192) = 62 host addresses (48% utilization)

Option 1:

/25 (255.255.255.128) = 126 host addresses (94% utilization)

Option 2:

/24 (255.255.255.0) = 254 host addresses (47% utilization)

IPv4 INTERFACE ASSIGNMENT

Page 19: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

19 | © 2013 Infoblox Inc. All Rights Reserved. 19 | © 2015 Infoblox Inc. All Rights Reserved.

/64

E.g., 2001:db8:2112:3::/64

/64

E.g., 2001:db8:2112:2::/64

/64

E.g., 2001:db8:2112:1::/64 8 hosts

2000 hosts

<1.8x1019 hosts

IPv6 INTERFACE ASSIGNMENT

Page 20: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

20 | © 2013 Infoblox Inc. All Rights Reserved. 20 | © 2015 Infoblox Inc. All Rights Reserved.

THE LIMITATIONS OF IPv4 ADDRESS PLANNING (AND HOW IPv6 HELPS)

There are never enough addresses with IPv4

This makes a consistent address plan more difficult to

accomplish

IPv4 doesn’t easily permit mapping hierarchy and network

structure into address plan while also providing for sufficient

host addressing

IPv6, however, provides unlimited host addresses and

sufficient bits to accommodate representing network structure

Page 21: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

21 | © 2013 Infoblox Inc. All Rights Reserved. 21 | © 2015 Infoblox Inc. All Rights Reserved.

DO NOT ATTEMPT TO

MAP YOUR EXISTING

IPv4 ADDRESS PLAN

INTO YOUR NEW IPv6

ADDRESS PLAN!

Page 22: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

22 | © 2013 Infoblox Inc. All Rights Reserved. 22 | © 2015 Infoblox Inc. All Rights Reserved.

A PROPER IPv6 ADDRESS PLAN

REQUIRES A SUFFICIENTLY LARGE IPv6

ALLOCATION

Page 23: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

23 | © 2013 Infoblox Inc. All Rights Reserved. 23 | © 2015 Infoblox Inc. All Rights Reserved.

HOW BIG SHOULD MY ORGANIZATIONAL

IPv6 ALLOCATION BE?

Most enterprises receive a /32 to a /44

A /48 is assigned per site within the organization

Page 24: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

24 | © 2013 Infoblox Inc. All Rights Reserved. 24 | © 2015 Infoblox Inc. All Rights Reserved.

THE 3 MOST IMPORTANT IPv6 SUBNET

SIZES

Organizational allocation

Site assignment

Interface subnets

Organization

Sites

Interfaces

Page 25: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

25 | © 2013 Infoblox Inc. All Rights Reserved. 25 | © 2015 Infoblox Inc. All Rights Reserved.

• Characteristics of sites in IPv6

Logical construct

Definition that makes operational sense - Based on network topology, routing and security policy, etc

- Based on what best maximizes operational efficiency

Often assigned a /48 - Sites can receive larger or smaller allocations depending on what makes operational sense

– Address conservation generally not a concern

Not enough /48s? Back to the RIR or ISP - RIRs hold contiguous bits in reserve

WHAT CONSTITUTES A SITE?

Page 26: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

26 | © 2013 Infoblox Inc. All Rights Reserved. 26 | © 2015 Infoblox Inc. All Rights Reserved.

IPv6 SITE ASSIGNMENT

Corporate HQ campus

Data center

Regional office

Home network

Laptop at the end of

an HE 6to4 tunnel

German fire truck

Page 27: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

27 | © 2013 Infoblox Inc. All Rights Reserved. 27 | © 2015 Infoblox Inc. All Rights Reserved.

WHAT TYPE OF IPv6 ALLOCATION

SHOULD I RECEIVE?

Provider Assigned (PA)

Assigned by an ISP

Best for single-homed

networks

Non-portable

Internet

ISP

ISP IPv6 Allocation:

2001:db8:1000:/36

Enterprise IPv6 Allocation (PA):

2001:db8:1100::/40

ACME

Corp

Good news, everyone!

We’ve decided to switch

to Creole Bob’s ISP and

Lawnmower Repair!

Um, yeah…

You’re gonna need

to renumber and

give us our IPv6

allocation back...

That’d be great...

Page 28: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

28 | © 2013 Infoblox Inc. All Rights Reserved. 28 | © 2015 Infoblox Inc. All Rights Reserved.

Internet

ISP B

Enterprise IPv6 Allocation (PI):

2001:db8:3000::/36

Provider Independent (PI)

Assigned by a RIR

Best for multihomed

networks

Portable

ISP A

ISP B IPv6 Allocation:

2001:db8:2000:/36

ISP A IPv6 Allocation:

2001:db8:1000:/36

ACME

Corp

WHAT TYPE OF IPv6 ALLOCATION

SHOULD I RECEIVE?

Page 29: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

29 | © 2013 Infoblox Inc. All Rights Reserved. 29 | © 2015 Infoblox Inc. All Rights Reserved.

IPv6 INTERFACE ASSIGNMENT

LO1

2001:db8:2112:3::1/128 WAN1

2001:db8:2112:2::2/64

WAN2

2001:db8:2112:2::3/64 LAN1

2001:db8:2112:1::1/64

LAN/VLAN Interfaces: /64

Point-to-point links: /64

Loopback interfaces: /128

Page 30: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

30 | © 2013 Infoblox Inc. All Rights Reserved. 30 | © 2015 Infoblox Inc. All Rights Reserved.

SUBNETTING IN IPV6 SHOULD BE DONE

ON NIBBLE BOUNDARIES

Page 31: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

31 | © 2013 Infoblox Inc. All Rights Reserved. 31 | © 2015 Infoblox Inc. All Rights Reserved.

Prefix Subnet groups

per /32

/48 subnets

per group

/32 1 65,536

/36 16 4,096

/40 256 256

/44 4,096 16

/48 65,536 1

NIBBLE BOUNDARIES IN IPv6

(ORGANIZATIONAL ALLOCATION)

Page 32: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

32 | © 2013 Infoblox Inc. All Rights Reserved. 32 | © 2015 Infoblox Inc. All Rights Reserved.

Prefix Subnet groups

per /48

/64 subnets

per group

/48 1 65,536

/52 16 4,096

/56 256 256

/60 4,096 16

/64 65,536 1

NIBBLE BOUNDARIES IN IPv6

(SITE ASSIGNMENT)

Page 33: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

33 | © 2013 Infoblox Inc. All Rights Reserved. 33 | © 2015 Infoblox Inc. All Rights Reserved.

NIBBLES MAKE PREFIXES MORE LEGIBLE

Subnet bits a multiple of 4

Prefix: 2001:db8:1::/48

Range: 2001:db8:1:0000:0000:0000:0000:0000

2001:db8:1:ffff:ffff:ffff:ffff:ffff

Subnet bits not a multiple of 4

Prefix: 2001:db8:1::/49

Range: 2001:db8:1:0000:0000:0000:0000:0000

2001:db8:1:7fff:ffff:ffff:ffff:ffff

2001:db8:1:8000:0000:0000:0000:0000

2001:db8:1:ffff:ffff:ffff:ffff:ffff

Page 34: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

34 | © 2013 Infoblox Inc. All Rights Reserved. 34 | © 2015 Infoblox Inc. All Rights Reserved.

MAPPING LOCATION OR FUNCTION INTO

IPv6 ADDRESS PREFIXES

2001:db8:1:LXXX::[/52 - /64] Location (16 sites)

2001:db8:1:[0-f]nnn::/52

Interface subnets (4096 per location)

2001:db8:1:n[0-f][0-f][0-f]::/64

Prefix Assignment

2001:db8:1:0000::/52 Reserved

2001:db8:1:1000::/52 Building 1

2001:db8:1:2000::/52 Building 2

… …

2001:db8:1:f000::/52 [Location 16]

Prefix Assignment

2001:db8:1:1000::/64 Reserved

2001:db8:1:1001::/64 VLAN1

2001:db8:1:1002::/64 VLAN2

… …

2001:db8:1:1fff::/64 [Subnet 4096]

Page 35: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

35 | © 2013 Infoblox Inc. All Rights Reserved. 35 | © 2015 Infoblox Inc. All Rights Reserved.

MAPPING LOCATION OR FUNCTION INTO

IPv6 ADDRESS PREFIXES

Building 3…...................

VLAN1…......

VLAN2, etc...

2001:db8:1:3001::/64

2001:db8:1:3002::/64

2001:db8:1:3000::/52

Building 1…...................

VLAN1…......

VLAN2, etc...

2001:db8:1:1001::/64

2001:db8:1:1002::/64

2001:db8:1:1000::/52

Building 2…...................

VLAN1…......

VLAN2, etc...

2001:db8:1:2001::/64

2001:db8:1:2002::/64

2001:db8:1:2000::/52

Page 36: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

37 | © 2013 Infoblox Inc. All Rights Reserved. 37 | © 2015 Infoblox Inc. All Rights Reserved.

A SIMPLE PLAN

5 RIRs with IPv6 5 /32s (one per RIR)

Country and core of RIR are /36s

Core has core networks and external DMZs; /40s

Countries have sites: i.e., grouping of buildings or

single buildings at the same location; /40s

- Sites are /56s of /48s for applications; i.e., DHCP

client(s), customer/printing/etc. environments

- Applications are /48s and they contain /64s

(subnets)

Page 37: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

38 | © 2013 Infoblox Inc. All Rights Reserved. 38 | © 2015 Infoblox Inc. All Rights Reserved.

CHANGES

Current site allocation at /48

65K /64s per /48

IoT deployments

Too many gateways

IPv6 addressing for containers

Still relying largely on IPv4 and NAT

IETF Draft: Unique IPv6 Prefix Per Host

Conceived for IPv6-only wi-fi deployment

Homenet

/48 per CPE

Page 38: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

57 | © 2013 Infoblox Inc. All Rights Reserved. 57 | © 2015 Infoblox Inc. All Rights Reserved.

• For IT network architects,

engineers, and administrators

• Comprehensive overview and

current best-practices for

designing, deploying, and

maintaining an effective IPv6

addressing plan

IPv6 ADDRESS PLANNING, O’REILLY

Page 39: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

58 | © 2013 Infoblox Inc. All Rights Reserved. 58 | © 2015 Infoblox Inc. All Rights Reserved.

Questions?

[email protected]

• twitter: @ipv6tom

Page 40: Managing the Network with the Right IPv6 Address Plan · 2016-06-20 · Managing the Network with the Right IPv6 Address Plan Tom Coffeen, IPv6 Evangelist . ... IPv6 allocation their

Thanks to all our Sponsors