Definition
]
Packet Switching
Let
be a computer network with nodes and links . Packet switching is a data transmission method in which a message
is partitioned into a sequence of packets , each routed independently through from a source to a destination . Each packet
consists of a header carrying routing metadata (source, destination, sequence number) and a payload carrying a fragment of the message. At each intermediate node
, the router inspects and selects an outgoing link according to a forwarding table . Packets are stored-and-forwarded: a node receives the entire packet before forwarding it.
Mechanism
No dedicated path
No physical or logical circuit is established before transmission. Each packet is an independent datagram that may follow a different route through
Statistical Multiplexing
Links are shared by packets from many sourceādestination pairs. Resource allocation is on-demand rather than pre-allocated. This is called statistical multiplexing.
Store-and-Forward
A packet arriving at a node
Routing and forwarding
Each node maintains a forwarding table