UNIT Code: BIT 2116 UNIT NAME: Network Design and Management
UNIT Code: BIT 2116 UNIT NAME: Network Design and Management
Networking Models
Model: Is representation of a real object. In the model we
use few characteristics/features of the real object.
Draw boy:
Why models? – Cheap, fasters to use, test concepts.
Two types of models are used in computer networks: - TCP/IP
and OSI/ISO models.
Differences between the models
TCP/IP OSI/ISO
Age Old Model New Model
Ownership US DoD (private model) Market players
(Public Models)
Number of Four-Layer Model Seven-Layer Model
layers
Complexity Layers are complex Layers are Simple
Of layers
Complexity Simple Model Complex Model
of Model
Openness of Closed model Open Model
model
13/10/2021
Layer 4: Transport Layer (end to end delivery of data units)
Protocols in Layer 4
• Universal Datagram Protocol – UDP
• Transmission Control Protocol – TCP
Comparison
TCP UDP
Delivery Connection Oriented Connectionless
Mechanism delivery – dedicated delivery; use
resources. All data sent via any available
the same channel channel.
Delivery Offers Guarantee No Guarantee
Guarantee For this:
Acknowledgements and
Retransmissions used
Buffering No Buffering allowed, Thus Store and
message Delay sensitive and hence Forward
Real-time delivery used techniques
used. Delay
insensitive and
uses non real-
time delivery
Layer1: Hub,
Layer 2: Network Switch, Bridge,
Layer 3: Router
Layer 1-7:
Any Device connected to a network is called Host.
Two types of Hosts – Server and Client
Client Machines - Workstations, Desktops, Laptops, PCs,
phones, etc. also called end user devices. Used to access
services provided by the network. Client machines request
for services from servers.
Servers – Host the applications or services needed by the
network users. Server provides these services to user via the
client machines
Differences
Server Client
Memory Large storage Very small storage
space space
Processing power CPU has very high CPU has very low
power power
Cost Expensive Cheap
Number of users Many users One user
supported
Usage Very high usage – 20min/day
24hours/365 days
Power Supply Always on Not always on
Service/operation Offers service to Request for
clients services from the
server
IP Addresses
• Network numbers.
• Used in layer 3
• Uniquely identify a computer in a network and also
identify the network the computer belongs to. Eg
computer 1 in network 100
• Logical number – Temporary and can be assigned and
de-assigned to a host
• Assigned to the network interface card of a device.
Types:
Two main types/versions of IP addresses: Version 4 and
Version 6
Denotes as:
• Version 4 : IPv4
• Version 6: IPv6
Differences
IPv4 – 32bits long, expressed using (.) and decimal notation
IPv6 - 128bits long, expressed using (:) and hexadecimal
notation
Structure IPv4
32 bits long
- Divided into groups of 8bits; we get 4 groups of
8bits. A group of 8bitsis called Byte or Octet or
word
- Each byte is separated from the other using a (.)
- Each byte is the expressed in the decimal number
notation.
2910 = 111012
Converting to Decimal
Use the place value, total value concept
298 – 2(hundred), 9 (tens), 8 (ones)
111012= 2910
27 26 25 24 23 22 21 20
101010102 1 0 1 0 1 0 1 0
170 128 0 32 0 8 0 2 0
10101010 1 0 1 0 1 0 1 0
170 128 0 32 0 8 0 2 0
10101111 1 0 1 0 1 1 1 1
175 128 0 32 0 8 4 2 1
11111101 1 1 1 1 1 1 0 1
253 128 64 32 16 8 4 0 1
170.170.175.253
Structure of IPv6
128 Bits Long
- Divide it into groups of 16bits to get 8 groups of 16
bits long
- Separate the groups using (:)
Eg
1010101010101010:1010111111111101:
1010101010101010:1010111111111101:
1010101010101010:1010111111111101:
1010101010101010:1010111111111101
- Divide each group of 16bits into 4 Nibbles
- Express each nibble in hexadecimal format
AAAA:AFFD:AAAA:AFFD:AAAA:AFFD:AAAA:AFFD