Network Lab 2
Network Lab 2
Lecture 2
Prepared By:
Eng. Thuraia Alnahari
Addressing
- Logical
- Physical
2
Physical Addressing
3
Logical Addressing
4
IPv4 ADDRESSES
5
IPv4 ADDRESSES
Network Host
6
IPv4 ADDRESSES
Answer = 176
7
IPv4 ADDRESSES
Converting from Decimal to Binary
8
IPv4 ADDRESSES
9
Subnet mask :A 32 bit combination used to describe which
partition of IP address refers {which Network part, which Host part}
Ex: 255.255.255.0
Prefixes: The prefixes length is the number of bit in the address that
gives us the network part
10
Example
Host ?
Network ?
Solution
Host ?= 8
Network ?=24
11
Example
255.255.0.0
Host ?
Network ?
Solution
Host ?= 16
Network ?=16
12
Example
255.128.0.0
Host ?
Network ?
Solution
Host ?=23
Network ?=9
13
Example
255.255.248.0
Host ?
Network ?
Solution
Host ?=11
Network ?=21
14
IPv4 ADDRESSES
Example
Solution
15
IPv4 ADDRESSES
Example
Solution
16
IPv4 ADDRESSES
Example
Solution
a. There must be no leading zero (045).
b. There can be no more than four numbers.
c. Each number needs to be less than or equal to 255.
17
d. A mixture of binary and dotted-decimal notation is not allowed.
Classful Addressing
18
Classful Addressing
• IP addresses are grouped into classes (A,B,C,D,E)
depending on the size of the network identifier and the
host part of the address
19
Classful Addressing
Binary Decimal
20
Classful Addressing
Example
Coaxial cables
Fiber-optic cables
24
Crossover
26
Rollover
27