Switches and routers Flashcards

1
Q

What is a multi-homed machine in networking?

A

A device with multiple network interfaces, such as a router, used to connect various networks.

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

What is the role of Layer 1 (Physical) devices like repeaters and hubs?

A

Repeater: Amplifies and corrects signal variations to extend network distances.
Hub: Duplicates signals to multiple ports, operating in a single collision domain.

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

How does a Layer 2 switch differ from a hub?

A

A switch forwards frames to specific ports using MAC addresses, creating individual collision domains for each port, reducing collisions.
A hub broadcasts signals to all ports, sharing a single collision domain.

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

What are the key hardware components of a router?

A

Input Buffers: Store incoming packets.
Routing Processor: Maintains routing tables and exchanges data.
Switching Fabric: Routes packets to the correct output buffers.
Output Buffers: Temporarily store packets before transmission.

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

What is the purpose of a router’s switching fabric?

A

To route packets efficiently from input to output buffers. Types include:

In-Memory Switching: Processes packets in memory.
Bus-Based Switching: Uses a shared bus for packet transfer.
Crossbar Switching: Provides redundant paths for packet forwarding.

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

What is Multi-Protocol Label Switching (MPLS)?

A

A method combining IP routing with virtual circuit benefits by assigning labels to packets for efficient forwarding, bypassing traditional IP lookup.

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

What are the key fields in an MPLS label header?

A

Label (20 bits): Guides packet routing.
Class of Service (3 bits): Defines quality of service.
Stack (1 bit): Indicates stacked labels.
Hop Limit (8 bits): Prevents infinite routing loops.

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

How does MPLS integrate with ATM networks?

A

LSRs (Label Switching Routers) use AAL to segment and forward MPLS-labeled packets.
ATM switches handle labeled packets as cells within the network.

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

What are techniques to optimize router performance?

A

Use ASICs (Application-Specific Integrated Circuits) for faster routing.
Employ efficient switching fabrics like bus-based or crossbar designs.
Parallelize routing functions to handle high traffic volumes.

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

What is the primary function of a router in networking?

A

Routers determine the best path for packets using IP addresses and connect different network types efficiently, managing multiple paths.

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