unicast routing protocols Flashcards

(77 cards)

1
Q

What does RIP stand for?

A

Routing Information Protocol

RIP is an intra-domain routing protocol used inside an autonomous system.

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

What type of routing does RIP use?

A

Distance vector routing

RIP implements distance vector routing directly with some considerations.

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

In RIP, what is the metric used to determine distance?

A

Hop count

The distance is defined as the number of links that must be traversed to reach the destination.

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

What is the maximum hop count allowed in RIP?

A

15 hops

Infinity is defined as 16 in RIP.

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

What does the next node column in a RIP routing table represent?

A

The address of the router to which the packet is to be sent

This is essential for reaching the destination network.

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

What are the two types of messages in RIP?

A

Request and Response

Requests are sent by routers that have just come up or have time-out entries.

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

What is a solicited response in RIP?

A

A response sent only in answer to a request

It contains information about the destination specified in the corresponding request.

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

What is the purpose of the expiration timer in RIP?

A

Governs the validity of a route

If no update is received within 180 seconds, the route is considered expired.

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

How long is the garbage collection timer in RIP set for?

A

120 seconds

This timer is set for a route after it becomes invalid before purging it from the table.

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

What is the main difference between RIP version 1 and version 2?

A

Classful versus classless addressing

RIPv1 uses classful addressing while RIPv2 supports classless addressing.

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

What is a link state packet (LSP)?

A

A packet created by each node containing the state of its links

LSPs carry information necessary for building the topology.

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

What algorithm does link state routing use to build a routing table?

A

Dijkstra algorithm

This algorithm is used to find the shortest path in the network.

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

What is the role of area border routers in OSPF?

A

Summarize information about the area and send it to other areas

They connect different areas within an autonomous system.

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

What is the backbone in OSPF?

A

A special area that connects all other areas in an autonomous system

It serves as the primary area for routing information.

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

What is the well-known port assigned to RIP in UDP?

A

Port 520

RIP messages are encapsulated in UDP user datagrams.

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

What is the purpose of the periodic timer in RIP?

A

Controls the sending of messages

This timer is set to a random number between 25 and 35 seconds.

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

What happens when a node receives an older LSP during flooding?

A

It discards the LSP

The node keeps the newer LSP and sends it out of its interfaces.

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

Fill in the blank: The metric used in RIP is called _______.

A

hop count

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

True or False: RIP version 2 includes authentication fields.

A

True

Version 2 includes authentication to protect against unauthorized advertisements.

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

What is the backbone in an autonomous system?

A

A special area inside an autonomous system where all other areas must be connected.

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

What is the area identification of the backbone?

A

Zero.

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

What are routers inside the backbone called?

A

Backbone routers.

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

What must be created if connectivity between a backbone and an area is broken?

A

A virtual link between routers.

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

What does OSPF allow administrators to assign to each route?

A

A cost, called metric.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What can the metric in OSPF be based on?
* Minimum delay * Maximum throughput
26
What is a link in OSPF terminology?
A connection.
27
Name the four types of links in OSPF.
* Point-to-Point Link * Transient Link * Stub Link * Network Link
28
What characterizes a point-to-point link?
Connects two routers without any other host or router in between.
29
What is a transient link in OSPF?
A network with several routers attached, where data can enter and leave through any router.
30
Why is a transient link described as neither efficient nor realistic?
Each router needs to advertise to multiple neighbors, resulting in excessive advertisements.
31
What is the role of a designated router in a transient link?
To represent the network and reduce neighbor announcements.
32
What is a stub link?
A network connected to only one router.
33
What does a virtual link do?
Connects two routers through a longer path when a direct link is broken.
34
What is the main packet type used in OSPF?
Link state update packet.
35
What does the common header of an OSPF packet define?
* Version * Type * Message length * Source router IP address * Area identification * Checksum * Authentication type * Authentication
36
What is the purpose of the link state update packet?
To advertise the states of a router's links.
37
What do LSAs in OSPF stand for?
Link State Advertisements.
38
What type of information does a router link LSA provide?
Information about all of its links and neighbors.
39
What is the role of a network link LSA?
To announce the existence of all routers connected to a network.
40
What does the summary link to network LSA do?
Announces the existence of other networks outside the area.
41
What must a router inside an area know to send a packet outside the autonomous system?
The route to an autonomous boundary router.
42
What is the function of the external link LSA?
To provide information about networks available outside the autonomous system.
43
What is the purpose of the hello message in OSPF?
To create neighborhood relationships and test reachability of neighbors.
44
What fields are included in the hello packet?
* Network mask * Hello interval * E flag * T flag * Priority * Dead interval * Designated router IP address * Backup designated router IP address * Neighbor IP address
45
What does the database description packet contain?
An outline of the database information.
46
What is the first step in link state routing?
Greeting neighbors with hello packets.
47
What does a newly connected router send after receiving a database description message?
One or more link state request packets ## Footnote This is to obtain full information about particular links.
48
What does the database description packet provide?
An outline of the database information ## Footnote It includes the title of each line in the database.
49
What roles do routers take when exchanging database description packets?
Master and Slave
50
What is the purpose of the E flag in OSPF packets?
Indicates if the advertising router is an autonomous boundary router
51
What does the B flag signify in OSPF packets?
Indicates if the advertising router is an area border router
52
What does the I flag represent in OSPF packets?
Initialization flag
53
What does the M flag indicate in OSPF packets?
More flag, indicating this is not the last message
54
What does the M/S flag denote in OSPF packets?
Indicates the origin of the packet: master or slave
55
What information does the message sequence number field contain in OSPF packets?
The sequence number of the message
56
What is the link state request packet used for?
To request information about specific routes
57
What is the acknowledgment packet's purpose in OSPF?
To acknowledge receipt of OSPF packets
58
True or False: OSPF packets are encapsulated in IP datagrams.
True
59
How many types of packets does OSPF use?
Five different types
60
What is path vector routing used for?
Interdomain routing
61
What does a router maintain in distance vector routing?
A list of networks reachable within the same AS with corresponding costs
62
What must each AS have to provide information to other ASs?
At least one path vector routing that collects reachability information
63
What are the three categories of autonomous systems?
* Stub * Multihomed * Transit
64
What defines a stub AS?
Has only one connection to another AS
65
What is the characteristic of a multihomed AS?
Has more than one connection to other ASs
66
What distinguishes a transit AS?
Allows transient traffic
67
What type of addresses does BGP use?
Classless interdomain routing addresses
68
What are the two broad categories of BGP path attributes?
* Well-known * Optional
69
What is a well-known mandatory attribute in BGP?
ORIGIN
70
What is the purpose of the AS_PATH attribute?
Defines the list of autonomous systems to reach the destination
71
What is the function of the NEXT-HOP attribute?
Defines the next router for packet forwarding
72
What are the two types of BGP sessions?
* External BGP (E-BGP) * Internal BGP (I-BGP)
73
What message is sent to establish a neighborhood relationship in BGP?
Open message
74
What does the keepalive message signify in BGP?
That the routers are still alive
75
What is the purpose of the update message in BGP?
To withdraw destinations, announce new routes, or both
76
What does the notification message in BGP indicate?
An error condition or a request to close the connection
77
True or False: BGP messages are encapsulated in TCP segments using port 179.
True