Introduction to Routing Flashcards
What is the role of a router?
To enable communication between different networks or subnets, working at OSI Layer 3.
How do routers affect broadcast domains?
Routers separate broadcast domains.
What OSI layer does a switch operate at?
Layer 2 (Data Link Layer).
What OSI layer does a router operate at?
Layer 3 (Network Layer).
What’s the function of a Layer 3 switch?
Combines routing and switching—commonly used in SMB networks.
What should you assume if a device is called a ‘switch’?
Assume it’s Layer 2 unless routing is explicitly mentioned.
What happens when a device sends data to another subnet?
The default gateway/router handles the traffic and forwards it to the appropriate network.
Describe the Layer process of packet transmission between two networks.
Layer 2 → Router → Layer 3 → WAN → Router → Layer 2 → Destination
What are the key fields in a routing table?
- Prefix: Network address
- Next Hop: Next router’s IP
- Interface: Exit port
- Metric: Cost of route
What is the CIDR rule for routing decisions?
The longer the prefix, the more specific the route (e.g., /24 is more specific than /16).
What are the two main categories of routing protocols?
- IGP (Interior Gateway Protocol) – used within an AS
- EGP (Exterior Gateway Protocol) – used between ASes
Name common IGP protocols.
- RIP
- OSPF
- EIGRP
- IS-IS
What is the only EGP used on the internet?
BGP (Border Gateway Protocol)
What type of protocol is RIP and what is its metric?
Distance Vector; metric = hop count (max 15)
What type of protocol is OSPF and what is its metric?
Link State; metric = cost based on bandwidth
What is EIGRP classified as?
Hybrid; uses bandwidth and delay as metrics (Cisco proprietary)
What is BGP’s metric type?
Path Vector; uses AS Path
What does Administrative Distance (AD) measure in routing?
Trustworthiness of a route—lower AD = more trusted.
What are the AD values for common route types?
- Directly Connected: 0
- Static: 1
- EIGRP: 90
- OSPF: 110
- RIP: 120
- Unreachable: 255
What is the best metric for Hop Count?
Lower is better (RIP)
What is the best metric for Bandwidth?
Higher is better (OSPF, EIGRP)
What is the best metric for Delay?
Lower is better (EIGRP)
What is the best metric for Reliability?
Link stability (EIGRP)
What is NAT used for?
Translates private IPs to public IPs for internet access.