You open your bank's app on a phone in Mirpur and tap "Balance". Less than a second later the number is on the screen. In that second your request was cut into pieces, wrapped in several envelopes, turned into radio waves, carried over Wi-Fi to a router, sent over fibre through your ISP, across a few more routers, to a server in a data centre that may be in Dhaka or in Singapore, and the answer came back the same way. The phone was made by one company, the router by a second, the fibre equipment by a third, the server by a fourth. None of them ever met. So how do they all understand each other?
They follow the same layered plan. Networking is split into layers, each with one job and its own rules, and every company builds its piece to fit one layer. The two famous plans are the OSI model, ISO's seven-layer reference, and the TCP/IP model, the four-layer plan the Internet actually runs on. This chapter is about both, and it is one of the most asked topics in bank IT and BCS papers, in MCQs and written answers alike.
By the end you'll be able to name the seven OSI layers in either direction and say what each one does, with its protocols, its data unit and the devices that work there. You'll follow one web request down the layers, byte by byte, and back up again, and say exactly how far a switch and a router open it. You'll draw the four TCP/IP layers with their protocols, line them up against OSI, and write the differences between the two models the way examiners want them.
We'll go in eight parts, from easy to hard: why networks are built in layers; the OSI model and its order; the bottom three layers; the top four; encapsulation; the journey hop by hop; the TCP/IP model; and finally OSI and TCP/IP compared.