Instructor: Reza Farashahi | School of Tech — NZSE
Q1: At which OSI layer does a router operate?
Q2: What do routers use to make forwarding decisions?
192.168.1.1/24)
S 192.168.0.0/24 [1/0] via 200.100.100.254200.100.100.1/24) toward Router 2
C 192.168.0.0/24 is directly connected, FastEthernet0/0
🔁 MAC addresses rewritten at every router hop • ✔ IP addresses remain constant end-to-end
Q1: What is a default gateway used for?
Q2: In the routing table, what does C stand for?
Q3: Why does Router 1 not need to know the full path to PC2?
Routing can be broken into two primary categories:
ip route 192.168.0.0 255.255.255.0 200.100.100.254
There are three types of dynamic routing protocols:
Q1: A network admin manually types ip route commands on every router. Which type of routing is this?
Q2: Which scenario is best suited for static routing?
Q3: Which routing type automatically updates the routing table when a network link fails?
Q1: Which protocol is used to route traffic between different ISPs on the Internet?
Q2: A company’s internal network uses OSPF to share routes between its routers. What category does OSPF fall into?
There are three types of IGPs:
Q1: Which protocol has a maximum hop count of 15?
Q2: Which protocol is Cisco proprietary and uses bandwidth, delay, reliability, and load as its composite metric?
Q3: OSPF sends a “hello” packet to its neighbours. What is the primary purpose of these hello packets?
Routing tables contain three categories of routes:
Networks physically attached to a router’s interface. Added automatically when an interface is configured with an IP and is up.
C 192.168.1.0/24 is directly connected, Fa0/0
Networks not directly attached — reached via another router. Added via static routes or dynamic routing protocols.
S 192.168.0.0/24 [1/0] via 200.100.100.254
Used when no other match is found in the routing table. Acts as the “catch-all” or gateway of last resort. Represented as 0.0.0.0/0 (IPv4) or ::/0 (IPv6).
Every entry in a routing table includes at minimum:
| Type | Network / Mask | Interface | Metric | Meaning |
|---|---|---|---|---|
| C Connected | 192.168.1.0/24 | FastEthernet0/0 | 0 | LAN port is directly plugged in — no routing needed |
| C Connected | 200.100.100.0/24 | Serial0/0 | 0 | Serial WAN link is active and directly connected |
| S Static | 192.168.0.0/24 | Serial0/0 | 1 | Admin manually told the router: send this network out Serial0/0 |
| S* Default | 0.0.0.0/0 | Serial0/0 | 1 | Catch-all — used when no other route matches (gateway of last resort) |
0.0.0.0/0) is used.
| Route Source | Default AD | Trustworthiness |
|---|---|---|
| Connected Interface | 0 | 🟢 Highest |
| Static Route | 1 | 🟢 Very High |
| EIGRP | 90 | 🟢 High |
| OSPF | 110 | 🟡 Medium |
| RIP | 170 | 🔴 Lower |
| Unknown / Untrustworthy | 255 | 🔴 Never used |
Q1: A router receives two routes to 10.0.0.0/8 — one via OSPF and one via RIP. Which will it prefer?
Q2: What does an Administrative Distance of 255 mean?
Q3: Type the AD value for a directly connected interface:
0.0.0.0/0::/0ip route 0.0.0.0 0.0.0.0 [next-hop-IP]
Q1: Which routing protocol has an unlimited hop count and uses “cost” as its metric?
Q2: A packet arrives at a router and no route matches the destination IP. What happens?
Q3: Match the AD value — type the AD for EIGRP:
🔌 Routers
Layer 3 devices that connect networks using IP addresses and routing tables
✍ Static vs. Dynamic
Manual vs. automatic route learning — each has trade-offs
🌐 IGP vs EGP
RIP/OSPF/EIGRP within an AS — BGP between AS boundaries
📋 AD & Default Route
AD = route trustworthiness (lower = better). Default = 0.0.0.0/0
NZSE — School of Tech | www.nzse.ac.nz