Introduction to Routing Flashcards

1
Q

What is the primary function of a router?

A

To route traffic between different networks.

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

How do routers differ from switches?

A

Routers (Layer 3) separate broadcast domains, while switches (Layer 2) maintain a single broadcast domain.

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

What are the three primary functions of routers?

A
  1. Route traffic between subnets.
  2. Route traffic between an internal and external network.
  3. Route traffic between two external networks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens when a packet needs to leave a LAN?

A

The packet is forwarded to the default gateway (a router).

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

What is a Layer 3 switch?

A

A device that performs both Layer 2 switching and Layer 3 routing.

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

How is a Layer 3 switch treated in an exam?

A

If performing routing, it is considered a router. If referred to only as a switch, it is considered a Layer 2 device.

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

Where are Layer 3 switches commonly used?

A

Small and medium businesses (SMBs) due to their dual functionality.

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

What does a routing table contain?

A
  1. A prefix (network address). 2. A destination network and next-hop router. 3. The exit interface. 4. The cost of the route.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the three sources of routing information?

A
  1. Directly connected routes. 2. Static routes (manually configured). 3. Dynamic routes (learned via protocols).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is CIDR notation used for in routing?

A

A higher CIDR notation (e.g., /24) shows ip address ranges and network size for routing

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

What are the two major categories of routing protocols?

A
  1. Interior Gateway Protocols (IGPs) – Used within an autonomous system.
  2. Exterior Gateway Protocols (EGPs) – Used between autonomous systems.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between Distance Vector and Link State protocols?

A

Distance Vector uses hop count (e.g., RIP). Link State uses link cost and bandwidth (e.g., OSPF).

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

What is the purpose of BGP?

A

BGP is an EGP used to route between autonomous systems, making it the backbone of the Internet.

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

What is Administrative Distance (AD)?

A

A measure of trustworthiness for a route, with lower AD values being more trusted.

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

Which route type has the lowest Administrative Distance (AD)?

A

Directly connected routes (AD = 0).

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

What metric does RIP use for route selection?

A

Hop count (fewer hops = better route).

17
Q

How does OSPF determine the best route?

A

By using cost based on bandwidth.

18
Q

Why is NAT used in networking?

A

To conserve IPv4 addresses by allowing multiple private devices to share a limited number of public IPs.

19
Q

What are the three types of NAT?

A
  1. Dynamic NAT (DNAT) – Assigns public IPs from a pool.
  2. Static NAT (SNAT) – Maps a private IP to a fixed public IP.
  3. Port Address Translation (PAT) – Multiple private IPs share a single public IP using ports.
20
Q

Which NAT method is most commonly used today?

A

Port Address Translation (PAT).

21
Q

What is the purpose of Routing Redundancy Protocols?

A

To ensure network reliability by automatically switching to a backup router if the primary router fails.

22
Q

What are the three main First Hop Redundancy Protocols (FHRP)?

A
  1. HSRP (Cisco Proprietary) – Active-standby. 2. VRRP (Open Standard) – Vendor-neutral. 3. GLBP (Cisco Proprietary) – Supports load balancing.
23
Q

What is the difference between HSRP and GLBP?

A

HSRP uses an active-standby model, while GLBP supports load balancing.

24
Q

What is the main advantage of Multicast Routing?

A

It reduces network congestion by sending data only to devices that request it.

25
Q

What are the two primary multicast protocols?

A
  1. IGMP – Manages host group membership. 2. PIM – Routes multicast traffic between routers.
26
Q

What are the two PIM modes?

A
  1. PIM Dense Mode (PIM-DM) – Floods traffic to all routers first, then prunes unnecessary paths. 2. PIM Sparse Mode (PIM-SM) – Builds multicast trees only where needed.
27
Q

What is GRE used for?

A

To encapsulate different network layer protocols inside a virtual tunnel.

28
Q

How does GRE differ from VPN?

A

GRE supports multiple network protocols but lacks encryption, while VPN (IPSec) encrypts traffic.

29
Q

How can GRE be secured?

A

By combining GRE with IPSec for encryption.

30
Q

Which protocol is used for routing on the internet?

A

Border Gateway Protocol (BGP).

31
Q

What is split horizon?

A

A technique that prevents routing loops by stopping routers from advertising a route back through the interface it was learned from.

32
Q

Which protocol uses cost as a routing metric?

33
Q

What is a static route?

A

A manually configured route used when no dynamic routing protocol is needed.

34
Q

What is the main disadvantage of RIP?

A

Slow convergence and a maximum hop count of 15, making it unsuitable for large networks.

35
Q

What does EIGRP use as its primary metric?

A

Bandwidth and delay.

36
Q

What does an ARP request do?

A

Resolves an IP address to a MAC address within a LAN.

37
Q

What is the main function of a default gateway?

A

To allow traffic to leave a local network and reach other networks.

38
Q

What is the role of the MAC address in networking?

A

It is used for Layer 2 communication within a local network.