Computer Network Layers Notes
Computer Network Layers Notes
PHYSICAL LAYER
3. Transmission Media:
- Guided: Twisted Pair, Coaxial, Fiber Optic (used in Ethernet, cable internet).
- Unguided: Radio, Microwave, Infrared (used in Wi-Fi, TV remotes).
4. Multiplexing Techniques:
- FDM: Different frequencies (TV channels).
- TDM: Different time slots (telecom systems).
- WDM: Light signals (fiber optics).
1. Functions:
- Framing, error control, flow control, addressing (MAC).
2. Error Detection/Correction:
- Parity, CRC, Hamming Code.
3. Protocols:
- Stop & Wait, Go Back N, Selective Repeat.
4. Multiple Access:
- CSMA/CD (Ethernet), ALOHA.
5. MAC Address:
- Example: 00:1A:2B:3C:4D:5E (unique device address).
NETWORK LAYER
3. Routing Algorithms:
- Dijkstra: Computes shortest path from source to all nodes.
- Distance Vector: Bellman-Ford, routers exchange vectors.
4. Network Protocols:
- ARP: Maps IP to MAC.
- ICMP: Error reporting (ping).
- DHCP: Dynamically assigns IP.
- IPv4/IPv6: Network layer addressing.
1. Process-to-Process Communication:
- Uses port numbers (e.g., HTTP = port 80).
2. TCP vs UDP:
- TCP: Reliable, used for web, email.
- UDP: Unreliable, used for video streaming, DNS.
3. Flow Control:
- TCP Sliding Window prevents overflow.