midterm 1 - networks Flashcards

lect 10 - 11

1
Q

define network protocols

A

instructions for how computers will comm over networks

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

how does communicaiton move through layers

A

high level –> low level –> high level

eg thought –> mouth moves –> sound waves –> ear drum –> signal interpretation –> thought

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

cs100 model for communication layering

A

high = end user application
med = network protocol
low = data transmission mechanism

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

low level layers of comms - 4 examples

A

C-WED-C
cable modem
wifi
ethernet
DSL
cellular

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

cable modem comms

A

protocol
signals transmitted over cable at designated “slots” to avoid signal collision
devices wait for free slot to send

receiving devices monitor cable transmissions to pick up on the specific signal of interest

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

wifi comms - mechanism

A

fancy radio waves
diff freq = diff speeds –> 2.4 ghz slower than 5 ghz

wifi transmission by centralized towers

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

wifi protocols

A

polite ethernet protocols
devices have MAC addresses

devices constantly attempting to transmit
BUT with extra step –> must request perms from router before transmitting

therefore prevents signal collision

router does not provide perms –> device resends request

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

ethernet comms

A

uses fiber optics + copper cables
every device has unique media access control (MAC) address

devices are constantly attempting to transmit signals –> will check network for opportunity to send signals

if devices transmit simultaneously –> signal collision detected –> devices reattempt transmission to send 1 at a time (transmit at random time to avoid collision with eachother again)

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

DSL comms

A

phone line transmission
pt to pt protocols = direct user-ISP comms
ADSL = asym DSL –> downloads faster than uploads

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

cellular comms

A

network uses regulated lanes (diff freq)

several devices assigned per lane/freq
devices are assigned specific intervals for comms –> prevents signal interference

recipients monitor same freq for signal

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

how do postcards explain network traffic

A

signals are sent in packets (1500 bytes each) which are then reassembled together to form the full/original signal/message

packets are tagged with origin IP address + target recipient IP address –> like a postcard

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

TCP explained

A
  • transmission control protocol
  • protocol for establishing device-device connections
  • protocol for breaking signals down into packets
  • ensures packets are sent/received
  • failure to receive –> resend packets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

IP explained

A
  • internet protocols
  • IP address = unique device identifier over the internet –> is assigned by internet protocol
  • MAC addresses = device identifier over a local network tied to hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

how are packets transmitted

A

packets transmitted between intermediate network devices

therefore packets are relayed between other servers, routers, etc –> allows long range transmission

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

IPv4

A

IP addresses are based on 4 digits 0-255 each

0-255 each = 8 bits –> 4 digit IP = 32 bit address

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

IPv6

A

32 bit IPs –> limited to 4 billion unique addresses

IPv6 –> 128 bit IPs –> 32 bit length addresses split into 8x 4bit digits

not limited to decimal –> can use hex digits

therefore significantly larger range of unique IP addresses

17
Q

IPv4 vs v6

A

v4 –> 32 bit addresses –> 4 bn addresses

v6 –> 128 bit addresses + can use hex digits –> WAYYY more possible addresses

18
Q

DNS

A

domain name system –> ties web address with corresponding IP address

user inputs website –> PC requests corresponding IP address

ISP servers have database of X IP = Y website

19
Q

DHCP

A

dynamic host config protocol

devices connect to network –> router assigns temporary IP address

IP addresses are assigned on time limits –> expire –> device will request new IP address from router

20
Q

NAT

A

net address translation
“apt building” analogy

devices will share IPs but router knows how to distinguish between devices

packets transmitted to router –> relayed as normal
incoming packets are received by router –> router translates shared IP to target device IP

21
Q

HTTP

A

hyper text transfer protocol
high level human intractable protocol

responsible for establishing TCP connections to specific paths within a website

device sends header info + data related to device-handling (eg language, cookies, OS, browser, etc)