CPE 426 Computer Networks Week 6 Chapter 24

  • Slides: 44
Download presentation
CPE 426 Computer Networks Week 6: Chapter 24: IPv 6

CPE 426 Computer Networks Week 6: Chapter 24: IPv 6

TOPICS n Chapter 24: IPv 6 n n Motivation Features Header Format Addressing

TOPICS n Chapter 24: IPv 6 n n Motivation Features Header Format Addressing

Ch. 24: 24. 8 IPv 6 Base Header Format

Ch. 24: 24. 8 IPv 6 Base Header Format

Ch. 24: 24. 10 Fragmentation, Reassembly and Path MTU

Ch. 24: 24. 10 Fragmentation, Reassembly and Path MTU

Ch. 24: 24. 12 IPv 6 Addressing

Ch. 24: 24. 12 IPv 6 Addressing

Ch. 24: 24. 13 IPv 6 Colon Hexadecimal Notation n การใช Dotted Decimal Notation

Ch. 24: 24. 13 IPv 6 Colon Hexadecimal Notation n การใช Dotted Decimal Notation สำหรบ 128 บต จะยาวเกนไป 105. 220. 136. 100. 255. 0. 0. 18. 128. 140. 10. 255 n ดงนนการเขยน IPv 6 Address จะใชเลขฐาน 16 กลมละ 16 บต คนดวย Colon n Colon Hexadecimal Notation 69 DC : 8864 : FFFF : 0 : 1280 : 8 C 0 A : FFFF

Unicast Address Type n Global Unicast Address n n n n Static Address, Stateless

Unicast Address Type n Global Unicast Address n n n n Static Address, Stateless Autoconfiguration, DHCP Assigned Tunneled Address Others Link Local Address (FE 80: : /10) Unique Local Address(FC 00: : /7) Loopback (: : 1) Unspecified (: : )

Multicast Address n n ใช Prefix FF 00: : /8 สามารถม Scope ของการทำ Multicast

Multicast Address n n ใช Prefix FF 00: : /8 สามารถม Scope ของการทำ Multicast ไดหลายรปแบบ โดยดจากสวนของ Bit ใน Multicast Group n n Link Local, Site, Global Scope ใช MLD (Multicast Listener Discovery) เทยบเทา IGMP ใน IPv 4

IPv 6 บน LAN n n n สามารถทำ Automatic Configuration ใช ICMPv 6 นำ

IPv 6 บน LAN n n n สามารถทำ Automatic Configuration ใช ICMPv 6 นำ Message โดยอาศยการทำ Multicast แบงเปน Stateless Address Autoconfiguration ไมใช DHCP n n Host สามารถกำหนด Address ใหแกตนเอง และ Stateful ใช DHCP 6

Stateless Address Auto configuration n n ฟงจาก Router Advertisement เพอทจะร Prefix / 64 ของ

Stateless Address Auto configuration n n ฟงจาก Router Advertisement เพอทจะร Prefix / 64 ของ Subnet ของตนเอง จากนนนำ Prefix ทได รวมกบ Interface Address ไดจาก MAC Address ในรป EUI 64

Example

Example

IPv 6 over IPv 4 Tunneling

IPv 6 over IPv 4 Tunneling

Dual Stack Host

Dual Stack Host

Window Implementation Dual IP Layer Architecture (Window Vista/2008) Dual Stack Architecture (Window XP, 2003)

Window Implementation Dual IP Layer Architecture (Window Vista/2008) Dual Stack Architecture (Window XP, 2003)

Automatic Tunneling n n n 4 in 6 · 6 in 4 · 6

Automatic Tunneling n n n 4 in 6 · 6 in 4 · 6 over 4 · DS Lite · 6 rd 6 to 4 · · ISATAP · NAT 64/ DNS 64 · Teredo · SIIT ทนยมม 2 แบบ: 6 to 4 และ Teredo ทงสอง Enable โดย Default ใน Window 7/Vista 6 to 4 (RFC 3056) n n n ใชมากทสด โดยใช Protocol 41 ทำการ Encapsulate IPv 6 ลงใน IPv 4 6 to 4 Host และ Network จะใช 2002: : /16 Prefix ตอผาน 6 to 4 Router, Host ถามเครองเดยวสามารถเปน 6 to 4 Router ได 6 to 4 Relay Router จะอยทขอบของ IPv 4 Network และเชอมกบ IPv 6 Network n n n Relay Router มกจะใช 6 to 4 Anycast Address 192. 88. 99. 1 และ 2002: C 058: 6301: : Site จะสราง /48 IPv 6 Prefix โดยนำ IPv 4 Address ของ 6 to 4 Router ไปตอกบ 2002: : /16 จากนนสงผาน Tunnel จาก 6 to 4 Router ไปยง 6 to 4 Relay

6 to 4 Tunneling

6 to 4 Tunneling

6 to 4 Tunneling n Example of a single computer acting as a 6

6 to 4 Tunneling n Example of a single computer acting as a 6 to 4 router. n n n Configure my IPv 6 address as (subnet 1, interface-id 1( n n IPv 4 address: 203. 0. 113. 5 (in hex: cb 00 71 05( 6 to 4 network prefix is: 2002: cb 00: 7105: : /48 (2002: : /16 + 32 bit IPv 4( My IPv 6 address: 2002: cb 00: 7105: 1: : 1 6 to 4 relay anycast IPv 4 address: 192. 88. 99. 1 6 to 4 relay anycast IPv 6 address: 2002: c 058: 6301: : To send a packet to 2001: db 8: ab: cd: : 3, the computer encapsulates the IPv 6 packet inside an IPv 4 packet that is sent to the 6 to 4 relay IPv 4 address: n n IPv 4 src = 203. 0. 113. 5 IPv 4 dst = 192. 88. 99. 1 IPv 6 src = 2002: cb 00: 7105: 1: : 1 IPv 6 dst = 2001: db 8: ab: cd: : 3

Toredo Diagram

Toredo Diagram

6 to 4 vs Teredo n n 6 to 4 ใช Prefix 2002: :

6 to 4 vs Teredo n n 6 to 4 ใช Prefix 2002: : /16 สวน Teredo ใช 2001: : /32 ทงสองวธใชการ Encapsulating IPv 6 โดย n n n 6 to 4 Encapsulate IPv 6 ลงใน Payload IPv 4 โดยตรง Teredo จะ Encapsulate IPv 6 ใน UDP ภายใน IPv 4 6 to 4 ใช Well Known anycast relay router (192. 88. 99. 0/24) สวน Teredo ไมไดกำหนด

ISATAP n เปนการทำ n n n Router หาไดจาก PRL; Potential Router List และทำ Unicast.

ISATAP n เปนการทำ n n n Router หาไดจาก PRL; Potential Router List และทำ Unicast. Only Autoconfiguration Intra-Site Automatic Tunnel Addressing Protocol บรรจ IPv 6 ลงใน IPv 4 Packet โดยตรง RFC 4214 ใชการสราง Address n n IPv 6 ใชสำหรบรบ -สง ขอมลระหวาง IPv 6 Host ผาน IPv 4 Network จะใช IPv 4 ในลกษณะทเปน Non-broadcast หรอ NBMA (ไมอาศย ICMP 6) ดงนน Neighbor Discovery ไมจำเปนตองใช n n Tunnel อกแบบหนงของ Link Local IPv 6 Address จาก IPv 4 FE 80: 0: 200: 5 efe + IPv 4 Address EX: Host 192. 0. 2. 143 จะม Link-Local IPv 6 Address เปน n n fe 80: 0: 200: 5 efe: 192. 0. 2. 143 หรอ fe 80: 0: 200: 5 efe: c 000: 28 f

ISATAP

ISATAP

End of Chapter 24 n Homework 5 (Week 6) Download n สงสปดาหหนา ตนชวโมง

End of Chapter 24 n Homework 5 (Week 6) Download n สงสปดาหหนา ตนชวโมง

END OF WEEK 6 n Week 7: n n UDP และ TCP Prepare for

END OF WEEK 6 n Week 7: n n UDP และ TCP Prepare for MT Exam 35% n หามใชเครองคดเลข