Computer Networks Tutorial

Network models, the physical and data-link layers, IP addressing and subnetting, routing, TCP/UDP and application protocols.

A computer network is a set of interconnected devices (nodes) that share resources and exchange data over communication links.

Types of Networks

TypeCoverageExample
PAN~10 mBluetooth headset
LANBuilding or campusCollege lab Ethernet
MANCityCable TV network
WANCountry or globalThe Internet

Network Topologies

BusHubStarRingMesh
Common network topologies
TopologyProsCons
BusCheap, easyA single cable fault brings the network down
StarEasy to manage; one link failing doesn't affect othersHub/switch is a single point of failure
RingOrderly access (token)A break disrupts the ring
MeshHighly reliable; n(n−1)/2 linksExpensive cabling
Tree / HybridScalableComplex

Network Devices

DeviceOSI layerFunction
Repeater / HubPhysicalRegenerates or broadcasts signals
Bridge / SwitchData linkForwards frames by MAC address
RouterNetworkForwards packets by IP address between networks
GatewayAll layersConnects different protocol architectures
Track your progress through the Computer Networks course