2. Network Models

What is Internet

Internet is a network of interconnected devices network of networks

Circuit Switching

end-end resources allocated to reserved for 'call' between source and destination

Packet Switching

break down the information that you want to send into smaller chunks and send over the network through different routes in the network

Circuit Switching Packet Switching
legacy phone network internet
single route data split into packets
data sent along route each packet handled on best effort basis
route maintained until communication ends packets may follow different routes

Protocols

A protocol defines the rules for communication between computers

Connectionless protocol

Send data out as soon as there is enough data to be transmitted
base on the receiving end to rearrange the data into the original data

Connection-oriented protocol

Provides a reliable connection stream between two nodes
Consists of setup, transmission and tear down phases
Creates virtual circuit-switched network

examine the sequence number of the packet to know the sequence, allows the receiver to know how to arrange them and ask the server for those packets that has yet to transmitted

Encapsulation

#toupdate

Network Layers

Network models typically use a stack of layer

Intermediate Layers

Layers between Application and Physical layer

Internet Packet Encapsulation

OSI Model

Open System Interconnect is a network model consisting of sever layers