Lab 4
Lab 4
LAB 4
Classes of IPv4 Address
Address 1st Octet range 1st Octet bits Network(N) Default mask Number of possible networks
Class in decimal (Blue dots do not And (Decimal) and hosts per network
change) Host(H) portion
A 0-127 00000000- N.H.H.H 255.0.0.0 128 Nets (2^7)
01111111 16,777,214 hosts (2^24-2)
B 128-191 10000000- N.N.H.H 255.255.0.0 16,384 Nets (2^14)
10111111 65,534 hosts (2^16-2)
C 192-223 11000000- N.N.N.H 255.255.255.0 2,09,150 Nets (2^21)
11011111 254 hosts (2^8-2)
D 224-239 11100000- NA (Multicast) - -
11101111
E 240-255 11110000- NA - -
11111111 (Experimental)
Classes of IPv4 Address
Activity
IP Address Class ?
192.168.1.10
10.10.200.6
172.15.165.1
230.10.65.30
Activity
IP Address Class
192.168.1.10 C
10.10.200.6 A
172.15.165.1 B
230.10.65.30 D(Multicast)
Subnet Mask
Question 1:
Solution 1:
Class C network
N.N.N.H (255.255.255.0 or /24)
192.168.17.9
This network: 192.168.17.0-192.168.17.255
Number of addresses: 2^8 = 256
First address: 192.168.17.0 (Network Address)
Last address: 192.168.17.255 (Broadcast Address)
Classful Addressing
Question 2:
Solution 2:
Class B network
N.N.H.H (255.255.255.0 0r /16)
185.28.17.9
This network: 185.28.0.0-185.28.255.255
Number of addresses: 2^16 = 65536
First address: 185.28.0.0 (Network Address)
Last address: 185.28.255.255 (Broadcast Address)
Classless Addressing
1. Identify the class of the IP address and note the Default Subnet Mask.
2. Convert the Default Subnet Mask into Binary
3. Note the number of hosts required per subnet and find the Subnet Generator (SG)
and octet position.
4. Generate the new subnet mask.
5. Use the SG and generate the network ranges (subnets) in the appropriate octet
position.
Subnetting (Activity 1)
2. 11111111.11111111.11111111.00000000
11111111.11111111.1111111.11100000
2. 11111111.11111111.11111111.00000000
11111111.11111111.1111111.11000000
2. 11111111.11111111.00000000.00000000
11111111.11111111.1111110.00000000
Solution:
2^5 = 32
32 – 2 = 30
Subnetting (Activity 4)
Solution:
2^5 = 32 = 32-2 = 30
255.255.255.11111xxx = 255.255.255.248
X.X.X.10000000
How many Subnets? 2^1 = 2
How many hosts? 2^7= 128-2 = 126
Valid Subnets? 256-128 = 128
Subnet ranges?
192.168.10.0 – 192.168.10.127
192.168.10.128 – 192.168.10.255
Home Task