Thursday, July 17, 2014

The most important principle that makes internet work

Consider the TCP/IP layers as shown below:



In the above example there is only one network interface and the device can talk to the other devices on this network.

For this device to talk to devices on network which are not on the same Ethernet line as the device, we will need a router.

Device with Multiple network interface - Router
IP router, or router, as it commonly known has many network interfaces. The question though is how many network stacks does it have and at which layer is the multiplexing/de-multiplexing done since the application can receive messages from any of the network interfaces.
The multiplexing/de-multiplexing is done at the IP layer. This is shown below :



This means that IP layer performs this multiplexing in either direction to accommodate incoming and outgoing  data. An IP layer with more than 1 network interface is more complex. It can forward data onto the next network. Data can arrive on any network interface and be sent out on any other.
This is essential for Routing and hence that is why such a device is called router.





According to me, The IP layer which can multiplex and /or forward packets to different networks is the most important principle which has made entire internet possible.

No comments:

Post a Comment