Week 10 - Packet switching & Network layer addressing Flashcards

1
Q

What is packet switching and why is it used?

A

Packet switching in the context of datagram networks means that each packet is independent and travels the fastest route it can (ex: UDP).

It is used to connect multiple devices in a network to facilitate efficient point-to-point communication.

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

What are the 5 services of the network layer?

A

Packetizing
Routing
Error control
Flow control
Congestion control

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

How is network layer routing performed?

A

With the use of routing tables and network layer devices (routers).

MAC addresses are modified along the way.

If the dest MAC of datagram does not match, it is dropped.

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

How is error control performed in the network layer?

A

Using the checksum field in the header of the datagram.

Checks only the header.

Only detects errors and drops packets, does not retransmit.

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

What are the four facets of network layer delay?

A
  1. Transmission time (n + 1) - Time to push all bits of packet onto a link (corresponds to # links)
  2. Propagation time - Time required for a bit to travel from source to dest (based on distance and propagation speed)
  3. Processing delay (n + 1) - time to process packet at router and destination
  4. Queuing delays (n) - time packet held at each router
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is throughput?

A

How fast we can actually send data through a network.
(Realistic: Throughput, Theoretical: Bandwidth)
Depends on link with min transmission rate.

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

What is jitter?

A

Variations in delay (think of CounterStrike)

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

What are the 3 metrics to measure network layer performance?

A

delay
throughput
packet loss

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

What is IP forwarding AND
What 4 pieces of information are needed for IP forwarding?

A

IP forwarding is forwarding packets from one network to another based on the destination IP

mask
network address
interface number
IP address of next rouer

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

What is address aggregation?

A

Combining rows in a forwarding table to represent a block of CIDR addresses for more efficient routing.

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

Is the internet a packet-switched network?

A

Yes

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

What is DHCP?

A

Dynamic Host Configuration Protocol (application layer)

Automatically assigns assignable addresses for each host or router.

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

What is NAT?

A

Network Address Translation

In a small network, allows hosts to share the same public IP when accessing the internet.

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

255.255.255.223 is a valid subnet mask.

A

F because a subnet mask must have contiguous 0s.

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

In NAT translation table, every (source IP address, port #) is mapped
to (—, —) translation pair.

A

NAT IP address, new port #

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