Week 12 - Routing + Transport Layer Flashcards

1
Q

What type of routing are we focusing on in this course?

A

Unicast (1 to 1)

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

How are routing protocols and forwarding tables related?

A

Routing protocols are correlated to a routing table. The forwarding tables contain the best routes for packet forwarding based on the routing table.

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

What is a Link-State Routing Algorithm?

A

Centralized - all routers have knowledge of the entire network (LSDB)

Each node’s LSP has info about immediate neighbours

Nodes flood entire network with link-state packets (LSPs) so that each router knows the topology.

Then utilizes LSPs and Djikstra’s to find least cost path from a node.

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

What is a Distance-Vector Routing Algorithm?

A

Decentralized routing algo

1D array contains least costs to all other nodes, not the paths.

Nodes send vector to neighbours, neighbours update own vectors with Bellman-Ford equation.

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

What needs a forwarding table?

A

Only the routers.

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

What is an autonomous system (AS)?

A

In hierarchical routing, each ISP is an AS. Each AS runs its own routing protocol.

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

What is the difference between Intra-AS and Inter-AS routing protocols?

A

Intra-AS: routing protocol run in each AS

Inter-AS: the global routing protocol that glues the ASs together (think international)

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

What are the two common intradomain routing protocols?

A

RIP and OSPF

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

What is the interdomain routing protocol?

A

BGP

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

What is the Routing Information Protocol (RIP)?

A

Based on distance vector routing algo.

Routers advertise cost of reaching different networks based on hops.

A hop is the number of subnets a packet needs to travel through

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

What is Open Shortest Path First (OSPF)?

A

Based on link-state routing algorithm

Each link/subnet is assigned weight

Finds “shortest” path from source to dest node.

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

What is an OSPF area?

A

A section of the AS, creates a domain for flooding LSPs.

Area border routers required.

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

What are the 5 transport layer services?

A

Process-to-process comm
Addressing: Port #s
Encap/decap
Flow control
Error control

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

What do port numbers provide?

A

End-to-end addresses at the transport layer

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

What is the main paradigm for process-to-process communication?

A

Client/server

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

What is a socket address?

A

A combination of an IP address and a port number

Uniquely identifies client or server process

17
Q

How is transport layer flow control performed?

A

Sender and receiver hold buffers, receiver communicates with sender.

18
Q

How is transport layer error control performed?

A

By using sequence numbers and acknowledgements.

handles packets that are corrupted, duplicated, lost, or out of order.

Unlike network layer error control which drops packets. Can resend and reorder packets.

19
Q

Is UDP simplex, half-duplex, or full-duplex

A

half-duplex

20
Q
A