Exam 2 Flashcards

(29 cards)

1
Q

What are the 3 different types of switching fabric

A

memory

bus

crossbar

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

explain network neutrality

and what are the mechanisms that affect network neautrality

A

all data on the internet should be treated equally.

companies cant pay to have their competitors data throttled

packet scheduling and buffer management are the mechanisms

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

what are the 5 layers of the network stack

A

application

transport

network

link

physical

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

what are the general principles of distributed systems

A

distributed

decentralized

scalable

fault tolerant

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

what are the 2 key network layer functions

A

forwarding and routing

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

what is forwarding

A

moving a packet from a router’s input link to the appropriate router output link

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

what is routing

A

determine route taken by packets from source to destination

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

forwarding vs routing

A

forwarding is like going through a single intersection

routing is like planning a cross country road trip

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

what is Dynamic Host Configuration Protocol

DHCP

A

How a device can get a ip address from a network server when it “joins” the network

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

what is Network Address Translation

NAT

A

all devices in a local network share just one ip address as far as the outside world is concerned

all datagrams leaving local network have the same source NAP IP address but different source port numbers

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

what is the main advantage of NAT

A

just 1 ip address needed from provider ISP for all devices on the network

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

what are the components of packet processing

A

prefix matching and routing decisions

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

what happens inside a router

A

packet processing

crossing the switching plane

buffering

scheduling

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

what are different approaches to packet scheduling

A

FIFO or other algorithms

Prioritization
- can be multi leveled
- different priority weights
- round robin

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

what is a subnet

A

device interfaces that can physically reach each other without passing through an intervening router

devices in the same subnet have common high order bits

the host part is the remaining low order bits

a.b.c.d/x where x is the # bits in subnet portion

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

what are the 2 different formats for ip address

and what are their sizes

A

IPv4 - 32 bits

IPv6 - 128 bits

17
Q

link layer services

A

adjacent device to device communication

flow control

error detection

error correction
-> 2 dimensional error correction

18
Q

general implementation of dht

A

finger table <hashed key, peer address>
[ fingers, next, self, prev ]

local hash table <hashed key, byte array>

19
Q

explain the locate protocol in our DHT

A

ask a person in the DHT if they own a hashed key

the person will return the person closest to that hashed key or maybe they own the hashed key in which case they would return themselves

20
Q

what is address resolution protocol

ARP

A

ARP is how a device determines what MAC address corresponds to a ip address

sends out ARP request

the request is broadcasted to everyone and the person who has the ip address responds

a benefit is now everyone knows the mac address for the person who initiates the request

21
Q

broadcast vs unicast

A

broadcast goes from one source to all

unicast goes from one source to one receiver

22
Q

explain prefix matching

A

when looking for forwarding table entry for given destination address, use longest address prefix that matches destination address

Prefix matching is a technique used primarily in routing to determine which path a packet should take based on the longest matching prefix of its destination IP address.

23
Q

what is tunneling

A

IPv6 datagram carried as payload in IPv4 datagram among IPv4 routers

24
Q

what was the motivation to create / change to IPv6

A

32-bit IPv4 address space would be completely allocated

25
MAC Protocols
ALOHA -pure aloha - slotted aloha CSMA CSMA / CD channel partitioning -FDMA (frequency division) -TDMA (time division) taking turns -polling -token ring
26
what is the difference between slotted ALOHA and pure ALOHA
slotted efficiency 37% pure efficiency 18% 📡 Pure ALOHA Transmit anytime: A device sends a packet whenever it has data. Collision possibility is higher because packets can overlap at any time. If a collision occurs, the sender waits a random backoff time and retransmits. Vulnerable time: 2 × frame time ✅ Efficiency: ~18.4% 🕒 Slotted ALOHA Time is divided into equal-sized slots. Devices can only transmit at the beginning of a slot. This reduces the chance of collisions since overlap can only happen if two senders pick the same slot. Vulnerable time: 1 × frame time ✅ Efficiency: ~36.8% 🧠 TL;DR: Slotted ALOHA is more efficient but requires synchronization. Pure ALOHA is simpler but has higher collision risk.
27
what are some random access MAC protocols
ALOHA Slotted ALOHA CSMA CSMA/CD
28
explain CSMA Carrier sense multiple access
CSMA is based on the idea of "listen before talk": A device first checks if the channel is free (i.e., no one else is transmitting). If the channel is clear, it starts sending its data. If the channel is busy, it waits until it becomes idle.
29
what is CSMA/CD
CSMA/CD (Collision Detection) Device listens while sending and stops immediately if it detects a collision. better performance than ALOHA