Expanded Computer Network Notes
Expanded Computer Network Notes
INTRODUCTION
3. Network Topologies:
- Bus: Single central cable, nodes attached (e.g., early Ethernet).
- Star: All devices connected to central hub (used in most LANs).
- Ring: Devices connected in a circular fashion.
- Mesh: Every device connected to every other (used in military).
- Tree: Hierarchical layout.
- Hybrid: Combination (e.g., star-bus).
4. Network Classifications:
- Based on scale, connection type (wired/wireless), etc.
6. OSI Model (7 Layers): Physical, Data Link, Network, Transport, Session, Presentation, Application.
8. Transmission Modes:
- Simplex: One-way (TV broadcast).
- Half Duplex: Two-way, one direction at a time (walkie-talkie).
- Full Duplex: Two-way simultaneously (telephone).
9. Network Devices:
- Hub, Switch, Router, Modem, Repeater, Gateway.
PHYSICAL LAYER
2. Data Rate:
- Depends on bandwidth and noise level (Shannon & Nyquist Theorems).
3. Transmission Media:
Computer Networks - Layered Architecture Notes
- Guided:
- Twisted Pair (Ethernet cables)
- Coaxial Cable (cable TV)
- Fiber Optics (high-speed internet)
- Unguided:
- Radio Waves (Wi-Fi)
- Infrared (TV remote)
- Microwave (satellite communication)
4. Multiplexing:
- FDM: Different frequencies (radio channels).
- TDM: Time slots (digital telephony).
- WDM: Light wavelengths (fiber optics).
1. Services:
- Framing, Addressing, Error Control, Flow Control.
2. Error Detection/Correction:
- Parity, CRC (used in Ethernet), Hamming Code.
3. Protocols:
- Stop-and-Wait: One frame at a time.
- Go-Back-N: Multiple frames, retransmit on error.
- Selective Repeat: Only incorrect frames are retransmitted.
4. MAC Protocols:
- CSMA/CD (used in wired Ethernet)
- CSMA/CA (used in Wi-Fi)
5. MAC Address:
- 48-bit hardware address, unique to each device.
- Example: 00:14:22:01:23:45
NETWORK LAYER
1. Functions:
- Routing, Addressing, Packet Forwarding.
3. Addressing:
- IPv4: 32-bit (e.g., 192.168.1.1)
- Subnetting: Divides network for efficiency.
- IPv6: 128-bit (e.g., 2001:0db8:85a3::8a2e:0370:7334)
4. Routing Algorithms:
- Dijkstra: Shortest Path (link-state)
- Distance Vector: Routing by sharing vector tables (e.g., RIP)
5. Protocols:
- ARP: IP to MAC mapping.
- ICMP: Sends error messages (e.g., ping).
- DHCP: Dynamic IP assignment.
- RARP: MAC to IP (obsolete).
- IPv4/IPv6: Core network layer protocols.
1. Process-to-Process Delivery:
- Uses port numbers to deliver data to correct application.
2. Protocols:
- TCP (Transmission Control Protocol): Reliable, ordered delivery.
- UDP (User Datagram Protocol): Unreliable, fast.
3. Client-Server Paradigm:
- Server: Provides services (web, mail)
- Client: Requests services (browser, email client)
4. Flow Control:
- TCP sliding window manages data rate.