
| Feature | Circuit Switching | Packet Switching |
| Data sent as packets? | no | yes |
| Packets follow same route? | N/A | may or may not (may for VC) |
| Resources reserved in network? | yes | may or may not (not for DG) |
| Data send can experience variable latency | no | yes |
| Connection establishment done? | yes | VC: yes
DG: no |
| State information stored at network nodes | ? | VC: yes (tables to route virtual circuits)
DG: no |
| Good for connection-less service | no | VC: yes
DG: no |
| Impact of node/switch crash | all circuits through switch fail | VC: all virtual circuits through node fail
DG: only packets at node are lost |
| Addressing info needed needed? | only when call is set up | Every packet needs...
VC: virtual circuit number DG: full source, destination address |
| Congestion control | unnecessary | VC: easy if sufficient buffers allocted
DG: hard |
| Layer | Functions |
| Physical |
|
| Data link |
|
| Network |
|
| Transport |
|
| Session | Note: functions vary from protocol-to-protocol
|
| Presentation |
|
| Application |
|

Abstract representation of above diagram::


The Data Link Layer's job is to serve, logically, as a pipe through which packets are sent:

Shown below is the full view of how layer 2 interacts with layer 1, and provides a logical connection between two computers that are physically connected through a third computer (or switching node in a network):

A packet is the transfer unit at the Network Layer (layer 3). It is the data field of a frame.
A message is the sequence of bits passed by a higher layer to the the Transport Layer (layer 4).

Last modified on 4 February 1998.
Send comments to abrams@vt.edu.
[This is http://ei.cs.vt.edu/~wwwbtb/Notes/Protocols/basics.html.]