midterm 1 - networks Flashcards
lect 10 - 11
define network protocols
instructions for how computers will comm over networks
how does communicaiton move through layers
high level –> low level –> high level
eg thought –> mouth moves –> sound waves –> ear drum –> signal interpretation –> thought
cs100 model for communication layering
high = end user application
med = network protocol
low = data transmission mechanism
low level layers of comms - 4 examples
C-WED-C
cable modem
wifi
ethernet
DSL
cellular
cable modem comms
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
wifi comms - mechanism
fancy radio waves
diff freq = diff speeds –> 2.4 ghz slower than 5 ghz
wifi transmission by centralized towers
wifi protocols
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
ethernet comms
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)
DSL comms
phone line transmission
pt to pt protocols = direct user-ISP comms
ADSL = asym DSL –> downloads faster than uploads
cellular comms
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 do postcards explain network traffic
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
TCP explained
- 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
IP explained
- 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 are packets transmitted
packets transmitted between intermediate network devices
therefore packets are relayed between other servers, routers, etc –> allows long range transmission
IPv4
IP addresses are based on 4 digits 0-255 each
0-255 each = 8 bits –> 4 digit IP = 32 bit address