Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of...

69
Best Practice for IPv6 Implementation in Campus Network [email protected]

Transcript of Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of...

Page 1: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Best Practice forIPv6 Implementationin Campus Network

[email protected]

Page 2: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Campus Network Design• ทุกมหาวิทยาลัยที่เชื่อมต่อกับ UniNET จะได้รับหมายเลข IPv6

Address ที่มีขนาด Prefix เท่ากับ /48

• ทำ Routing กับเครือข่ายอื่นด้วย BGP4+ (ต้องมีหมายเลข AS Number)

• สามารถแบ่งเป็นเครือข่ายย่อยขนาดเล็กสุด (/64) ได้ทั้งหมดเท่ากับ 65,536 เครือข่าย (64 - 48 = 16 bit)

• สามารถแบ่งเป็นเครือข่ายย่อยๆสำหรับหน่วยงานต่างๆภายใน ด้วยเครือข่ายขนาด /52, /56 หรือ /60 ได้

Page 3: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Introduction

Page 4: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Basics• 128 bits in IPv6

• 32 bits in IPv4

Page 5: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Address Notation• 2001:0db8:003e:ef11:0000:0000:c100:004d

• 2001:0db8:003e:3f11:0:0:c100:004d

• 2001:db8:3e:ef11::c100:4d

Page 6: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Number of addresses (rounded off)• IPv4

- 4000000000

• IPv6- 300000000000000000000000000000000000000

Page 7: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Address Distribution/3

/12

IANA

RIR

LIR

End User

/32

/60 /48

Page 8: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Address Assignments• /64 (1 subnet)

• /60 (16 subnets)

• /56 (256 subnets)

• /52 (4096 subnets)

• /48 (65536 subnets)

Page 9: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Classless Inter-Domain Routing (CIDR)

Page 10: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Why use only multiples of 4?

Page 11: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

if /x is a multiple of 4

Page 12: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

if /x is NOT a multiple of 4

Page 13: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Only certain hex values possible

Page 14: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

“Easy” & “complicated” ranges• 2001:db8:7::/48

- 2001:db8:7:xxxx:xxxx:xxxx:xxxx:xxxx

• 2001:db8:7:8000::/50 - 2001:db8:7:8xxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:9xxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:axxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:bxxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:cxxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:dxxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:exxx:xxxx:xxxx:xxxx:xxxx - 2001:db8:7:fxxxx:xxxx:xxxx:xxxx:xxxx

Page 15: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv4 vs IPv6 (rounded off)

Page 16: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Addressing Plans

Page 17: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Why create an IPv6 addressing plan?• Easier implementation of security policies

• Efficient addressing plans are scalable

• More efficient route aggregation

Page 18: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Addressing plan example

Page 19: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Solution POP1

Page 20: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Solution POP2

Page 21: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Make an addressing plan (I)

• Number of hosts is irrelevant

• Multiple /48s per pop can be used - separate blocks for infrastructure and customers - document address needs for allocation criteria

• /64 for all subnets - auto configuration works - renumbering easier- less typo errors because of simplicity

Page 22: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Make an addressing plan (II)

• Routers:

• Give all routers the same size block

• Minimum: One /64 per interface

• Allow for more interfaces in future

• /56 or /52 typical for a router

Page 23: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Make an addressing plan (II)• Use one /64 block (per site) for loopbacks

- One /128 per device

Page 24: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

More On Addressing Plans for ISPs• For servers you want manual configuration

• Use port numbers for address

Page 25: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Point-to-Point Connections• Reserve a /64, assign a /112

Page 26: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Address Management• There are 65,536 /48s in a /32

• There are 65,536 /64s in a /48

• There are 16,777,216 /56s in a /32

http://bit.ly/116HCTg

Page 27: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 and IPv4 compatibility?• IPv6 is a different protocol from IPv4

• IPv6 hosts cannot talk to IPv4 hosts directly

• Tools like 6in4 and other transition mechanism let IPv6 hosts talk to each other - tunnelling- translation

Page 28: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

NAT64/DNS64• Single-Stack clients will only have IPv6

• Translator box will strip all headers and replace them with IPv4

• Requires some DNS “magic”- Capture responses and replace A with AAAA- Response is crafted based on target IPv4 address

• Usually implies address sharing on IPv4

Page 29: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

NAT64/DNS64

Page 30: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Drawback• Some applications don’t work on IPv6 only devices

- Spotify, Netflix, Skype

• Solution?- 464XLAT- makes IPv4-only applications work on IPv6-only device

Page 31: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

464XLAT• NAT64+Stateless IP translation on device

• on IPv6 only mobile devices - Install CLAT demon locally- 464XLAT gives the mobile dummy IPv4 address - IPv4 only application can use IPv4 interface - and works!- CLAT translates IPv4 to IPv6 locally - NAT64 for accessing IPv4 networks

Page 32: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Deployment?• T-Mobile US, Verizon

• Phones- Nexus S, Galaxy Nexus, Galaxy S, Galaxy Note, Verizon LTE

• Android- CLAT open source

• Android 4.3 - CLAT built in

Page 33: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

http://ngi-monitor.uni.net.th

Page 34: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure
Page 35: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure
Page 36: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure
Page 37: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure
Page 38: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Campus Network Design

Page 39: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Address Allocation• มหาวิทยาลัยแห่งหนึ่ง มี 4 วิทยาเขต

• กำหนดหมายเลข IPv6 Prefix ที่ได้รับจาก UniNET เป็น 2001:03C8:XXXX::/48 WXXXX = ลำดับของท่านที่ลงทะเบียนร่วมงาน WUNCA34

• แต่ละวิทยาเขต มี 3 คณะ และสำนักงานวิทยาเขต (เทียบเท่า 1 คณะ)

• แต่ละคณะ มี 5 ภาควิชา สำนักงานคณบดี (เทียบเท่า 1 ภาควิชา)

• แต่ละภาควิชา มีเครือข่ายย่อยไม่เกิน 10 เครือข่าย

Page 40: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

2001:03C8:XXXX::/48

CAMPUS 1

CAMPUS 4CAMPUS 3

CAMPUS 2

IPv6 Router

Page 41: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Address Allocation• ตัวอย่าง W0024 จะได้รับ Prefix เป็น

2001:03C8:0024::/48

• หมายเลข Address สำหรับเครือข่ายที่เล็กที่สุดคือ 2001:03C8:0024:WXYZ::/64

W = วิทยาเขต X = คณะ Y = ภาควิชา Z = เครือข่ายย่อยในภาควิชา

Page 42: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

W = วิทยาเขต• หมายเลข 0 สงวนไว้สำหรับเครื่องแม่ข่ายและระบบเครือข่ายหลักของมหาวิทยาลัย

• จัดสรรหมายเลขที่เหลือ โดยเว้นช่วงเผื่อการขยายเครือข่ายในอนาคต 2 = วิทยาเขต 1 4 = วิทยาเขต 2 6 = วิทยาเขต 3 8 = วิทยาเขต 4 A - F = วิทยาเขตอื่นๆในอนาคต

Page 43: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำแต่ละวิทยาเขต• วิทยาเขต 1

2001:03C8:0024:2000::/52

• วิทยาเขต 2 2001:03C8:0024:4000::/52

• วิทยาเขต 3 2001:03C8:0024:6000::/52

• วิทยาเขต 4 2001:03C8:0024:8000::/52

Page 44: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำแต่ละวิทยาเขต

CAMPUS 1

CAMPUS 4CAMPUS 3

CAMPUS 2

IPv6 Router

2001:03C8:0024:2000::/52 2001:03C8:0024:4000::/52

2001:03C8:0024:6000::/52 2001:03C8:0024:8000::/52

2001:03C8:0024:00BB:11::/112 2001:03C8:0024:00BB:21::/112

2001:03C8:0024:00BB:31::/112 2001:03C8:0024:00BB:41::/112

Page 45: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

X = คณะ• หมายเลข 0 สงวนไว้สำหรับเครื่องแม่ข่ายและระบบเครือข่ายหลักของวิทยาเขต

• จัดสรรหมายเลขที่เหลือ โดยเว้นช่วงเผื่อการขยายเครือข่ายในอนาคต 2 = สำนักงานวิทยาเขต 4 = คณะที่ 1 6 = คณะที่ 2 8 = คณะที่ 3 A - F = คณะอื่นๆในอนาคต

Page 46: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 1• สำนักงานวิทยาเขต

2001:03C8:0024:2200::/56

• คณะ 1 2001:03C8:0024:2400::/56

• คณะ 2 2001:03C8:0024:2600::/56

• คณะ 3 2001:03C8:0024:2800::/56

Page 47: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Faculty 1

CAMPUS OfficeCAMPUS Router

Faculty 3

Faculty 2

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 1

2001:03C8:0024:2200::/56

2001:03C8:0024:2400::/56

2001:03C8:0024:2600::/56

2001:03C8:0024:2800::/56

2001:03C8:0024:2200:BB::/112 2001:03C8:0024:2600:BB::/112

2001:03C8:0024:2400:BB::/112

2001:03C8:0024:2800:BB::/112

Page 48: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 2• สำนักงานวิทยาเขต

2001:03C8:0024:4200::/56

• คณะ 1 2001:03C8:0024:4400::/56

• คณะ 2 2001:03C8:0024:4600::/56

• คณะ 3 2001:03C8:0024:4800::/56

Page 49: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Faculty 1

CAMPUS OfficeCAMPUS Router

Faculty 3

Faculty 2

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 2

2001:03C8:0024:4200::/56

2001:03C8:0024:4400::/56

2001:03C8:0024:4600::/56

2001:03C8:0024:4800::/56

2001:03C8:0024:4200:BB::/112 2001:03C8:0024:4600:BB::/112

2001:03C8:0024:4400:BB::/112

2001:03C8:0024:4800:BB::/112

Page 50: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 3• สำนักงานวิทยาเขต

2001:03C8:0024:6200::/56

• คณะ 1 2001:03C8:0024:6400::/56

• คณะ 2 2001:03C8:0024:6600::/56

• คณะ 3 2001:03C8:0024:6800::/56

Page 51: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Faculty 1

CAMPUS OfficeCAMPUS Router

Faculty 3

Faculty 2

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 3

2001:03C8:0024:6200::/56

2001:03C8:0024:6400::/56

2001:03C8:0024:6600::/56

2001:03C8:0024:6800::/56

2001:03C8:0024:6200:BB::/112 2001:03C8:0024:6600:BB::/112

2001:03C8:0024:6400:BB::/112

2001:03C8:0024:6800:BB::/112

Page 52: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 4• สำนักงานวิทยาเขต

2001:03C8:0024:8200::/56

• คณะ 1 2001:03C8:0024:8400::/56

• คณะ 2 2001:03C8:0024:8600::/56

• คณะ 3 2001:03C8:0024:8800::/56

Page 53: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Faculty 1

CAMPUS OfficeCAMPUS Router

Faculty 3

Faculty 2

หมายเลขเครือข่ายประจำคณะในวิทยาเขต 4

2001:03C8:0024:8200::/56

2001:03C8:0024:8400::/56

2001:03C8:0024:8600::/56

2001:03C8:0024:8800::/56

2001:03C8:0024:8200:BB::/112 2001:03C8:0024:8600:BB::/112

2001:03C8:0024:8400:BB::/112

2001:03C8:0024:8800:BB::/112

Page 54: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Y = ภาควิชา• หมายเลข 0 สงวนไว้สำหรับเครื่องแม่ข่ายและระบบเครือข่ายหลักของคณะ

• จัดสรรหมายเลขที่เหลือ โดยเว้นช่วงเผื่อการขยายเครือข่ายในอนาคต 2 = สำนักงานคณบดี 4 = ภาควิชาที่ 1 6 = ภาควิชาที่ 2 8 = ภาควิชาที่ 3 A - F = ภาควิชาอื่นๆในอนาคต

Page 55: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำภาควิชาของคณะที่ 1 ในวิทยาเขต 1

• สำนักงานคณบดี 2001:03C8:0024:2420::/60

• ภาควิชาที่ 1 2001:03C8:0024:2440::/60

• ภาควิชาที่ 2 2001:03C8:0024:2460::/60

• ภาควิชาที่ 3 2001:03C8:0024:2480::/60

Page 56: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำภาควิชาของคณะที่ 1 ในวิทยาเขต 1

Department 1

Faculty OfficeFaculty Router

Department 3

Department 22001:03C8:0024:2420::/60

2001:03C8:0024:2440::/60

2001:03C8:0024:2460::/60

2001:03C8:0024:2480::/60

2001:03C8:0024:2420:BB::/112 2001:03C8:0024:2460:BB::/112

2001:03C8:0024:2440:BB::/112

2001:03C8:0024:2480:BB::/112

Page 57: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำภาควิชาของคณะที่ 2 ในวิทยาเขต 1

• สำนักงานคณบดี 2001:03C8:0024:2620::/60

• ภาควิชาที่ 1 2001:03C8:0024:2640::/60

• ภาควิชาที่ 2 2001:03C8:0024:2660::/60

• ภาควิชาที่ 3 2001:03C8:0024:2680::/60

Page 58: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำภาควิชาของคณะที่ 2 ในวิทยาเขต 1

Department 1

Faculty OfficeFaculty Router

Department 3

Department 22001:03C8:0024:2620::/60

2001:03C8:0024:2640::/60

2001:03C8:0024:2660::/60

2001:03C8:0024:2680::/60

2001:03C8:0024:2620:BB::/112 2001:03C8:0024:2660:BB::/112

2001:03C8:0024:2640:BB::/112

2001:03C8:0024:2680:BB::/112

Page 59: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำภาควิชาของคณะที่ 3 ในวิทยาเขต 1

• สำนักงานคณบดี 2001:03C8:0024:2820::/60

• ภาควิชาที่ 1 2001:03C8:0024:2840::/60

• ภาควิชาที่ 2 2001:03C8:0024:2860::/60

• ภาควิชาที่ 3 2001:03C8:0024:2880::/60

Page 60: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

หมายเลขเครือข่ายประจำภาควิชาของคณะที่ 3 ในวิทยาเขต 1

Department 1

Faculty OfficeFaculty Router

Department 3

Department 22001:03C8:0024:2820::/60

2001:03C8:0024:2840::/60

2001:03C8:0024:2860::/60

2001:03C8:0024:2880::/60

2001:03C8:0024:2820:BB::/112 2001:03C8:0024:2860:BB::/112

2001:03C8:0024:2840:BB::/112

2001:03C8:0024:2880:BB::/112

Page 61: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Z = เครือข่ายย่อย• หมายเลข 0 สงวนไว้สำหรับเครื่องแม่ข่ายและระบบเครือข่ายหลักของภาควิชา

• จัดสรรหมายเลขที่เหลือตั้งแต่ 1 - F ให้กับเครือข่ายต่างๆภายในภาควิชาได้ตามความต้องการ เช่น เครือข่ายย่อยที่ 1 ของภาควิชาที่ 1 ของคณะที่ 1 ในวิทยาเขตที่ 1 จะมีหมายเลขเครือข่ายเป็น

2001:03C8:0024:2441::/64

Page 62: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Area 0

Area 1 Area 2

Area 3 Area 4

Campus Network Routing with OSPF

Page 63: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Area 0

Area 1

Campus Network Routing with OSPF

Page 64: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Router>enableRouter#configure terminalRouter(config)#hostname Campus1RouterCampus1Router(config)#ipv6 unicast-routingCampus1Router(config)#ipv6 router ospf 1Campus1Router(config-rtr)#router-id 1.0.0.0Campus1Router(config)#interface s0/0/0Campus1Router(config-if)#description Link to InterCampusRouterCampus1Router(config-if)#ipv6 enableCampus1Router(config-if)#ipv6 address fe80::24:bb:11:2 link-localCampus1Router(config-if)#ipv6 address 2001:3c8:24:bb:11::2/112Campus1Router(config-if)#ipv6 ospf 1 area 0Campus1Router(coonfig-if)#no shutdownCampus1Router(coonfig-if)#end

IPv6 Configuration on Cisco Router

Page 65: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Campus1Router#show ipv6 interface briefFastEthernet0/0 [up/up] FE80::24:2200:BB:1 2001:3C8:24:2200:BB::1FastEthernet0/1 [up/up] FE80::24:2400:BB:1 2001:3C8:24:2400:BB::1Serial0/0/0 [up/up] FE80::24:BB:11:2 2001:3C8:24:BB:11::2FastEthernet1/0 [up/up] FE80::24:2600:BB:1 2001:3C8:24:2600:BB::1FastEthernet1/1 [up/up] FE80::24:2800:BB:1 2001:3C8:24:2800:BB::1Vlan1 [administratively down/down]

IPv6 Configuration on Cisco Router

Page 66: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

Campus1Router#show ipv6 route ospfIPv6 Routing Table - 69 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route, M - MIPv6 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 D - EIGRP, EX - EIGRP externalO 2001:3C8:24:BB:21::/112 [110/128] via FE80::24:BB:11:1, Serial0/0/0O 2001:3C8:24:BB:31::/112 [110/128] via FE80::24:BB:11:1, Serial0/0/0O 2001:3C8:24:2221::/64 [110/11] via FE80::24:2200:BB:2, FastEthernet0/0O 2001:3C8:24:2222::/64 [110/11] via FE80::24:2200:BB:2, FastEthernet0/0O 2001:3C8:24:2223::/64 [110/11] via FE80::24:2200:BB:2, FastEthernet0/0O 2001:3C8:24:2224::/64 [110/11] via FE80::24:2200:BB:2, FastEthernet0/0O 2001:3C8:24:2421::/64 [110/11] via FE80::24:2400:BB:2, FastEthernet0/1O 2001:3C8:24:2441::/64 [110/11] --More--

IPv6 Configuration on Cisco Router

Page 67: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

IPv6 Lab

Page 68: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure

2001:03C8:XXXX::/48

CAMPUS 1

CAMPUS 4CAMPUS 3

CAMPUS 2

IPv6 Router

Page 69: Best Practice for IPv6 Implementation in Campus NetworkMake an addressing plan (I) • Number of hosts is irrelevant • Multiple /48s per pop can be used - separate blocks for infrastructure