Error-free Transmission (34)[detail]

Show Answer
Packet
small blocks of data send and received individually
Packets benefits
allow efficient error detection/recovery and fair sharing of comm links
Frames
encapsulates frames for transmission on on physical layer
frame contents
header, payload, trailer
unack connless service
ethernet
ack connless service
wifi
ack conn-oriented service
ATM
sender data link layer
break bit stream into discrete frames, compute checksum, send w/ frame
receiver data link layer
recomputes checksum, if does not match an error occurrerrrd
byte stuffing
add special byte to beginning and end of each frame
bit stuffing
similar to byte stuffing but no requirement for 8 bits, helps physical layer maintain serialisation
transmission error types
interference causing received incorrectly, and interference causing data to be received when none sent
two basic strats for errors
error correcting codes and error detecting codes
error detection
check if error occurs and if so, request frame be resubmitted, no need for error correcting data
parity
even or odd number of 1s in message
checksum
sender calculates complement of sum and sends with message, receiver checks if total is zero
Cyclic redundancy check
A polynomial code, sender and receiver agree on G(x)
Error correction
Redundancy to sent information, most useful on noisy channels where retrans likely to error
hamming distance
given 2 valid codewords, count number of corresponding bits that differ
hamming error detecting h
requires code with hamming distance h+1
hamming error correcting h
requires code with hamming distance 2h+1
stop and wait
sender waits for ack before sending more
sliding window
sender and receiver maintain set of seq numbers for frames they can send/receive
broadcast channels
shared medium, used by LANs, reduces cost but adds coord overhead and high bandwidth req.
LAN topologies
star, ring, bus
medium access control
sublayer that determines who goes next on multiaccess channel
static channel allocation
split channel by multiplexing, works well with small constant users
dynamical channel allocation assumptions
independent traffic, single channel, observable collisions, continuous or slotted time, carrier sense or no carrier sense
ALOHA
Users transmit whenever they have data, central computer broadcasts each frame it receives, if frame not heard wait a random time and retransmit
Slotted ALOHA
ALOHA synced with clock to improve performance
CSMA/CD
Carrier Sense Multple Access w/ Collision Detection
CSMA
detect when stations are transmitting and wait for idle, wait random time, or use slots
Bridge
connects multiple LANs
VLAN
virtual LANs based on organisational structure rather than geography
cosc310cosc340

01020304050708