1 Network Fundamentals And Osi Model

Network and Data Communications · Unit 1

Network Fundamentals and OSI Model

Exam-focused notes for Network Fundamentals and OSI Model (Network and Data Communications, BIT254): what the TU syllabus asks and how it has actually been tested, with 6 solved past questions from this unit.

Network Fundamentals and OSI Model in short

A computer network connects devices so they can share data and resources. This chapter explains the layered models used to design networks, the main network types, and the media that carry signals.

Network Fundamentals and OSI Model: notes

OSI reference model layers

The OSI model (Open Systems Interconnection) was made by ISO. It splits network communication into seven layers. Each layer does one job and talks only to the layers above and below it.

NoLayerMain jobData unit
7ApplicationGives network services to user programsData
6PresentationTranslation, encryption, compressionData
5SessionOpens, manages and closes dialoguesData
4TransportEnd-to-end delivery, error and flow controlSegment
3NetworkLogical addressing and routingPacket
2Data linkNode-to-node delivery, framing, MAC addressingFrame
1PhysicalSends raw bits as signalsBit

A memory aid from top to bottom is "All People Seem To Need Data Processing". When a sender transmits, each layer adds its own header to the data. This is called encapsulation. The receiver removes the headers layer by layer, which is called decapsulation.

OSI layer functionality and hardware

  • Physical layer: defines voltage levels, cables, connectors, bit rate and topology. Devices: hub, repeater, cables, network interface card (NIC).
  • Data link layer: builds frames, adds MAC addresses, detects errors and controls access to the shared medium. Devices: bridge, layer 2 switch.
  • Network layer: gives each host a logical (IP) address and finds the best path. Device: router.
  • Transport layer: breaks messages into segments, adds port numbers, and offers reliable delivery (TCP) or fast delivery (UDP). Device: gateway works from here up.
  • Session layer: sets checkpoints so a long transfer can restart from the last point.
  • Presentation layer: converts data formats (for example ASCII to Unicode), encrypts and compresses.
  • Application layer: protocols such as HTTP, FTP, SMTP and DNS.

What this unit covers

  • OSI reference model layers
  • OSI layer functionality and hardware
  • Practical implications of OSI layers
  • TCP/IP protocol suite layers
  • Network categories and types
  • Guided transmission media
  • Unguided transmission media

Unguided transmission media

2082 · 5 marks

Discuss different unguided transmission medium in brief. [5]

Definition: Unguided (wireless) transmission media transmit electromagnetic signals through free space (air) without using any physical conductor. The signal is broadcast and can travel in multiple directions. --- - Frequency range: 3 KHz to 1 GHz - Omnidirectional -- signals travel in all direct...

Open this answer on its own page →

TCP/IP protocol suite layers

2081 · 10 marks

Explain the layers TCP/IP protocol suite in detail.[10]

The TCP/IP protocol suite (also called the Internet Protocol Suite) is a set of communication protocols used for interconnecting network devices on the internet. It is named after its two most important protocols: Transmission Control Protocol (TCP) and Internet Protocol (IP). The TCP/IP model ha...

Open this answer on its own page →

Guided transmission media

2081 · 5 marks

Discuss different guided transmission medium in brief. [5]

Guided transmission media are physical pathways that guide (direct) electromagnetic signals from sender to receiver along a specific path. The signal is bound within the medium. --- - Consists of two insulated copper wires twisted together in a helical form. - Twisting reduces electromagnetic int...

Open this answer on its own page →

Practical implications of OSI layers

2080 · 10 marks

What are the practical implications of OSI layer? Define each layer focusing on its functionality and hardware used in each layer[10]

Show solved answer

Practical Implications of OSI Layers and Their Definitions

Introduction

The OSI (Open Systems Interconnection) model is a conceptual framework developed by ISO that standardizes the functions of a communication system into seven distinct layers. It provides a universal language for networking, allowing diverse systems to communicate.


Practical Implications of the OSI Model

The OSI model has several important practical implications:

  1. Standardization: Allows hardware and software from different vendors to work together (interoperability).
  2. Troubleshooting: Network engineers can isolate problems layer by layer (e.g., a physical cable fault vs. a routing issue).
  3. Modular Design: Each layer can be developed, updated, or replaced independently without affecting other layers.
  4. Protocol Development: Guides the design of networking protocols (e.g., TCP/IP maps to OSI layers).
  5. Security Implementation: Security measures can be applied at specific layers (e.g., firewalls at Network layer, SSL/TLS at Session/Presentation layer).
  6. Teaching and Learning: Provides a structured way to understand complex networking concepts.
  7. Vendor Independence: Promotes open standards so no single vendor controls the entire communication stack.

The Seven Layers of the OSI Model

Layer 7: Application Layer

AspectDetail
FunctionProvides network services directly to end-user applications. It is the interface between the network and the application software.
ProtocolsHTTP, FTP, SMTP, DNS, Telnet, SNMP
HardwareApplication servers, end-user computers, gateways
Key RoleHandles file transfer, email, web browsing, and remote login

Example: When you open a browser and type a URL, the Application layer handles the HTTP request.


Layer 6: Presentation Layer

AspectDetail
FunctionResponsible for data translation, encryption, and compression. It converts data from application format to network format and vice versa.
ProtocolsSSL/TLS, JPEG, MPEG, ASCII, EBCDIC
HardwareRedirectors, gateways
Key RoleEnsures data is in a readable format for the Application layer

Example: Converting an image file to JPEG format or encrypting data using SSL before transmission.


Layer 5: Session Layer

AspectDetail
FunctionManages sessions (connections) between applications. It establishes, maintains, synchronizes, and terminates communication sessions.
ProtocolsNetBIOS, RPC, PPTP, SIP
HardwareGateways, servers
Key RoleDialog control (half-duplex or full-duplex), session checkpointing and recovery

Example: When you log into a remote server, the Session layer manages the login session and ensures it stays active.


Layer 4: Transport Layer

AspectDetail
FunctionProvides end-to-end communication, error detection, flow control, and data segmentation/reassembly. Ensures complete data transfer.
ProtocolsTCP (reliable), UDP (unreliable/fast)
HardwareGateways, load balancers, firewalls
Key RoleSegmentation, acknowledgment, retransmission, port addressing

Example: TCP breaks a large file into segments, numbers them, and reassembles them at the destination, requesting retransmission if any segment is lost.


Layer 3: Network Layer

AspectDetail
FunctionResponsible for logical addressing (IP addressing) and routing. It determines the best path for data to travel from source to destination across multiple networks.
ProtocolsIP, ICMP, OSPF, BGP, RIP
HardwareRouters, Layer-3 switches
Key RolePacket forwarding, routing, logical addressing

Example: A router uses IP addresses to forward packets from your home network to a web server on the internet.


AspectDetail
FunctionProvides node-to-node data transfer and handles error detection/correction from the physical layer. It frames data packets and uses MAC addresses for physical addressing.
ProtocolsEthernet, PPP, HDLC, ARP, Frame Relay
HardwareSwitches, bridges, NICs (Network Interface Cards)
Key RoleFraming, MAC addressing, error detection (CRC), flow control

Example: An Ethernet switch uses MAC addresses to forward frames only to the correct port on a LAN.


Layer 1: Physical Layer

AspectDetail
FunctionDeals with the physical transmission of raw bits (0s and 1s) over a physical medium. It defines electrical, mechanical, and procedural specifications.
StandardsRS-232, DSL, IEEE 802.3
HardwareHubs, repeaters, cables (coaxial, fiber optic, twisted pair), connectors, modems
Key RoleBit transmission, signal encoding, data rate, physical topology

Example: A fiber optic cable transmitting light pulses representing binary data operates at the Physical layer.


Summary Table

LayerNameKey FunctionHardware
7ApplicationUser interface to networkServers, computers
6PresentationData translation, encryptionGateways
5SessionSession managementGateways, servers
4TransportEnd-to-end delivery, segmentationFirewalls, load balancers
3NetworkRouting, logical addressingRouters
2Data LinkFraming, MAC addressingSwitches, bridges
1PhysicalBit transmissionHubs, repeaters, cables, connectors, modems

Conclusion

The practical value of the OSI model is that it turns one large problem, moving data between two machines, into seven smaller problems with clearly defined boundaries. A fault can then be localised layer by layer, a cable or a NIC at layer 1 and 2, an IP or routing problem at layer 3, a port or firewall problem at layer 4 and an application or DNS problem above it, which is exactly how network troubleshooting is taught and practised. The same boundaries let vendors build interoperable equipment, let a protocol at one layer be replaced without touching the others, and give engineers a common vocabulary in which a "layer 3 switch" or a "layer 7 firewall" means something precise.

Open this answer on its own page →

Network categories and types

2080.2 · 5 marks

List different categories of networks and explain [5]

Show solved answer

Categories of Networks


Categories of Networks (Based on Geographic Scope)

Networks are broadly categorized based on their geographical coverage, size, and ownership.


1. Personal Area Network (PAN)

  • Covers the smallest area, typically within a person's reach (a few meters).
  • Used for connecting personal devices like smartphones, laptops, Bluetooth headsets.
  • Example: Bluetooth connection between a phone and earbuds.

2. Local Area Network (LAN)

  • Covers a limited geographic area such as a room, building, or campus.
  • High data transfer speed, privately owned.
  • Example: Network within a school, office, or lab.
  • Technologies: Ethernet, Wi-Fi.

3. Metropolitan Area Network (MAN)

  • Covers a city or town (range: 5 to 50 km).
  • Larger than LAN but smaller than WAN.
  • Often used by ISPs or government bodies to connect multiple LANs.
  • Example: Cable TV network across a city.

4. Wide Area Network (WAN)

  • Covers a large geographic area such as a country or the entire world.
  • Uses public/private communication links.
  • Slower than LAN, higher latency.
  • Example: The Internet, banking networks.

5. Wireless Network (WLAN/WWAN)

  • Networks that use wireless transmission (radio waves, infrared) instead of cables.
  • Can be local (Wi-Fi) or wide area (cellular 4G/5G).
  • Example: Wi-Fi hotspot, mobile data network.

Summary Table

CategoryCoverageSpeedExample
PAN~1-10 mLowBluetooth
LANBuilding/CampusHighOffice network
MANCityMediumCable TV
WANCountry/WorldLowInternet
WLANVariableMediumWi-Fi

These categories help network designers choose the appropriate technology, topology, and protocols based on the scale and purpose of the network.

Open this answer on its own page →

OSI reference model layers

0 · 5 marks

Explain different layers of OSI [5]

The OSI (Open Systems Interconnection) model is a conceptual framework developed by ISO that standardizes the functions of a communication system into seven distinct layers. Each layer performs specific functions and communicates with the layers directly above and below it. --- - Topmost layer th...

Open this answer on its own page →