Sub topic 17
IS-IS compared with OSPF
This chapter assumes you know how link-state flooding, the link-state database, and Dijkstra's algorithm work. It also assumes you know OSPF areas and designated routers. It first compares IS-IS with OSPF, then gives criteria for choosing between distance-vector and link-state protocols.
IS-IS compared with OSPF
IS-IS (Intermediate System to Intermediate System) is a link-state protocol like OSPF. Both use hello packets, flood advertisements, keep an identical database per area, and run Dijkstra's algorithm. The differences are in packaging and area design.
| Feature | OSPF | IS-IS |
|---|---|---|
| Transport | Runs over IP (protocol 89) | Runs directly over layer 2 |
| Router identity | 32-bit router ID | NSAP-style system ID |
| Area border | Inside a router (ABR) | On a link between routers |
| Hierarchy | Area 0 plus other areas | Level 1 (inside an area) and Level 2 (backbone) |
| Broadcast link leader | DR and BDR | One DIS, with no backup |
| Message format | Fixed fields, per-version | Extensible TLVs |
| Default metric | Based on bandwidth | 10 per interface, unless configured |
Because IS-IS does not depend on IP, one instance can carry IPv4 and IPv6 routes. OSPF needs OSPFv3 for IPv6. The TLV format also makes it easy to add new information. A link failure cannot break IS-IS adjacencies through IP misconfiguration, because IS-IS does not use IP to form them.
In practice, OSPF is common in enterprises and has wide vendor and staff familiarity. IS-IS is common in service-provider backbones, where its stability and extensibility matter more.
Choosing between distance-vector and link-state
Use these criteria:
- Size. RIP's maximum metric of 16 limits it to 15 hops. Link-state protocols scale to hundreds of routers with areas or levels.
- Convergence. Link-state floods changes at once and each router recomputes locally. Distance-vector waits for updates to propagate hop by hop and risks count to infinity.
- Resources. Link-state needs more memory and CPU for the database and SPF runs. Distance-vector is light.
- Complexity. RIP needs almost no design. OSPF and IS-IS need area planning and careful metrics.
- Metric. RIP counts hops only. Link-state protocols use configurable costs, so they can prefer faster links.
A small office with three routers can run RIP version 2. A campus with dozens of routers and mixed link speeds should run OSPF. A large provider backbone often picks IS-IS.
Exercise
Name two structural differences between OSPF and IS-IS, and say which one lets a single instance carry both IPv4 and IPv6 routes.
Show answer
OSPF runs over IP and places area borders inside routers (ABRs). IS-IS runs directly over layer 2 and places area borders on links. IS-IS carries IPv4 and IPv6 in one instance because its TLV format is extensible and it does not depend on IP.
Exercise
A network has 200 routers and links from 100 Mbps to 100 Gbps. Should it use RIP or a link-state protocol? Give two reasons.
Show answer
A link-state protocol. RIP's limit of 15 hops and its hop-count metric cannot represent link speeds, and its slow convergence risks loops. OSPF or IS-IS scale with areas and use cost-based metrics.