lecture in color

Networking:

How a network is born:

One small editorial comment on standards

Networking concepts

Protocols

Layers

Client/server computing

Network layers:

OSI/ISO Reference Model:

 +---------------------+
 | Application Layer   |  how devices agree on the meaning of data
 +---------------------+     mayor
 | Presentation Layer  |  how devices agree on the format of data
 +---------------------+     town meetings
 | Session Layer       |  how neighboring devices establish channels of info
 +---------------------+     community cable
 | Transport Layer     |  how to avoid communication errors between devices
 +---------------------+     libel suits/lawyers
 | Network Layer       |  how non-neighboring devices communicate 
 +---------------------+     gossip
 | Data Link Layer     |  how neighboring devices communicate
 +---------------------+     talking over the fence
 | Physical Layer      |  how devices are physically connected 
 +---------------------+     back fences

Running joke among netadmins: the 9 layers of the OSI reference model:

 +---------------------+
 | Political Layer     |  how devices agree on what to spend. (you are here) 
 +---------------------+
 | Financial Layer     |  how devices agree on what to buy. 
 +---------------------+
 | Application Layer   |  how devices agree on the meaning of data.
 +---------------------+     
 | Presentation Layer  |  how devices agree on the format of data
 +---------------------+     
 | Session Layer       |  how neighboring devices establish channels of info
 +---------------------+    
 | Transport Layer     |  how to avoid communication errors between devices
 +---------------------+   
 | Network Layer       |  how non-neighboring devices communicate 
 +---------------------+  
 | Data Link Layer     |  how neighboring devices communicate
 +---------------------+
 | Physical Layer      |  how devices are physically connected 
 +---------------------+

General comments:

Internet concepts:

A brief map of internet technologies to ISO model:

 +---------------------+
 | Application Layer   |  IMAP, POP, TELNET, SSH, .... 
 +---------------------+  
 | Presentation Layer  |  RPC
 +---------------------+ 
 | Session Layer       |  Transmission Control Protocol (TCP)  \  Internet
 +---------------------+                                        + Protocol (IP)
 | Transport Layer     |  User Datagram Protocol (UDP)         /  (Internet
 +---------------------+                                           address) 
 | Network Layer       |  Media Access Control (MAC address: ethernet) 
 +---------------------+  
 | Data Link Layer     |  point-to-point communication 
 +---------------------+         
 | Physical Layer      |  point-to-point connectivity 
 +---------------------+  

Protocol stack

Typical example of layering in action:

 host        repeater    router      host
 [ App ]>    [ App ]     [ App ]    >[ App ] 
 [ Pre ]|    [ Pre ]     [ Pre ]    |[ Pre ]
 [ Ses ]|    [ Ses ]     [ Ses ]    |[ Ses ]
 [ Trn ]|    [ Trn ]    +[ Trn ]+   |[ Trn ]
 [ Net ]|    [ Net ]    |[ Net ]|   |[ Net ]
 [ Lnk ]|   +[ Lnk ]+   |[ Lnk ]|   |[ Lnk ]
 [ Phy ]+-->+[ Phy ]+-->|[ Phy ]+-->+[ Phy ]

Encapsulation:

Case study: telnet/ssh

TCP/IP: Transmission Control Protocol/Internet Protocol

TCP: Transmission Control Protocol

UDP: User Datagram Protocol

Reliability and `drops'

Let's build ourselves a network:

First step: the physical layer:

thicknet(AUI):

thinnet:

twisted pair:

The link layer: ethernet.

Basics of ethernet: simple model (thinnet)

Representing a message

Sending a message

Packet structure

Modern ethernet: 10/T, 100/T, 1000/T

Wiring 10,100,1000/T:

How 10,100,1000/T works:

Crossover:

Comments on all ethernet link layers:

Collisions:

Detecting collisions:

Dealing with collisions:

lies, damn lies, and bandwidth calculations

Other link layers: connecting over the phone

RS232 (modem-to-computer) connections: also called SERIAL

RS232 function:

Null modems:

RS232 speeds:

RS232 data format:

Point-to-point protocol:

Illusions:


lecture in color

/comp/150NET/notes/net.php
downloaded on Nov-23-2009 02:52:29 PM,
was last modified on Feb-17-2004 10:49:02 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University