Routing Flashcards

1
Q

Routing Fundamentals

A

Traffic is routed to flow between subnets
Each subnet is its own broadcast domain

Routers are the layer 3 devices that separate broadcast domains, but multilayer switches are also used

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

Routing Decisions

A

Layer 3 to Layer 2 Mapping
Routers use ARP caches to map an IP to a given MAC

Make packet-forwarding decisions based upon their internal routing tables

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

Routing Tables

A

Table kept by the router to help determine which route entry is the best fit for the network

A route entry with the longest prefix is the most specific network
(10.1.1.0/24 is more specific than 10.0.0.0/8)

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

Sources of Routing Information

A

Directly Connected Routes
Learned by physical connection between routers

Static Routes
Manually configured by an admin
Default 0.0.0.0/0 is a special case
(If I don’t know where, then send out default static route)

Dynamic Routing Protocols
Learned by exchanging info between routers

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

Routing Loops: Split Horizon

A

Prevents a route learned on one interface from being advertised back out of that same interface

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

Routing Loops: Poison Reverse

A

Causes a route received on one interface to be advertised back out of that same interface with a metric considered to be too large

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

Routing Protocols (Interior/Exterior)

A

IGP (Interior Gateway Protocol)
Operate within an autonomous system

EGP (Exterior Gateway Protocol)
Operated between autonomous systems

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

Router Advertisement: Distance Vector

A

Sends full copy of routing table to its directly connected neighbors at regular intervals

Slow convergence time
(Time it takes for all routers to update their routing tables in response to a topology change)

Hold-down timers speeds up convergence
(Prevents updates for a specific period of time)

Uses hop count as a metric

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

Router Advertisement: Link State

A

Requires all routers to know about the paths that all other routers can reach in the network

Info is flooded throughout the link-state domain to ensure routers have synchronized info

Faster convergence time & uses cost or other factors as a metric

Each router constructs its own relative SPT (shortest-path tree) with itself as the root for all known routes in the network

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

RIP

A

Routing Information Protocol
IGP
Distance-vector protocol using hop count

15 max hops (16 = infinite)

Oldest dynamic routing protocol
Updates every 30 seconds

Easy to configure
Runs over UDP

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

OSPF

A

Open Shortest Path First
IGP
Link-state protocol using cost
Cost is based on link speed between routers

Supports VLSM

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

IS-IS

A

Intermediate System to Intermediate System
IGP
Link-state protocol using cost
Cost is based on link speed between routers

Just like OSPF, just not widely adopted

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

EIGRP

A

Enhanced Interior Gateway Routing Protocol
IGP
Advanced distance-vector protocol using bandwidth & delay making it a hybrid of distance-vector & link-state

Cisco-proprietary (Cisco-only networks)

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

BGP

A

Border Gateway Protocol
EGP
Path vector using the number of autonomous system hops instead of router hops

Widespread utilization
Runs the backbone of the internet

Does not converge quickly

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

Route Believability

A

If a network is using more than one routing protocol, how does it choose which one to use?

Some routing protocols are considered more believable than others, so routers use an index of believability called AD (administrative distance)

Lower the AD, the more believable

(Refer to chart on study guide)

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

Routing Metrics

A

If a routing protocol knows multiple paths, it determines the best path via metrics

Metrics = values assigned to a route
Calculated differently depending on protocol

Ex: hop count, bandwidth, reliability, delay, & more

17
Q

NAT

A

Network Address Translation
Used to conserve the limited IPv4 supply

Translates private IPs to public IPs for routing over public networks

18
Q

PAT

A

Port Address Translation
Utilizes port numbers instead of IPs for address translation

Many-to-one translation
Multiple private IPs share one public IP

Common in small networks

19
Q

DNAT

A

Dynamic NAT
IP addresses automatically assigned from a pool
Many-to-many translations

Once finished, puts IP address back in pool

20
Q

SNAT

A

Static NAT
IP addresses manually assigned
One-to-one translations

21
Q

NAT IP Address Types

A

Inside Local
Private IP referencing inside device

Inside Global
Public IP referencing inside device

Outside Local
Private IP referencing outside device

Outside Global
Public IP referencing outside device

Refer to video course for more detailed explanation

22
Q

Multicast Routing

A

Multicast sender sends traffic to a D Class IP, known as a multicast group

Goal: send traffic only to the devices that want it

Two protocols: IGMP, PIM

23
Q

IGMP

A

Internet Group Management Protocol
Used by clients & routers to let routers know which interfaces have multicast receivers

Used by clients to join a multicast group

IGMPv1 - Client requests to join group & is asked if they want to remain every 60 secs

IGMPv2 - Client can send leave message to exit group

IGMPv3 - Client can request multicast from only specific server.
SSM (Source Specific Multicast)
Allows multiple video streams into single multicast

24
Q

PIM

A

Protocol Independent Multicast
Routes multicast traffic between multicast-enabled routers
Multicast routing protocol forms a multicast distribution tree

25
Q

PIM-DM

A

PIM Dense Mode
Uses periodic flood & prune behavior to form optimal distribution tree
Causes a negative performance impact on network
Rarely used in modern networks

26
Q

PIM-SM

A

PIM Sparse Mode
Initially uses a shared distribution tree, which may be suboptimal

Eventually creates an optimal distribution tree through SPT switchover