Professional Documents
Culture Documents
Computer Network 1
Lecture 1: Introduction
NUB
2020
1
Student Assessment
Method Marks
Final Exam 50
Mid-Term Exam 25
Term Work 2 Quizzes 10
Tutorial 15 25
Total 100
Reference
Forouzan, B. A., Data Communications and
Networking, McGraw Hill, 5th Edition, 2013.
Chapters 1, 2, 8, 9
2
Topics
1. Introduction to networks
2. ISO-OSI & TCP/IP models
3. Network devices
4. Spanning tree protocol
5. IP address & subnetting
6. NAT, DHCP
7. Application layer protocols
3
Network
• Network
— A collection of nodes, devices or hosts (e.g. a
computer, printer, etc) connected by
communication links.
• Communication link
— A medium through which data can be
transferred (e.g. coaxial cable, Ethernet cable,
air, optical fiber)
• Internet
— Network of networks
4
Basic Principle of the Internet
• Consider the following network in which end devices (A, B,
…) are connected to a central communication company
consisting of several switches or routers (I, II, ….).
• To connect two end devices over this network, we have
two approaches:
— Circuit switching
— Packet switching
End device
(computer or
a telephone)
5
Switch
Circuit Switching
• In a circuit-switched network, a temporary connection
between two stations is established by reserving a
dedicated path made of one or more links.
6
Packet Switching
• In this approach, a message from one end system to
another is divided into packets (datagrams) of fixed or
variable size.
• Each packet is treated independently of the others.
• Packets may travel different paths (depending on
traffic), arrive out of order or may get lost or dropped
because of a lack of resources.
7
Packet Switching
• In a packet-switched network, there is no resource
reservation; resources are allocated on demand.
Therefore, it is more efficient than circuit switching.
9
Network Connection
• Multipoint
— Single communication channel
shared by all nodes in the
network
— Support unicast (single
receiver), multicast and
broadcast
• Point-to-point
— A link connects only two nodes
— A packet travelling from one
source to destination may go
through several links.
10
Unicast, Multicast, & Broadcast
• Unicast
— single receiver
• Multicast
—sending a packet from one sender to multiple
receivers using a single transmit operation
— Streaming continuous media (e.g., the transfer of
audio and text of a live lecture to a set of
distributed lecture participants
• Broadcast
— all nodes with a LAN receives the sent frame
11
Network Topology (layout)
14
Bus topology
• In this technique, all devices are connected
to a single coaxial cable (a multipoint
connection).
15
Ring topology
• Early IBM LANs
• Currently used in wide area networks (WAN).
16
Star topology
• All devices are connected to a central device (e.g. a
hub or a switch).
— First with hubs (repeated traffic)
— Later with switches (bridged traffic)
17
Star topology
• Today, this is the main method used to build
small or large networks.
• Pros:
— Small amount of cabling
— Easy to add new device
• Cons:
—If the hub goes down, whole system is dead.
18