Introduction to Networks

Tom Kelliher, CS 325

Apr. 16, 2010

Administrivia

Announcements

Next week will be ``Project Week.''

Assignment

None.

From Last Time

Outline

  1. Communication protocols: circuits, connection-oriented, connectionless.

  2. Layered network models: OSI, TCP/IP.

Coming Up

Project days.

Communication Protocols

A set of rules followed by two processes (systems, people) which are communicating. The protocol governs how the communication is carried out.

Examples:

Circuit:

The pathway of communication between two computers. It may be a single wire, or a set of wires connected via switches (routers, gateways, bridges, etc.). The circuit may be dedicated or virtual.

Connection-Oriented protocols (TCP)

Connectionless protocols (IP, UDP)

The OSI Model

(Open Systems Interconnection Reference Model)

Seven layered abstract model of a protocol stack:

\begin{figure}\centering\includegraphics[]{Figures/osi.eps}\end{figure}

Advantages: modularity

Disadvantages: call overhead; size increases due to added headers, trailers

Physical Layer

Ethernet:

ATM:

Wireless:

Data Link Layer

Network Layer

Transport Layer

Session Layer

Presentation Layer

``Library''-type functionality

Application Layer

User- System-Level utilities:

Introduction to TCP/IP

Some of the protocols:

\begin{figure}\centering\includegraphics[width=6.5in]{Figures/tcpip.eps}\end{figure}

Message transmission example:

\begin{figure}\centering\includegraphics[]{Figures/message.eps}\end{figure}

``Gluing'' Networks Together

IP Addresses

Form:

Encapsulation

  1. Data
  2. Application layer
  3. TCP/UDP layer -- TCP frame
  4. IP layer -- IP datagram
  5. Ethernet layer -- ethernet frame: 46-1500 bytes (MTU)

Demultiplexing

Process Communication

How do processes on separate machines communicate?



Thomas P. Kelliher 2010-04-15
Tom Kelliher