IP Address
IP Address
IP Addresses
IP run at network layer - it must be
capable of providing communication
between hosts on different kinds of
networks.
Consider network address 141.14.0.0, create 254 subnets with 254 hosts per subnet
Class B Subnetting Reference Chart
Number of Bits Subnet Mask Number of Subnets Number of Hosts
2 255.255.192.0 2 214-2
3 255.255.224.0 6 213-2
4 255.255.240.0 14 212-2
5 255.255.248.0 30 211-2
6 255.255.252.0 62 210-2
2 255.255.255.192 2 26-2
3 255.255.255.224 6 25-2
4 255.255.255.240 14 24-2
5 255.255.255.248 30 23-2
6 255.255.255.252 62 22-2
Masking
Example
Q. IP Address: 187.199.127.5
Sub-net mask: 255.255.255.0
A. Network Class: B
Network ID: 187.199
Result of logical AND operation: 187.199.127
Sub-network ID: 127
Host ID: 5
Q. IP Address: 187.199.127.5
Sub-net mask: 255.255.240.0
A. Network Class: B
Network ID: 187.199
Result of logical AND operation: 187.199.112.0
Sub-network ID: 112
Host ID: 15.5
Example(Continued..)
Q. IP Address: 187.199.127.5
Sub-net mask: 255.255.128.0
A. Network Class: B
Network ID: 187.199
Result of logical AND operation: 187.199.0.0
Sub-network ID: 0
Host ID: 127.5
Types of subnetting