Networking Introduction

Computer Networking is the process of interconnecting computer systems via telecommunication methods to exchange data and share resources. Networks are everywhere!

The internet is a network of networks that connects billions of devices. It consists of hosts, conencted to LANs, WANs, and the Internet. They exchange messages through packet switches (a link-layer switch or a router), via communication links (cables, wireless local area links, satellite). Eventually the message reaches its destination. A route is the sequence of switches that a packet goes through. A series of protocols controls the sending and receiving of information to and from end systems and packet switching.

1. Packet Switching

The internet is a packet switched network - information is transmitted in packets (a formatted unit of data), and switches / routers operate on individual packets by forwarding them to other switches or end systems. Every forwarding decision is taken on the basis of the information contained in the packet.

Circuit Switching uses an established dedicated communication path between two devices. It requires an expensive set-up phase, and requires a dedicated link between any two devices, hence it cannot be used on the internet. However, unlike packet switching, it doesn't suffer from processing cost of forwarding and space overhead on packets.

2. Communication Protocols

End systems and packet switches run protocols. A communication protocol is an agreement between communicating parties on how communication is to proceed. It consists of:

It is a set of rules, a complete and unambiguous executable specification to account for all possible situations. It must also define the necessary message formats.

3. 5-Layer Hybrid Model

Protocols can rely on other protocols (e.g. HTTP relies on Internet Connection), forming a protocol stack. We have 5 generic layers:

  1. Application Layer: supports network applications.
  2. Transport Layer: supports end-to-end communication.
  3. Network Layer: supports packet forwarding.
  4. Link Layer: supports link-level communication.
  5. Physical Layer: supports physical transmission.

Why was it deisgned this way?

When designing the OSI model, the designers paid attention to:

  • Addressing - how to denote the intended recipient.
  • Error Control - how to detect (and fix) transmission errors.
  • Flow Control - how to manage the rate of transmission.
  • Multiplexing - how to support multiple communications in parallel.
  • Routing - how to route packets to their destination.

Most network layers offer one or both of the following services:

A service is a set of primitives that a layer provides to the layer above it. A protocol is a set of rules that prescribe the layout and meaning of packets, and the order in which specific packets can be sent.

3.1 Application Layer

Defines applications functionality and message formats:

3.2 Transport Layer

The transport layer is about observation, offering connection oriented and connectionless services. It provides the actual network interface to applications:

3.3 Network Layer

The network layer describes how routing and congestion is to be done:

The link layer is about getting the data into the LAN. To do this, it must:

4. Quantifying Data Transfer

Bandwidth is the amount of information that can get into or out of the connection in a time unit.

Throughput is the amount information that does get into or out of the connection in a time unit. At steady state (zero traffic acculumation), the input throughput is equal to the output throughput.

Goodput is the amount of useful information that gets into or out of the connection in a time unit. It is the throughput minus the overhead, such as headers or reattempts.

Latency - the time it takes for 1 bit to go through the connection.

Or, in mathematical terms:

Every time a packet hops, another it adds router delay. This consists of processing delay (check bit error, determine output link), which is typically negligible, and queueing delay (time waiting at ouptut link for transmission). This depends on the congestion level of the router.

Traffic intensity depends on (link bandwidth, bps), (packet length, bits), (average packet arrival rate). Then, is the trafic intensity

Back to Home