Chapter 1-- Evolution of networks and some basic terms and network
layering principals.
-
Basic terms
-
Bandwidth -- rate at which network can transmit data
-
Latency -- delay between sending of signal and receiving of same signal.
-
Baud -- number of symbols sent per second. NOT the same as bandwidth.
-
Half duplex -- network that carries data in one direction at a time.
-
Full duplex -- net goes both ways simoltainiously.
-
Turn-around time -- time needed to switch a half-duplex link to the other
direction.
-
LAN -- set of computers connected by local area net (normally ethernet).
-
WAN -- larger geograpic region (wide area net, like a campus).
-
MAN -- metropaulitan area net (biggest area without satalites or long distance
links).
-
Ethernet -- the most common LAN
-
Networking Goals
-
Bandwidth high
-
Latency low
-
Correctness (data is correct and accurate)
-
Availablility
-
Stay up in the face of dead hardware
-
Stay up in the face of enemy attack
-
Privacy
-
Verifiability of authorship
-
Interoperability
-
Use standard software and hardware
-
Use gateways that can convert
-
Ease of use
-
Low Cost
-
Basic throughput formula
-
Packet delivery time = latency + size/bandwidth
-
Bandwidth = baud * log2(number_of_possible_symbols)
-
Number of possible symbols = signal_strength/noise_strength
-
Ineffeciancies can stem from
-
Errors in transmissions
-
Idle time (time not used for transmitting).
-
Need for acknoledgements
-
Turn-around time if it's a half duplex link.
-
Addressing overhead
-
Layering
-
The basic idea is to not try and do to much at one. Have each layer
only offer a little more than the layer below it. And offer access
to the lower layers for application that want only simple services.
-
Example: Businessmen sending contract proposals. (see page 24)
-
Businessman speaks into tape- hands secratay tape
-
Secratary translates tape into written letter
-
Fax machine sends written letter to Japan.
-
Lessions learned.
-
Can build complex services out of several simple layers.
-
Each sending layer takes previous data, and (possibly) adds more data to
it.
-
Lower layers deal with more data than upper layers
-
Each layers data is the above layers entire packet.
-
Extra data is overhead.
-
Extra data is needed for each layer to function.
-
While upper layers are working, network media is idle (processing overhead).
-
No layer need know how the pervious layer works.
-
I could change yelling to sign language and everything would be OK (though
speed accuracy might change).
-
I can change Ethernet and TCP would still work (and Ethernet was not around
when TCP was designed).
-
Classes of communication services
-
Two ways to classify -- Rate of data or guarentee made to sender
-
Rate based scheme ...
-
Asychronus (printing a file, event logging).
-
Data can come at variable rate. (can temporarily exceed bandwidth, but
not long term).
-
Errors or drops are FIXED
-
Optionally, receiver sees message as intended, but with possibly unlimited
delay.
-
Optionally, receiver sees only "best effort", with no gaurentees.
-
With connections, order can guanrenteed. without connections it is
not.
-
Sychonus (voice, video, data logging)
-
Data comes at a fixed maximum rate. (limited by bandwidth)
-
Data might be corrupted or lost in transit
-
Voice would be delivered at fixed delay, with possible drops or background
noise.
-
Expedicted
-
Example is ^C in telnet
-
Just means data gets delivered before other data.
-
Generally makes more sense in a connection oriented scheme.
-
Guarentee based scheme
-
If network promisses to get the data there, it cannot make any promisses
about arrival rate
-
If network promisses an acceptance rate, it cannot make any promisses about
getting the data there.
-
Cannot offer gaurenteed delay and correctness, because an unlikely set
of errors might make that impossible.
-
Standard layering
-
General Thoughts
-
Lower layers more important
-
WIDELY accepted model, but not only reasonable one.
-
Chart in Syllabus
-
Application
-
drives it all
-
Presentation
-
Converts between local format and standard format.
-
Makes floating point numbers net standard, convert endianness, etc.
-
Compression and encryption occur here.
-
Session
-
Does session negotiation (full duplex 8 bit even parity)
-
Agrees on things like parity, protocol options, etc.
-
The modem squeel at connection is session layer-like things.
-
Transport
-
Lowest layer that occures on both end computers but need not in between.
-
Controls rate at which data is sent.
-
Assembles packets in correct order for application
-
Network
-
Routes data between each individual node.
-
reroutes based on congestion and such
-
Data Link
-
Does retransmission of corrupted or dropped data.
-
Offers reliable datagrams
-
Physical
-
The physical connection. Wires and electrical standards and such.
-
Not really always a concern for C.S. Alot of EE people here