Lab 3
Lab 3
Lecture 3
Addressing
- Logical
- Physical
2
Physical Addressing
3
Logical Addressing
5
IPv4 ADDRESSES
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
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
Find the error, if any, in the following 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.
d. A mixture of binary notation and dotted-decimal 17
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
20
Classful Addressing
Example
23