L3 - Switching Flashcards

1
Q

What is the purpose of ARP (Address Resolution Protocol)

A

It is a way for host to learn MAC address of other host

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

What are the steps of performing ARP?

A

1 - A host queries with an IP address, broadcasting the query to every other node on the network
2 - Host that has that IP address on the LAN will respond with appropriate MAC address to the requestor
3 - When host that issues a query receives reply, it builds an ARP table
4 - ARP table maps each IP address on LAN to the corresponding MAC address. Host can simply consult this table for future reference instead of broadcasting another ARP query.

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

What is a layer 2 datagram?

A

When host wants to send a packet to destination with a particular IP address, it takes IP packet and encapsulates it in an ethernet frame with corresponding destination MAC address. Essentially puts IP packet inside of the ethernet frame. Before sending IP packet with destination IP address, it first puts the packet inside a larger ethernet frame with own source MAC address and destination MAC address from local ARP table

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

What are two ways we can connect LANs?

A

1 - Hubs (these just re-broadcast to everybody)
2 - Switches (these can partition a LAN into multiple segments. Enforcing this isolation requires a switch table that maps destination MAC addresses to output ports)

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

What is a Learning Switch?

A

A Learning switch is the most common type of switch, and it maintains a table between destination addresses and output ports on the switch

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

How do we solve the problem of cycles in networks when flooding the network?

A

We form a spanning tree - a loop free topology that covers every node in the graph of the underlying physical topology.

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

What used to be the ‘rule of thumb’ for buffer sizing in routers?

A

2T*C

where T is the single trip time (in sec) and C is the capacity of the bottleneck link (in bits/sec). 2T*C is effectively the number of bits that could be outstanding on this path between the source and the data at any one time

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

What is the ‘new’ rule of thumb for buffer sizing, for when flows are desynchronized?

A

2T*C/root(n)

where T is the single trip time (in sec), C is the capacity of the bottleneck link (in bits/sec), and n is the number of unique congestion windows.

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