Computer Networks-Lab: Hareem Aslam Hareem - Aslam@pucit - Edu.pk
Computer Networks-Lab: Hareem Aslam Hareem - Aslam@pucit - Edu.pk
HAREEM ASLAM
[email protected]
Classification of Network
Local Area Network (LAN)
Metropolitan Area Network (MAN)
Wide Are Network (WAN)
Local Area Network (LAN)
+ A Local Area Network (LAN) is a computer network that interconnects computers within
a limited area such as a residence, school, laboratory, university campus or office
building.
+ LAN-Devices
+ WIRED LAN (e.g., Ethernet – Hub, Switch)
+ WIRELESS LAN (e.g., Wi-Fi)
Metropolitan Are Network (MAN)
+ A Metropolitan Area Network (MAN) is a computer network that interconnects users with computer
resources in a geographic region of the size of a metropolitan area (city).
+ MAN-Devices
+ Switches/Hub
+ Routers/Bridges
Wide Area Network (WAN)
+ A Wide Area Network (WAN) is a telecommunications network that extends over a large geographical
area for the primary purpose of computer networking.
+ WAN-Devices
+ End Devices and intermediary devices
THE INTERNET + The wide Wide Area Network (wide WAN) because
there are so many LAN, MAN, WAN across the world
are connected to each other
NETWORK MODELS
Client/Server Model
Peer-to-Peer Model
Hybrid Model
Client/Server Model
+ In client/server model, one or more computer work as
servers and other computers work as client.
+ The server computers controls the whole network.
+ It is used to store data and programs to be shared
among different computers in the network.
+ The client computer requests a service from the
server, The server computer provide service to client.
Peer-to-Peer Model
+ All computer in peer-to-peer model have the same
status.
+ There is no server computer to control the other
computer.
+ Each computer in this network can have access to
the devices and files on the other computer.
+ Each computer store independently its own
software and information.
+ Hybrid model is combination of client/server model
Hybrid Model
and peer-to-peer model.
+ Many network use mixture of both network models.
+ This model can provide the advantages of both
models.
NETWORK TOPOLOGIES
Arrangement of nodes of computer network
• Bus
• Ring
• Star
• Mesh
• Hybrid
Physical and logical topology
+ Physical Topology – Placement of various nodes
+ Logical Topology – deals with the data flow in the network
Bus Topology
+ All data transmitted between nodes in the
network is transmitted over this common
transmission medium and is able to be
received by all nodes in the network
simultaneously.
+ A signal containing the address of the intended
receiving machine travels rom a source machine
in both directions to all machines connected to
the bus until it finds the intended recipient.
Bus Topology
Advantages Disadvantages
Only one wire – Less expensive. Not fault tolerant (no redundancy).
Suited for temporary network Limited cable length
Node failures does not affect others No security
Ring Topology
+ A ring topology is a bus topology in a closed loop.
+ Peer-to-peer Lan topology.
+ Two connections: one to each of its nearest
neighbors.
+ Unidirectional
+ Sending and receiving data takes place with the
help of a Token.
Ring Topology
Advantages Disadvantages
Performance better than bus topology Unidirectional. Single point of failure will affect
the whole network.
Can cause bottleneck due to weak links In load - in performance
All nodes with equal access. No security.
Star Topology
+ Every node is connected in a central
node called a hub or switch.
+ Centralized Management.
+ All traffic must pass through the Hub or
Switch.
Star Topology
Advantages Disadvantages
Easy to design and implement. Single point of failure affects the whole networks.
Centralized administration Bottlenecks due to overloaded switch/Hub.
scalable Increased cost due to switch/hub.
Mesh Topology