Home » IS-IS Routing Protocol: Design และ Configuration Guide
IS-IS Routing Protocol: Design และ Configuration Guide
IS-IS Routing Protocol: Design และ Configuration Guide
IS-IS (Intermediate System to Intermediate System) เป็น link-state routing protocol ที่ทำงานบน Layer 2 (ไม่ใช่ IP-based เหมือน OSPF) ใช้กันอย่างแพร่หลายใน service provider networks และ large-scale data centers IS-IS มีข้อดีคือ protocol-agnostic (รองรับทั้ง IPv4 และ IPv6 natively) และ scale ได้ดีกว่า OSPF ใน very large networks
แม้ OSPF จะเป็น IGP ที่นิยมใน enterprise แต่ service providers ส่วนใหญ่เลือก IS-IS เพราะ IS-IS ไม่ผูกกับ IP (run บน CLNS), extensible ด้วย TLVs (Type-Length-Value), convergence เร็ว และเป็น protocol ที่ใช้สำหรับ Segment Routing underlay ใน modern networks
IS-IS vs OSPF
| Feature |
IS-IS |
OSPF |
| Layer |
L2 (CLNS-based, protocol-independent) |
L3 (IP-based, runs over IP) |
| Address Family |
IPv4 + IPv6 natively (single topology) |
OSPFv2 (IPv4) + OSPFv3 (IPv6) แยก |
| Packet Transport |
Directly over L2 (no IP header) |
IP protocol 89 |
| Area Design |
L1 (intra-area) + L2 (inter-area) per router |
Area 0 backbone + non-backbone areas |
| Scalability |
สูงกว่า (TLV extensible, less overhead) |
ดี (แต่ area 0 bottleneck) |
| Extensibility |
TLV-based (เพิ่ม feature ง่าย) |
ต้อง new LSA types |
| SP Adoption |
สูงมาก (de facto สำหรับ SP) |
Enterprise มากกว่า |
| Segment Routing |
IS-IS preferred สำหรับ SR |
OSPF ก็ support แต่ IS-IS common กว่า |
IS-IS Terminology
| Term |
ความหมาย |
| IS (Intermediate System) |
Router |
| ES (End System) |
Host/endpoint |
| NET (Network Entity Title) |
IS-IS address ของ router (CLNS address) |
| System ID |
Unique identifier ของ router (6 bytes, มักใช้ loopback IP) |
| Area ID |
IS-IS area (variable length) |
| NSEL |
Network Selector (always 00 สำหรับ router) |
| LSP (Link State PDU) |
เหมือน OSPF LSA — carry topology information |
| CSNP |
Complete Sequence Number PDU (sync LSDB) |
| PSNP |
Partial Sequence Number PDU (request/acknowledge LSPs) |
| DIS (Designated IS) |
เหมือน OSPF DR — elected per broadcast network |
IS-IS Levels
| Level |
Function |
เปรียบเทียบ OSPF |
| Level 1 (L1) |
Intra-area routing (within area) |
เหมือน OSPF non-backbone area |
| Level 2 (L2) |
Inter-area routing (backbone) |
เหมือน OSPF area 0 |
| L1/L2 |
Router ที่อยู่ทั้ง L1 + L2 (default) |
เหมือน OSPF ABR |
| L1 only |
Router ที่อยู่ใน area เดียว |
เหมือน OSPF internal router |
| L2 only |
Backbone-only router |
เหมือน OSPF backbone router |
NET Address Format
| Field |
ตัวอย่าง |
ความหมาย |
| Area ID |
49.0001 |
Area 49.0001 (variable length) |
| System ID |
0100.0000.0001 |
Router ID (6 bytes) — จาก loopback 10.0.0.1 |
| NSEL |
00 |
Network Selector (always 00 = router) |
| Full NET |
49.0001.0100.0000.0001.00 |
Complete NET address |
IS-IS PDU Types
| PDU |
Function |
เทียบ OSPF |
| IIH (IS-IS Hello) |
Neighbor discovery + keepalive |
OSPF Hello |
| LSP (Link State PDU) |
Carry topology info (links, prefixes) |
OSPF LSA |
| CSNP |
Complete LSDB summary (sync) |
OSPF DBD |
| PSNP |
Request missing LSPs / Acknowledge |
OSPF LSR/LSAck |
TLV (Type-Length-Value)
| TLV |
Type |
ใช้สำหรับ |
| Area Addresses |
1 |
Area ID ของ router |
| IS Neighbors |
2 |
Adjacency information |
| IP Internal Reachability |
128 |
IPv4 prefixes (narrow metric) |
| Extended IP Reachability |
135 |
IPv4 prefixes (wide metric — ใช้อันนี้) |
| IPv6 Reachability |
236 |
IPv6 prefixes |
| Router Capability |
242 |
SR, Flex-Algo, etc. |
| Extended IS Reachability |
22 |
Neighbor info + wide metric + sub-TLVs (TE) |
IS-IS Design
| Design |
วิธีทำ |
ใช้เมื่อ |
| Flat L2-only |
ทุก router เป็น L2 only (single area) |
Small-medium networks, DC underlay |
| L1/L2 Hierarchical |
Core = L2, Access = L1, Border = L1/L2 |
Large SP networks |
| Multi-area L2 |
Multiple L2 areas (ผ่าน inter-area redistribution) |
Very large (rare) |
IS-IS for Segment Routing
| Feature |
รายละเอียด |
| Prefix SID |
Advertise ผ่าน IS-IS TLV 135 sub-TLV (Prefix-SID) |
| Adjacency SID |
Advertise ผ่าน IS-IS TLV 22 sub-TLV (Adj-SID) |
| SRGB |
Advertise ผ่าน Router Capability TLV (242) |
| Flex-Algo |
IS-IS extensions สำหรับ Flexible Algorithm |
| ทำไม IS-IS |
IS-IS TLV structure ง่ายต่อการเพิ่ม SR extensions |
Best Practices
| Practice |
รายละเอียด |
| Wide metrics |
ใช้ wide metrics เสมอ (metric-style wide) — 24-bit metric |
| L2-only for DC |
Data center underlay ใช้ L2-only flat design |
| Authentication |
MD5 authentication บน IS-IS interfaces |
| BFD |
Enable BFD สำหรับ sub-second failure detection |
| Passive interfaces |
Set loopback + server-facing interfaces เป็น passive |
| Overload bit |
Set overload bit เมื่อ maintenance (traffic ไม่ transit) |
| SPF timers |
Tune SPF timers สำหรับ fast convergence (initial 50ms, hold 200ms) |
ทิ้งท้าย: IS-IS = SP + DC IGP Standard
IS-IS = L2-based link-state IGP, protocol-independent TLV extensibility ทำให้รองรับ SR, IPv6, TE ง่าย L1 = intra-area, L2 = backbone (ต่างจาก OSPF area design) Flat L2-only สำหรับ DC, Hierarchical L1/L2 สำหรับ SP IS-IS + Segment Routing = modern network architecture
อ่านเพิ่มเติมเกี่ยวกับ Segment Routing SR-MPLS SRv6 และ OSPF Design ที่ siamlancard.com หรือจาก icafeforex.com และ siam2r.com