TCP/IP & RoutingProtocols
Deep dive into Data Transmission, Routing Logic, and Network Structure
2.
The Concept: theInternet Protocol (IP) is like a
massive transcontinental subway system.
The Passengers: Data packets act like passengers
trying to get from a starting station (Source) to a final
stop (Destination).
The Mechanism: IP is responsible for forwarding
these packets between nodes (stations) until they
reach their journey's end.
The Subway Analogy
3.
Reliability: TCP vs.IP
"Best Effort" Delivery
IP is a "best effort" service. It tries to deliver packets
but makes no guarantees.
The TCP Guarantee
If reliability is required, we rely on the Transmission
Control Protocol (TCP). TCP sits on top of IP layer and
guarantees that if a packet is dropped, it is resent,
guaranteeing the data arrives intact.
4.
Independent Packets
In apacket-switched network, every single packet
is treated as an individual traveler. Even if they are
part of the same file download, they are routed
separately.
Dynamic Pathing
A router makes a fresh decision for every packet.
If the direct path to is blocked, the router might
send the next packet via another instead.
The Routing Decision
5.
Distance Vector Protocol
TheLogic: RIP works like a road sign. It only knows the
direction and the distance to a destination.
The Metric: Distance is measured in "Hops" (jumps
between routers).
The Limit: RIP has a maximum hop count of 15. 16 is
considered "Infinite" (unreachable).
Usage: Due to this limit, RIP is only suitable for small,
simple networks.
RIP: The Signpost
6.
OSPF: The Map
LinkState Protocol
Unlike RIP's simple signposts, OSPF (Open Shortest
Path First) provides every router with a complete map
of the network topology.
Intelligent Routing
Routers can calculate the absolute best path before
sending a packet. They also constantly check the
health of neighbors by sending "Hello" messages every
few seconds. If a neighbor goes silent, the map is
7.
Feature RIP (RoutingInformation Protocol) OSPF (Open Shortest Path First)
Type Distance Vector (Signpost) Link State (Complete Map)
Metric Hop Count (Max 15) Cost / Bandwidth (No hop limit)
Knowledge Neighbors only Entire Network Topology
Best For Small, simple networks Large, enterprise/global networks
Protocol Comparison
8.
A Network ofNetworks
It is an collection of many smaller, independent networks
known as Autonomous Systems (AS).
Each AS is controlled by a separate administrative entity.
These systems interconnect to form the global internet we
use today.
Network Structure: Autonomous Systems