Guide to Forwarding & Routing
In Network layer, a router is used to forward the packets. Every router has a forwarding table. A router forwards a packet by examining a packet header field and then using the header field value to index into the forwarding table. The value stored in the forwarding table corresponding to the header field value indicates the router's outgoing interface link to which the packet is to be forwarded.
For example, the router with a header field value of 0111 arrives at a router, and then router indexes this header value into the forwarding table that determines the output link interface is 2. The router forwards the packet to the interface 2. The routing algorithm determines the values that are inserted in the forwarding table. The routing algorithm can be centralized or decentralized.
Photos of javatpoint
Services Provided by the Network Layer
- Guaranteed Delivery
- Guaranteed delivery with bounded delay
- In-Order packets
- IP Finder
- Guaranteed max jitter
- Security services