IP Addressing Tutorial
IP Addressing Tutorial
Solution:
The default subnet mask for class C is 255.255.255.0
24 bits set to 1, used to identify the network. 8 bits set to 0, used to identify the
host.
These host bits can be borrowed( borrowed bits from host will be changed from
0 to 1).
24 = 16 , 16 new networks are created.
New subnet mask is 255.255.255.240
The number of hosts for each new network is 24 − 2 = 14 useable host /
network.
192.168.254.0 255.255.255.240
Network 1:
192.168.254.0 network address
192.168.254.15 broadcast address
Network 2:
192.168.254.16 network address
192.168.254.31 broadcast address
Network 3:
192.168.254.32 network address
192.168.254.47 broadcast address
Network 4:
192.168.254.48 network address
192.168.254.63 broadcast address
Network 5:
192.168.254.64 network address
192.168.254.79 broadcast address
Network 6:
192.168.254.80 network address
192.168.254.95 broadcast address
Network 7:
192.168.254.96 network address
192.168.254.111 broadcast address
Network 8:
192.168.254.112 network address
192.168.254.127 broadcast address
Network 9:
192.168.254.128 network address
192.168.254.143 broadcast address
Network 10:
192.168.254.144 network address
192.168.254.159 broadcast address
Network 16:
192.168.254.240 network address
192.168.254.255 broadcast address
To determine the range for the hosts of the first new network:
Example (2): an administrator have 192.168.1.0/24 network. the administrator
has four different departments with different number of hosts. Sales department
has 100 computers, Purchase department has 50 computers, Accounts has 25
computers and Management has 5 computers. Assign partition IP addresses.
Sales 100
Purchase 50
Accounts 25
Management 5
2- Allocate the highest range of IPs to the highest requirement.
Sales Network
27 − 2 = 126 valid host, so the new subnet mask will be assigned to the Sales
department is :
192.168.1.0 /25 (255.255.255.128)
192.168.1.127 broadcast address
Purchase network
26 − 2 = 62
192.168.1.128/26 (255.255.255.192)
192.168.1.191 broadcast address
Accounts Network
25 − 2 = 30 valid host IP address
192.168.1.192/ 27 ( 255.255.255.224)
192.168.1.223 broadcast address
Management Network
23 − 2 = 6 valid host IP address
192.168.1.224/29 ( 255.255.255.248)
192.168.1.233 broadcast address