Network Software and Layered Concepts
Why Layering in Networks?
- Networking is complex (software, firmware, hardware, signals).
- To simplify → networking is divided into layers, where each layer performs a specific function.
- Layers are independent but work together by exchanging input/output.
Layered Tasks
- A networking process is broken into smaller tasks.
- Each layer handles only its task and communicates with its peer layer on the other machine.
- Data is passed downward (from application to physical) at sender and upward at receiver.
- Each layer uses encapsulation (adding headers/trailers) to identify its peer.
Why Layered Architecture?
- Easier design & development (divide-and-conquer).
- Modularity → components can be replaced independently.
- Clear interfaces → better vendor compatibility.
- Layer independence → change possible without affecting others.
- Easier troubleshooting & testing.
Protocol Stack