Network B - AI Flashcards

(40 cards)

1
Q

What are Wide Area Networks (WANs)?

A

Large networks that may span the globe

WANs have generalized topologies and require sophisticated techniques.

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

What do routing tables specify?

A

Next node in a route to a specified destination and the cost to get there

They do not normally specify the entire route.

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

What is a graph abstraction in networking?

A

A representation of nodes and edges, where N is the set of nodes/routers and E is the set of links/edges

Example: N = {u, v, w, x, y, z}; E = {(u,v), (u,x), (v,x), (v,w), (x,w), (x,y), (w,y), (w,z), (y,z)}.

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

What does cost in a graph represent?

A

Cost could be inversely related to bandwidth or congestion

Example: c(w,z) = 5.

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

What is the key question for routing algorithms?

A

What is the least-cost path between two nodes?

This determines the efficiency of data transmission.

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

How are routing algorithms classified based on information?

A

Global or decentralized information

Global: all routers have complete topology; Decentralized: routers know only their neighbors.

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

What is the difference between static and dynamic routing?

A

Static: routes change slowly; Dynamic: routes change more quickly in response to link cost changes.

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

What is centralized routing?

A

All interconnection information is generated and maintained at a single central station

The central station broadcasts routing information to all nodes.

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

What is distributed routing?

A

No central control; each node must determine and maintain routing information independently

More complex than centralized due to limited knowledge of the entire network.

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

What is the Bellman-Ford Algorithm used for?

A

It finds shortest paths from a source node to all other nodes in a graph

Initialization sets distance to itself as 0 and others as infinity.

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

What are the steps in the Bellman-Ford Algorithm?

A
  • Initialization
  • Relaxation
  • Termination

The algorithm typically runs for V - 1 iterations, where V is the number of nodes.

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

What does static routing imply?

A

Once the node determines the routing table, it does not change

The initial cheapest path may not be the cheapest path later.

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

What is adaptive routing?

A

Allows the network to respond to changes and update its routing tables accordingly

It can lead to implementation challenges.

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

What is Dijkstra’s algorithm often referred to as?

A

The Shortest-path Algorithm or Forward Search Algorithm

It is a centralized, static algorithm that can be made adaptive.

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

What does hierarchical routing help manage?

A

Scalability and administrative autonomy

It allows networks to control routing while connecting to other networks.

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

What are autonomous systems (AS) in networking?

A

Routers typically under the same administrative control that run the same routing protocol

AS are involved in intra-AS and inter-AS routing.

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

What does the inter-AS routing algorithm do?

A

Determines how to forward packets to destinations outside of its own AS

It involves learning which destinations are reachable through other AS.

18
Q

What is the purpose of a forwarding table?

A

To direct packets to their correct destinations based on routing information.

19
Q

What types of routing algorithms configure the forwarding table?

A

Intra-AS and inter-AS routing algorithms.

20
Q

What does intra-AS routing set entries for?

A

Internal destinations.

21
Q

What does inter-AS routing set entries for?

A

External destinations.

22
Q

What must AS1 learn when a router receives a datagram destined outside of AS1?

A

Which destinations are reachable through AS2 and AS3.

23
Q

What is the main job of inter-AS routing?

A

To propagate reachability information to all routers in AS1.

24
Q

In the example of setting a forwarding table, what does router 1d learn from inter-AS protocol?

A

Subnet x is reachable via AS3 but not via AS2.

25
What does router 1d determine from intra-AS routing information?
Its interface I is on the least cost path to gateway 1c.
26
What is hot potato routing?
Choosing the gateway that has the smallest least cost to get rid of the packet quickly.
27
What is source duplication in broadcasting?
The source sends copies of packets to all intended recipients.
28
What are the problems associated with uncontrolled flooding?
Cycles and broadcast storms.
29
What does controlled flooding require a node to do?
Only broadcast a packet if it hasn’t broadcast the same packet before.
30
What is Reverse Path Forwarding (RPF)?
Only forwarding a packet if it arrived on the shortest path back to the source.
31
What is a spanning tree in networking?
A structure that prevents redundant packets from being received by any node.
32
How is a spanning tree constructed?
By sending unicast join messages to a center node until it reaches an existing node in the spanning tree.
33
What determines the least-cost paths in a spanning tree?
The associated costs of each link.
34
What happens if a packet is received from an unexpected path in RPF?
The packet is discarded.
35
What does each node maintain in sequence-number controlled flooding?
A list of source address/sequence numbers for each broadcast packet received.
36
What is the goal of controlled flooding?
To avoid redundant broadcast packets.
37
What does the center node represent in a spanning tree?
The starting point for constructing the spanning tree.
38
What is the outcome of a broadcast initiated at a node?
Packets are forwarded based on the least-cost paths to the source.
39
Fill in the blank: Hot potato routing is a strategy where AS gets rid of the packet as quickly as possible by sending it towards the _______.
closest router.
40
True or False: In-network duplication can lead to broadcast storms.
True.