Network Layer - Part 1
Network Layer - Part 1
Network Layer - Part 1
By
Abdul Ghofir, M.Kom
Ref: Forouzan, Data Communications and Networking
Logical Addressing
1. Private IP
• IP Address with a special network address that is used for addressing in the local
network.
• To find out the Private IP is by typing “IPCONFIG” at the Command prompt
➢ Class A : 10.0.0.0 –10.255.255.255
➢ Class B :172.16.0.0 – 172.31.255.255
➢ Class C : 192.168.0.0 – 192.168.255.255
2. Public IP
• It’s an IP Address used on the internet, provided by the ISP
• The way to find out a public IP is by using a particular website.
For example: www.ipsaya.com
IP Address Implementation
1. Static IP
• It’s an IP address that is permanently owned by a computer system.
• It sets manually by Network Admin.
2. Dynamic IP
• An IP Address on a computer system that always changes according to the
use of the IP Address in the network at that time, which is set by the DHCP
(Dynamic Host Configuration Protocol) Server.
IP Address Implementation on Windows
IPv4 Addresses
232 or 4,294,967,296.
IPv4 Addresses
Solution
We replace each group of 8 bits with its equivalent decimal
number and add dots for separation.
a. X . Y . Z .T
b. X . Y . Z . T
19.12
Example 2:
Solution
We replace each decimal number with its binary
equivalent
19.13
Example 3:
19.14
SUBNETTING
Subnet Mask
10 1
0 0
1 0 0
1 0 01 0
N = 0 – 7 (8 Bit) 27 26 25 24 23 22 21 20
Result 128 64 32 16 8 4 2 1
Sum
Conversion for Decimal to Binary
5 digit
128 64 32 16 8 4 2 1
192 1 1 0 0 0 0 0 0
168 1 0 1 0 1 0 0 0
100 0 1 1 0 0 1 0 0
20 0 0 0 1 0 1 0 0
Classful Addressing
and
Classless Addressing
19.19
Classful Addressing
19.22
Classful Addressing
Classes and Blocks
or
205.16.37.32
Classless Addressing