IPv6 หรือ Internet Protocol Version 6 เป็น Internet Protocol รุ่นใหม่ที่ออกแบบมาเพื่อรองรับจำนวนอุปกรณ์เครือข่ายที่เพิ่มขึ้นอย่างมหาศาล และแก้ข้อจำกัดสำคัญของ IPv4 โดยเฉพาะปัญหาพื้นที่หมายเลข IP Address ที่มีจำกัด
สำหรับ Network Engineer การเรียน IPv6 ไม่ควรเริ่มจากการจำรูปแบบ Address เพียงอย่างเดียว แต่ควรเข้าใจตั้งแต่ 128-bit Address, Prefix, Global Unicast, Link-Local, Multicast, SLAAC, Neighbor Discovery Protocol และ ICMPv6 เพราะองค์ประกอบเหล่านี้เชื่อมโยงกันโดยตรงกับการทำงานของ IPv6 Network
บทความนี้จะวางพื้นฐาน IPv6 ตั้งแต่ระดับเริ่มต้น เพื่อเตรียมต่อยอดไปยัง IPv6 Routing, OSPFv3 และ IPv6 Security ในบทถัดไป
สารบัญ
- IPv6 คืออะไร?
- ทำไมต้องมี IPv6?
- IPv4 กับ IPv6 ต่างกันอย่างไร?
- โครงสร้าง IPv6 Address
- การย่อ IPv6 Address
- IPv6 Prefix คืออะไร?
- ประเภทของ IPv6 Address
- Global Unicast Address
- Link-Local Address
- Unique Local Address
- Multicast Address
- Anycast Address
- IPv6 มี Broadcast หรือไม่?
- Loopback และ Unspecified Address
- SLAAC คืออะไร?
- Router Advertisement คืออะไร?
- Neighbor Discovery Protocol
- ICMPv6 สำคัญอย่างไร?
- เปิดใช้งาน IPv6 บน Cisco
- Cisco IPv6 Basic Lab
- Dual Stack คืออะไร?
- IPv6 Subnetting
- IPv6 Security เบื้องต้น
- Verification Commands
- IPv6 Troubleshooting
- FAQ
- บทสรุป
ภาค 1: ทำความรู้จัก IPv6
IPv6 คืออะไร?
IPv6 (Internet Protocol Version 6) เป็น Network Layer Protocol ที่ใช้สำหรับกำหนด Address และส่ง Packet ระหว่างอุปกรณ์บน IP Network เช่นเดียวกับ IPv4
ความแตกต่างที่เห็นได้ชัดที่สุดคือขนาดของ Address
IPv4
32 bits
IPv6
128 bits
IPv4 มีพื้นที่ Address ประมาณ:
2^32
=
4,294,967,296 addresses
ส่วน IPv6 มีพื้นที่ Address:
2^128
=
ประมาณ 3.4 × 10^38 addresses
จำนวนดังกล่าวมีขนาดใหญ่มาก และช่วยลดข้อจำกัดด้าน Address Exhaustion ที่เกิดขึ้นกับ IPv4
ทำไมต้องมี IPv6?
เมื่อ Internet เติบโตขึ้น จำนวนอุปกรณ์ที่ต้องใช้ IP Address เพิ่มขึ้นอย่างต่อเนื่อง เช่น
- Computer
- Smartphone
- Server
- Cloud Infrastructure
- IoT Device
- Smart Home
- Industrial System
- Mobile Network
- Sensor
- Vehicle
IPv4 มี Address Space จำกัด จึงต้องพึ่งเทคนิคต่าง ๆ เช่น Private IPv4 และ NAT/PAT เพื่อช่วยประหยัด Public IPv4 Address
ตัวอย่าง IPv4 Network:
192.168.10.10
192.168.10.11
192.168.10.12
|
v
Router
|
NAT/PAT
|
v
Internet
IPv6 ถูกออกแบบให้มี Address Space ขนาดใหญ่กว่าอย่างมาก ทำให้สามารถออกแบบ End-to-End IP Connectivity โดยไม่ต้องพึ่ง NAT เพื่อแก้ปัญหา Address Shortage แบบเดียวกับ IPv4
IPv4 กับ IPv6 ต่างกันอย่างไร?
| หัวข้อ | IPv4 | IPv6 |
|---|---|---|
| Address Length | 32 bits | 128 bits |
| รูปแบบ | Decimal | Hexadecimal |
| ตัวอย่าง | 192.168.10.10 | 2001:db8:10::10 |
| Broadcast | มี | ไม่มี Broadcast Address |
| Multicast | รองรับ | มีบทบาทสำคัญมาก |
| ARP | ใช้ ARP | ใช้ NDP ผ่าน ICMPv6 |
| Auto Configuration | มักใช้ DHCP | รองรับ SLAAC และ DHCPv6 |
| NAT เพื่อประหยัด Address | พบได้ทั่วไป | โดยทั่วไปไม่จำเป็นเพื่อแก้ Address Shortage |
ภาค 2: โครงสร้าง IPv6 Address
IPv6 Address มีหน้าตาอย่างไร?
ตัวอย่าง:
2001:0db8:0000:0000:0000:0000:0000:0010
IPv6 Address มีขนาด:
128 bits
และเขียนด้วยเลขฐานสิบหก หรือ Hexadecimal
แบ่งออกเป็น 8 กลุ่ม กลุ่มละ 16 bits:
2001 : 0db8 : 0000 : 0000 : 0000 : 0000 : 0000 : 0010
16 16 16 16 16 16 16 16
bits bits bits bits bits bits bits bits
Total = 128 bits
แต่ละกลุ่มเรียกว่า
Hextet
และใช้เครื่องหมาย Colon
:
เป็นตัวคั่น
Hexadecimal คืออะไร?
เลขฐานสิบหกใช้ตัวเลข:
0 1 2 3 4 5 6 7 8 9 A B C D E F
ตัวอย่าง:
Hex A = Decimal 10
Hex B = Decimal 11
Hex C = Decimal 12
Hex D = Decimal 13
Hex E = Decimal 14
Hex F = Decimal 15
การย่อ IPv6 Address
IPv6 Address แบบเต็มอาจยาวมาก จึงมีกฎสำหรับย่อ Address ให้อ่านง่ายขึ้น
กฎที่ 1 — ตัด Leading Zero
จาก:
2001:0db8:0000:0001:0000:0000:0000:0010
สามารถเขียนเป็น:
2001:db8:0:1:0:0:0:10
เพราะ Zero ที่อยู่ด้านหน้า ของแต่ละ Hextet สามารถตัดออกได้
กฎที่ 2 — ใช้ :: แทนกลุ่มศูนย์ต่อเนื่อง
จาก:
2001:db8:0:0:0:0:0:10
สามารถย่อเป็น:
2001:db8::10
ตัวอย่างการย่อ IPv6
Full:
2001:0db8:0000:0000:0000:0000:0000:0001
Remove leading zeros:
2001:db8:0:0:0:0:0:1
Compress consecutive zeros:
2001:db8::1
IPv6 Prefix คืออะไร?
IPv6 ใช้ Prefix Length ในรูปแบบเดียวกับ CIDR
ตัวอย่าง:
2001:db8:10:1::/64
/64
หมายความว่า 64 bits แรก
เป็น Network Prefix
|--------- 64 bits ---------|--------- 64 bits ---------|
2001:0db8:0010:0001 : 0000:0000:0000:0000
Network Prefix Interface ID
สำหรับ IPv6 LAN ทั่วไป /64 เป็น Prefix ที่สำคัญมาก โดยเฉพาะ Network ที่ใช้ SLAAC
ภาค 3: ประเภทของ IPv6 Address
IPv6 Address หลัก ๆ มีอะไรบ้าง?
ประเภทที่ Network Engineer ควรรู้จักตั้งแต่พื้นฐาน ได้แก่:
- Global Unicast Address
- Link-Local Address
- Unique Local Address
- Multicast Address
- Anycast Address
- Loopback Address
- Unspecified Address
Global Unicast Address คืออะไร?
Global Unicast Address เป็น IPv6 Unicast Address ที่สามารถใช้สำหรับการ Routing ใน IPv6 Network และ Global Internet เมื่อมี Routing และ Policy ที่เหมาะสม
ตัวอย่าง Documentation Prefix:
2001:db8::/32
ตัวอย่าง LAN:
2001:db8:10:1::/64
Router:
2001:db8:10:1::1/64
Client:
2001:db8:10:1::100/64
Link-Local Address คืออะไร?
IPv6 Interface โดยทั่วไปมี Link-Local Address สำหรับการสื่อสารภายใน Local Link
Prefix:
FE80::/10
ตัวอย่าง:
fe80::1
Link-Local มีความสำคัญกับ IPv6 เพราะถูกใช้กับกระบวนการต่าง ๆ เช่น
- Neighbor Discovery
- Router Advertisement
- การสื่อสารภายใน Link
- Routing Protocol บางประเภท
- Next-Hop ของ IPv6 Route ในหลายสถานการณ์
ตัวอย่าง:
PC
|
| fe80::100
|
+---------------- Router
fe80::1
Link-Local ไม่ถูก Route ข้าม Router ตามปกติ
LAN A
fe80::/10
|
Router
|
X
|
LAN B
Link-Local ถูกออกแบบ สำหรับขอบเขตของ Link ไม่ใช่ Global Internet Routing
Unique Local Address คืออะไร?
Unique Local Address หรือ ULA ใช้ Prefix:
FC00::/7
ในทางปฏิบัติ Local Assignment มักพบในช่วง:
FD00::/8
ตัวอย่างเชิง Lab:
fd12:3456:789a:10::/64
ULA สามารถใช้สำหรับ Internal IPv6 Communication แต่ไม่ได้ถูกออกแบบให้ Route บน Public Internet โดยตรง
IPv6 Multicast Address
IPv6 Multicast ใช้ Prefix:
FF00::/8
Multicast มีบทบาทสำคัญมากใน IPv6 เพราะ IPv6 ไม่มี Broadcast Address แบบ IPv4
ตัวอย่างที่ควรรู้:
| IPv6 Multicast | ความหมาย |
|---|---|
ff02::1 |
All Nodes บน Local Link |
ff02::2 |
All Routers บน Local Link |
ตัวอย่าง:
IPv6 Router
|
| Multicast
v
ff02::1
All IPv6 Nodes
on the local link
IPv6 Anycast Address คืออะไร?
Anycast คือการกำหนด Unicast Address เดียวกัน ให้กับหลาย Interface หรือหลาย Node ตาม Architecture ที่ออกแบบ
Same Anycast Address
2001:db8::100
/ \
/ \
Server A Server B
Routing System จะพยายามส่ง Traffic ไปยัง Instance ที่เหมาะสม ตาม Routing Decision
Anycast ถูกใช้ในระบบขนาดใหญ่ เช่น Distributed Services และ Infrastructure บางประเภท
IPv6 มี Broadcast หรือไม่?
IPv6 ไม่มี Broadcast Address แบบที่ IPv4 ใช้
IPv4:
192.168.10.255
|
v
Broadcast
IPv6 ใช้:
Multicast
+
Neighbor Discovery
+
ICMPv6
เพื่อทำงานหลายอย่าง ที่ใน IPv4 อาจเกี่ยวข้องกับ Broadcast
Loopback และ Unspecified Address
IPv6 Loopback
::1/128
เทียบแนวคิดกับ IPv4:
IPv4
127.0.0.1
IPv6
::1
IPv6 Unspecified Address
::/128
หมายถึง Address ที่ยังไม่ได้ระบุ และสามารถพบในกระบวนการบางอย่าง ระหว่างการตั้งค่า IPv6
ภาค 4: SLAAC และ Router Advertisement
SLAAC คืออะไร?
SLAAC หรือ Stateless Address Autoconfiguration ช่วยให้ IPv6 Host สามารถสร้าง IPv6 Address จากข้อมูล Prefix ที่ได้รับจาก Router โดยไม่จำเป็นต้องพึ่ง DHCPv6 สำหรับ Address Assignment ในทุกกรณี
แนวคิด:
IPv6 Router
|
| Router Advertisement
| Prefix = 2001:db8:10:1::/64
v
Client
|
v
Generate IPv6 Address
Router Advertisement คืออะไร?
IPv6 Router สามารถส่ง Router Advertisement หรือ RA เพื่อประกาศข้อมูลสำคัญให้ Host บน Local Link
เช่น:
IPv6 Prefix
Prefix Length
Default Router Information
Autoconfiguration Flags
Other Neighbor Discovery Information
Flow แบบย่อ:
Router
|
| Router Advertisement
v
Client
|
+---- Learn Prefix
|
+---- Learn Router
|
+---- Configure IPv6
SLAAC กับ DHCPv6 ต่างกันอย่างไร?
| หัวข้อ | SLAAC | DHCPv6 |
|---|---|---|
| Address Configuration | Host สร้าง Address จาก Prefix Information | ขึ้นอยู่กับ Stateful/Stateless DHCPv6 Design |
| Router Advertisement | มีบทบาทหลัก | ยังมีความสำคัญต่อ Default Router Discovery |
| Central Address Assignment | ไม่ใช่ลักษณะหลัก | Stateful DHCPv6 สามารถจัดสรร Address จาก Server |
ภาค 5: Neighbor Discovery Protocol
NDP คืออะไร?
Neighbor Discovery Protocol หรือ NDP เป็นองค์ประกอบสำคัญของ IPv6 และทำงานผ่าน ICMPv6
NDP ทำหน้าที่หลายอย่าง เช่น:
- Neighbor Discovery
- Router Discovery
- Prefix Discovery
- Address Resolution
- Neighbor Reachability Detection
- Duplicate Address Detection
- Redirect
IPv6 ใช้อะไรแทน ARP?
ใน IPv4:
IP Address
|
v
ARP
|
v
MAC Address
ใน IPv6:
IPv6 Address
|
v
NDP
|
v
Neighbor Solicitation
Neighbor Advertisement
|
v
Layer 2 Address Information
ดังนั้น IPv6 ไม่ได้ใช้ ARP แต่ใช้ Neighbor Discovery ผ่าน ICMPv6
Neighbor Solicitation และ Neighbor Advertisement
ข้อความสำคัญสองประเภทคือ:
Neighbor Solicitation
NS
Neighbor Advertisement
NA
แนวคิด:
Host A
|
| Neighbor Solicitation
v
Host B
|
| Neighbor Advertisement
v
Host A
ใช้ในกระบวนการต่าง ๆ รวมถึงการค้นหา Neighbor และ Address Resolution
Duplicate Address Detection คืออะไร?
ก่อนใช้งาน IPv6 Address Node สามารถตรวจสอบว่า Address ดังกล่าวซ้ำกับ Node อื่น บน Link หรือไม่
New IPv6 Address
|
v
DAD Process
|
+---- No duplicate
| |
| v
| Address usable
|
+---- Duplicate detected
|
v
Conflict
กระบวนการนี้เรียกว่า Duplicate Address Detection หรือ DAD
ภาค 6: ICMPv6
ICMPv6 สำคัญอย่างไร?
ใน IPv6 ICMPv6 ไม่ได้มีไว้เพียง สำหรับ Ping หรือ Error Message
แต่เป็นส่วนสำคัญของ การทำงาน IPv6 หลายประเภท
ICMPv6
|
+---- Error Messages
|
+---- Echo Request / Reply
|
+---- Router Solicitation
|
+---- Router Advertisement
|
+---- Neighbor Solicitation
|
+---- Neighbor Advertisement
|
+---- Redirect
|
+---- Neighbor Discovery Functions
ภาค 7: เปิดใช้งาน IPv6 บน Cisco
เปิด IPv6 Routing
บน Cisco IOS/IOS XE ที่รองรับ:
ipv6 unicast-routing
Command นี้เปิดความสามารถ ในการ Forward IPv6 Packet ระหว่าง Interface
กำหนด Global IPv6 Address
interface GigabitEthernet0/0
description LAN
ipv6 address 2001:db8:10:1::1/64
no shutdown
กำหนด Link-Local Address เอง
interface GigabitEthernet0/0
ipv6 address fe80::1 link-local
การกำหนด Link-Local เอง ช่วยให้ Address อ่านง่าย และสะดวกต่อ Lab/Troubleshooting แต่ Production Design ควรมี Addressing Standard ที่ชัดเจน
ตรวจ IPv6 Interface
show ipv6 interface brief
ตัวอย่างผลเชิงแนวคิด:
GigabitEthernet0/0 [up/up]
FE80::1
2001:DB8:10:1::1
ภาค 8: Cisco IPv6 Basic Lab
Topology
PC-A R1 PC-B
| | |
| Gi0/0 Gi0/0|Gi0/1 Gi0/1
|-------------------R1-------------------|
| |
LAN-A LAN-B
2001:db8:10:1::/64 2001:db8:10:2::/64
Step 1 — เปิด IPv6 Routing
ipv6 unicast-routing
Step 2 — Configure LAN-A
interface GigabitEthernet0/0
description LAN-A
ipv6 address 2001:db8:10:1::1/64
ipv6 address fe80::1 link-local
no shutdown
Step 3 — Configure LAN-B
interface GigabitEthernet0/1
description LAN-B
ipv6 address 2001:db8:10:2::1/64
ipv6 address fe80::1 link-local
no shutdown
Step 4 — Configure PC-A
IPv6 Address:
2001:db8:10:1::10/64
Default Gateway:
fe80::1
Step 5 — Configure PC-B
IPv6 Address:
2001:db8:10:2::10/64
Default Gateway:
fe80::1
Step 6 — ทดสอบ Connectivity
จาก PC-A:
ping 2001:db8:10:1::1
จากนั้น:
ping 2001:db8:10:2::10
Flow:
PC-A
2001:db8:10:1::10
|
v
R1 Gi0/0
2001:db8:10:1::1
|
| IPv6 Routing
v
R1 Gi0/1
2001:db8:10:2::1
|
v
PC-B
2001:db8:10:2::10
ภาค 9: IPv4 และ IPv6 ทำงานร่วมกันอย่างไร?
Dual Stack คืออะไร?
Dual Stack คือการให้อุปกรณ์หรือ Network รองรับ IPv4 และ IPv6 พร้อมกัน
ตัวอย่าง:
Interface Gi0/0
IPv4
192.168.10.1/24
IPv6
2001:db8:10:1::1/64
Cisco Example:
interface GigabitEthernet0/0
ip address 192.168.10.1 255.255.255.0
ipv6 address 2001:db8:10:1::1/64
no shutdown
Client อาจมี:
IPv4
192.168.10.100
IPv6
2001:db8:10:1::100
Link-Local
fe80::xxxx
Dual Stack เป็นแนวทางสำคัญ สำหรับการเปลี่ยนผ่าน จาก IPv4 ไปสู่ IPv6 โดยไม่จำเป็นต้องปิด IPv4 ทั้งหมดในครั้งเดียว
ภาค 10: IPv6 Subnetting เบื้องต้น
IPv6 Subnetting ต่างจาก IPv4 อย่างไร?
ใน IPv4 เราคุ้นเคยกับ:
192.168.10.0/24
192.168.10.0/25
192.168.10.128/25
IPv6 มี Address Space
ขนาดใหญ่กว่ามาก
และ LAN ทั่วไปมักออกแบบด้วย
/64
สมมติองค์กรได้รับ:
2001:db8:1000::/48
สามารถแบ่งเป็น /64 เช่น:
VLAN 10
2001:db8:1000:10::/64
VLAN 20
2001:db8:1000:20::/64
VLAN 30
2001:db8:1000:30::/64
VLAN 40
2001:db8:1000:40::/64
ทำให้ Address Plan อ่านง่าย:
VLAN ID
|
v
Subnet ID
VLAN 10
2001:db8:1000:10::/64
VLAN 20
2001:db8:1000:20::/64
ภาค 11: IPv6 Security เบื้องต้น
IPv6 ต้องมี Security Policy แยกหรือไม่?
ต้องตรวจสอบให้ชัดเจน เพราะการเปิด IPv6 อาจทำให้ Network มี อีก Protocol Stack หนึ่ง ที่ต้องควบคุม
ตัวอย่าง:
IPv4 Firewall Policy
|
+---- IPv4 protected
IPv6 enabled
|
+---- IPv6 policy?
|
X
Possible security gap
Network Administrator จึงควรตรวจ:
- IPv6 ACL
- Firewall IPv6 Policy
- Router Advertisement
- Neighbor Discovery
- Rogue RA
- ICMPv6 Policy
- DNS AAAA Records
- Monitoring และ Logging
Rogue Router Advertisement
หากอุปกรณ์ที่ไม่ได้รับอนุญาต ส่ง Router Advertisement เข้ามาใน LAN:
Rogue Device
|
| Fake RA
v
Clients
|
v
Wrong Router / Prefix Information
อาจทำให้ Client ได้รับข้อมูล Network ที่ไม่ถูกต้อง หรือสร้าง Security Risk
ใน Enterprise Switch จึงมี Feature เช่น RA Guard บน Platform ที่รองรับ เพื่อช่วยควบคุม Router Advertisement บน Access Network
ภาค 12: IPv6 Verification Commands
ตรวจ IPv6 Interface
show ipv6 interface brief
ตรวจรายละเอียด IPv6 Interface
show ipv6 interface GigabitEthernet0/0
ตรวจ IPv6 Routing Table
show ipv6 route
ตรวจ IPv6 Neighbor Table
show ipv6 neighbors
คำสั่งนี้มีความสำคัญมาก เพราะใน IPv6 Neighbor Table มีบทบาท ที่เชื่อมโยงกับ NDP
ทดสอบ IPv6 Ping
ping 2001:db8:10:2::10
ทดสอบ IPv6 Traceroute
traceroute 2001:db8:10:2::10
Syntax ที่แน่นอน อาจแตกต่างตาม Platform และ Software Release
ภาค 13: IPv6 Troubleshooting
Troubleshooting Workflow
Physical
|
v
Interface UP?
|
v
IPv6 enabled?
|
v
IPv6 Address?
|
v
Prefix correct?
|
v
Link-Local?
|
v
Neighbor Discovery?
|
v
Default Router?
|
v
IPv6 Route?
|
v
ICMPv6 allowed?
|
v
Firewall / ACL?
|
v
DNS AAAA?
|
v
Application?
ปัญหา 1 — Interface Up แต่ Ping ไม่ได้
ตรวจ:
show ipv6 interface brief
ดู:
Interface State
Global IPv6 Address
Link-Local Address
Prefix
ปัญหา 2 — Ping ใน LAN ได้ แต่ข้าม Router ไม่ได้
ตรวจ:
ipv6 unicast-routing
จากนั้น:
show ipv6 route
Router ต้องมี Route ไปยัง Destination Network และ Return Route ต้องถูกต้องเช่นกัน
ปัญหา 3 — Client ไม่ได้รับ SLAAC Address
ตรวจ:
Router Interface
IPv6 Prefix
Router Advertisement
VLAN
Trunk
ICMPv6 Policy
RA Guard
การ Block ICMPv6 หรือ RA ผิดจุด สามารถทำให้ SLAAC ทำงานผิดปกติได้
ปัญหา 4 — IPv6 Address มี แต่เปิดเว็บไซต์ไม่ได้
อย่ารีบสรุปว่า IPv6 Routing เสีย
ตรวจตามลำดับ:
IPv6 Address
|
v
Default Router
|
v
IPv6 Route
|
v
Internet Reachability
|
v
DNS
|
v
AAAA Record
|
v
Firewall
|
v
Application
ปัญหา 5 — IPv4 ใช้งานได้ แต่ IPv6 ใช้งานไม่ได้
Dual Stack หมายถึง สอง Protocol Stack ที่ต้องตรวจแยกจากกัน
IPv4
|
+---- Address
+---- Route
+---- DNS
+---- Firewall
IPv6
|
+---- Address
+---- RA / NDP
+---- Route
+---- DNS
+---- Firewall
IPv4 ทำงานได้ จึงไม่ได้ยืนยันว่า IPv6 ถูก Configure อย่างถูกต้อง
ภาค 14: คำถามที่พบบ่อย
IPv6 มีกี่ Bit?
IPv6 มีขนาด 128 bits ขณะที่ IPv4 มีขนาด 32 bits
IPv6 ใช้ Subnet Mask แบบ 255.255.255.0 หรือไม่?
โดยทั่วไป IPv6 แสดง Network Prefix ด้วย Prefix Length เช่น:
2001:db8:10:1::/64
IPv6 มี Private IP หรือไม่?
IPv6 มี
Unique Local Address หรือ ULA
ใน Prefix FC00::/7
สำหรับการใช้งานที่ไม่ใช่
Public Internet Routing โดยตรง
แต่แนวคิดและพฤติกรรม
ไม่ควรถูกมองว่าเหมือน
RFC1918 IPv4 ทุกประการ
IPv6 มี Broadcast หรือไม่?
ไม่มี Broadcast Address แบบ IPv4 โดย IPv6 ใช้ Multicast และกลไกอื่น เช่น NDP แทนในหลายกรณี
IPv6 ใช้ ARP หรือไม่?
ไม่ใช้ ARP IPv6 ใช้ Neighbor Discovery Protocol ผ่าน ICMPv6 สำหรับกระบวนการที่เกี่ยวข้องกับ Neighbor และ Address Resolution
Link-Local Address ใช้ทำอะไร?
ใช้สำหรับการสื่อสารภายใน Local Link และเป็นองค์ประกอบสำคัญ ของ Neighbor Discovery, Router Discovery และ IPv6 Routing Operations หลายประเภท
IPv6 Link-Local ขึ้นต้นด้วยอะไร?
FE80::/10
Global IPv6 Address หมายความว่า Internet เข้าเครื่องได้ทันทีหรือไม่?
ไม่ การเข้าถึงยังขึ้นอยู่กับ Routing, Firewall, ACL, Security Policy และ Service ที่เปิดใช้งาน
IPv6 ยังต้องใช้ NAT หรือไม่?
IPv6 โดยทั่วไปไม่จำเป็นต้องใช้ NAT เพื่อแก้ปัญหา Address Exhaustion แบบ IPv4 แต่ NAT และ Translation Technology บางประเภทอาจยังถูกใช้ ใน Architecture เฉพาะ
SLAAC คือ DHCPv6 หรือไม่?
ไม่ใช่ SLAAC และ DHCPv6 เป็นคนละ Mechanism แม้สามารถถูกนำมาใช้ร่วมกัน ใน IPv6 Network Design ได้
IPv6 ใช้ Default Gateway เป็น Link-Local ได้หรือไม่?
ได้ IPv6 Host สามารถเรียนรู้ Default Router ผ่าน Router Advertisement และ Next-Hop มักเกี่ยวข้องกับ Link-Local Address ของ Router
สามารถใช้ IPv4 และ IPv6 พร้อมกันได้หรือไม่?
ได้ เรียกว่า Dual Stack
Application
|
+---- IPv4
|
+---- IPv6
ควรปิด ICMPv6 เพื่อเพิ่ม Security หรือไม่?
ไม่ควร Block ICMPv6 ทั้งหมดแบบเหมารวม เพราะ ICMPv6 เป็นส่วนหนึ่ง ของการทำงานพื้นฐานของ IPv6 ควรสร้าง Security Policy ตาม Message Type และ Requirement ที่จำเป็น
IPv6 ปลอดภัยกว่า IPv4 โดยอัตโนมัติหรือไม่?
ไม่ ความปลอดภัยขึ้นอยู่กับ Architecture, Configuration, Firewall, ACL, Endpoint Security, Monitoring และ Operational Practice ไม่ใช่เพียง Protocol Version
บทสรุป
IPv6 Fundamentals เป็นพื้นฐานสำคัญสำหรับ Network Engineer เพราะ IPv6 ไม่ใช่เพียง IPv4 ที่มี Address ยาวขึ้น แต่มี Mechanism หลายส่วน ที่แตกต่างออกไป
โครงสร้างพื้นฐานเริ่มจาก:
IPv6
|
+---- 128-bit Address
|
+---- Prefix
|
+---- Global Unicast
|
+---- Link-Local
|
+---- Unique Local
|
+---- Multicast
|
+---- Anycast
จากนั้นเชื่อมเข้าสู่:
Router Advertisement
|
v
SLAAC
|
v
Neighbor Discovery
|
v
ICMPv6
|
v
IPv6 Routing
สิ่งสำคัญที่ควรจำคือ:
IPv6 = 128 bits
Typical LAN Prefix = /64
Link-Local = FE80::/10
Multicast = FF00::/8
Loopback = ::1
Unspecified = ::
No IPv4-style Broadcast
No ARP
NDP uses ICMPv6
SLAAC uses Router Advertisement
IPv6 still needs security controls
สำหรับ Network Engineer การเข้าใจ Link-Local, NDP และ ICMPv6 มีความสำคัญมาก เพราะ Protocol และกระบวนการ IPv6 หลายส่วนพึ่งพากลไกเหล่านี้
เมื่อพื้นฐาน IPv6 ชัดเจนแล้ว ขั้นต่อไปคือการเรียนรู้ว่า Router เลือกเส้นทาง IPv6 อย่างไร และเราจะ Configure Static Route และ Dynamic Routing บน Cisco ได้อย่างไร
บทความถัดไป: IPv6 Routing บน Cisco: Static Route, Default Route และ OSPFv3
Share your thoughts here
Join the conversation and share your perspective on this article.