Routing Flashcards

1
Q

How is global information classified in a routing algorithm?

A

All routers have complete topology alongside the link cost info.

There’s also the presence of link state algorithms.

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

How is decentralized information classified in a routing algorithm?

A

The router knows physically connected neighbors and the link costs to those neighbors.

There is an iterative process of computation and the exchange of information with neighbors

There’s the presence of distance vector algorithms

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

What are the characteristics of a static routing algorithm?

A

This is hardly an algorithm. The network administrator establishes table mappings. These mappings do not change unless network admin alters them.

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

What are the characteristics of a dynamic routing algorithm?

A

Routes change more quickly due to periodic updates and also in response to link cost changes

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

Describe flooding

A

Flooding is a static algorithm that sends out every incoming packet on every outgoing line except the one it arrived on. It generates vast numbers of duplicate packets, an infinite number unless measures are taken to dampen the process.

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

What is a measure that can be used to reduce the number of duplicate packets during flooding?

A

A hop counter contained in the header of each packet and that is decremented at each hop. The packet is discarded when the counter reaches zero.

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

Is flooding practical?

A

It isn’t practical in many applications because of the large number of packets generated.

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

What are the applications of flooding?

A

Robust, for example military applications where large numbers of routers may be destroyed at any instance.

Broadcasting for example distributed database applications since you can update all of the databases concurrently.

It always chooses the shortest path since it chooses every possible path in parallel.

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

What is an advantage of using flooding?

A

No other algorithm can produce a shorter path

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

How do routing algorithms view the network?

A

The view them as a graph

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

What are the factors that affect routing?

A

Semi-dynamic topology (deal with link failures)
Dynamic load: congestion/delay
Policy

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

What is the internet?

A

A collection of Autonomous Systems. It is defined by control not geography

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

What are the two types of routing?

A

Intra Domain Routing
Inter Domain Routing

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

What are examples of intra domain routing?

A

Distance vector
Link State

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

What are examples of inter domain routing?

A

Path vector

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

What are characteristics of dynamic routing algorithms?

A

In the environment the links and routers are unreliable, and the traffic patterns can change rapidly.

The algorithms used are the distance vector algorithm and the link state algorithm both of these assume the router knows the address of each neighbor and cost of reaching each neighbor. The router gets to determine the global routing information by talking to its neighbors.

17
Q

What is the basic idea of the distance vector?

A

The node tells it neighbors its best idea of distance to every other node in the network. The node then receives these distance vectors and updates its notion of best path to each destination and the next hop for this destination.

It is distributed and adapts to traffic changes and link failures

18
Q

Why does the distance vector work?

A

Each node knows its true cost to its neighbors. This information is spread to its neighbors the first time it sends out its distance vector.
Each dissemination spreads the truth one hop and eventually it is incorporated into routing table everywhere in the network.

19
Q

What is the basic idea of the link state?

A

Each router must discover its neighbors and learn their network addresses.
Measure the delay or cost to each of its neighbors
Construct a packet telling all it has learned
Flood the router using link state packets
Compute the shortest path to every other router

20
Q

How is information distributed for the map?

A

Each node periodically makes up a short message, the link state packets. These identify the node which is producing it and identifies all the other nodes to which it is directly connected. Includes a sequence number which increases every time the source node makes up a new version of the message.

21
Q

What is the difference between distance vector routing protocols and link state routing protocols?

A

Distance vector are simple and efficient in small networks and require little if any management and do not scale well and have poor convergence. On the other hand link state routing protocols require more processing power and more memory, use flooding and are more scalable than simple distance vector protocols for use in large networks.

22
Q

What are examples of distance vector and link state protocols used in intra domain routing protocols?

A

Distance Vector - Routing Information Protocol (RIP)

Link State - Open Shortest Path First (OSPF)

23
Q

What are characteristics of Routing Information Protocol?

A

It is a distance vector routing protocol. The cost metric is hop count and its is useful for small subnets since it is easy to install.

24
Q

What are characteristics of Routing Information Protocol?

A

It is a link state routing protocol. It is more scalable and complex than RIP

25
Q

Characteristics of intra domain routing vs inter domain routing

A

Distance vector and link state are examples of intradomain and these can be used inside an autonomous system but not between autonomous systems. These two protocols are not suitable for interdomain routing mostly because of scalability. This made the need for another routing protocol called path vector routing.

26
Q

What are characteristics of inter domain routing?

A

It uses a class of distance vector protocols called path vector routing.

27
Q

What is the principle of path vector routing?

A

The speaker node acts on behalf of the entire autonomous system. It creates a routing table of the nodes in its system and advertises this table to speaker nodes in the neighboring autonomous systems. The speaker node advertises the path of the nodes in its autonomous system.

28
Q

What is an explanation of the border gateway protocol (BGP)?

A

It uses path vector routing where the distance vector is annotated with the entire path and with the policy attributes. It is guaranteed loop free

29
Q

What are the uses of multicast?

A

Any applications with multiple receivers
Live Video Distribution
Collaborative Groupware
e-Learning
Periodic Data Delivery - “Push” technology such as stock quotes
Server/Web-site replication
Reducing Network/Resource Overhead - this is more efficient to multicast rather than multiple unicasts

29
Q

What is Internet Group Management Protocol (IGMP)?

A

This is a communications protocol used by hosts and adjacent routers on IPv4 networks to establish multicast group memberships.

30
Q

What can IGMP be used for?

A

One to many networking applications such as online streaming and gaming since it allows for more efficient use of resources when supporting these types of applications.

31
Q

What network is IGMP used on?

A

Ipv4 networks

32
Q

What is Multicast Listener Discovery used for?

A

It is used for multicast management on IPv6 networks

33
Q

What is hierarchical routing used for?

A

It is used to solve the problem of large networks needing large routing tables to have more computation to find shortest paths and more bandwidth