routing protocol Flashcards

1
Q

What is the primary function of a router, and how does it differ from a switch?

A

A router is a network device that connects multiple computer networks together and directs traffic between them. It determines the best path for data to travel from one network to another using routing protocols. Unlike a switch, which operates within a single network to forward frames based on MAC addresses, a router works at the network layer (Layer 3) to forward packets between different networks using IP addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the significance of routing protocols in networking.

A

Routing protocols are essential for enabling routers to dynamically share information about network topology, allowing them to determine the best path for data transmission. They facilitate network scalability, efficiency, and adaptability by ensuring that routers can make optimal forwarding decisions based on metrics like hop count, bandwidth, and delay.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Differentiate between Interior Gateway Protocols (IGPs) and Exterior Gateway Protocols (EGPs), providing examples of each.

A

IGPs are used within a single Autonomous System (AS) to facilitate communication between internal routers. Examples include:
RIP (Routing Information Protocol)
OSPF (Open Shortest Path First)
EIGRP (Enhanced Interior Gateway Routing Protocol)
EGPs are used between different Autonomous Systems to manage inter-network routing. The primary example is:
BGP (Border Gateway Protocol)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the role of metrics in routing protocols and list three commonly used metrics.

A

Metrics help routers determine the best path for forwarding packets by evaluating different criteria. Common metrics include:
Hop Count: Measures the number of routers a packet must pass through.
Bandwidth: Represents the amount of data that can be transmitted over a link.
Delay: Measures the time taken for a packet to travel from source to destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is convergence in routing, and why is it important?

A

Convergence occurs when all routers in a network have consistent and updated routing information. It is crucial for ensuring stable and efficient routing decisions, reducing downtime, and preventing routing loops.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do Distance Vector and Link State routing protocols differ in their operation? Provide examples of each.

A

Distance Vector Routing Protocols determine the best path based on distance (hop count) and direction. Each router periodically sends its routing table to neighbors. Example: RIP, IGRP.
Link State Routing Protocols build a complete map of the network by sharing information about directly connected links, allowing routers to compute the best path independently. Example: OSPF, IS-IS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Administrative Distance (AD), and how does it affect routing decisions?

A

Administrative Distance (AD) is a value assigned to different routing protocols to rank their trustworthiness. A lower AD value indicates a more reliable route. Routers prefer routes with the lowest AD when multiple routes to the same destination exist.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Compare and contrast RIP and OSPF in terms of their efficiency and scalability.

A

RIP (Routing Information Protocol)
Uses hop count as its metric (maximum of 15 hops).
Sends entire routing table updates periodically, consuming bandwidth.
Suitable for small networks but inefficient for large networks due to slow convergence.
OSPF (Open Shortest Path First)
Uses a link-state algorithm to build a complete topology of the network.
Only sends updates when changes occur, reducing bandwidth consumption.
Highly scalable and preferred for large, complex networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain how BGP differs from IGPs like RIP and OSPF.

A

BGP is an Exterior Gateway Protocol (EGP) used to route data between different Autonomous Systems (ASes) on the internet, whereas RIP and OSPF are Interior Gateway Protocols (IGPs) used within an AS. BGP determines routes based on various policies rather than just shortest path metrics and is essential for global internet routing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the key steps in configuring a Cisco router?

A

Answer: Configuring a Cisco router involves several steps:
Access the Router: Connect using a console cable and access the CLI.
Enter Global Configuration Mode: enable → configure terminal.
Assign IP Addresses: Configure interfaces using interface <interface_name> and ip address <IP> <subnet_mask>.
Enable Routing Protocols: Example:
router rip
network <network_address>
Set Administrative Distance (Optional): distance <value>.
Save Configuration: write memory or copy running-config startup-config.</value></network_address></subnet_mask></IP></interface_name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Distinguish between Privilege Mode and Global Configuration Mode on a Cisco Router.

A

Privilege Mode (enable mode): Allows access to show commands and troubleshooting but not configuration changes.
Global Configuration Mode (configure terminal): Enables modifications to the router’s settings, including interface configurations and routing protocols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the process of configuring a Cisco switch.

A

Access the switch via console.
Enter Privilege Mode: enable.
Enter Global Configuration Mode: configure terminal.
Assign VLANs and ports using interface commands.
Configure trunking if needed with switchport mode trunk.
Save settings using write memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why is OSPF preferred over RIP in large networks?

A

OSPF is preferred because it:
Uses a hierarchical structure (areas) to reduce routing table size.
Converges faster due to link-state advertisements.
Supports advanced features like authentication and load balancing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What problem does the Split Horizon rule solve in Distance Vector Routing Protocols?

A

The Split Horizon rule prevents routing loops by disallowing routers from advertising a route back to the interface it was learned from. This stops incorrect routing updates from being propagated in the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does EIGRP improve upon RIP and OSPF?

A

EIGRP combines the best features of Distance Vector and Link State protocols:
Uses the Diffusing Update Algorithm (DUAL) for fast convergence.
Supports unequal-cost load balancing.
Reduces overhead by sending updates only when topology changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly