* In source
routing, path to the destination is determined by the source.
* Source routing
works in either datagram or virtual-circuit packet switching.
* Before sending
packet, the source has to know the path to the destination in order to include
the path information in the packet header.
* The path
information contains the sequence of nodes to traverse and should give
sufficient information to intermediate node to forward the packet.
* The below fig.
shows how source routing works in datagram network.
* Intermediate
switch reads header and removes the address identifying the node and forwards
the packets to next node.
* Source host
selects path that is to be followed by a packet
* Strict: Here,
the source specifies the address of each node along the path to the
destination.
* Loose: When
source knows partial information of network topology, the source can use loose
source routing.
0 comments