IP Addresses Are Broken Into The Two Components
IP Addresses Are Broken Into The Two Components
IP Addresses Are Broken Into The Two Components
A 255.0.0.0 First 8 bits Last 24 bits 16, 777, 216 16, 777
Subnet mask
Subnet mask is a 32 bits long address used to distinguish between network
address and host address in IP address. Subnet mask is always used with IP
address. Subnet mask has only one purpose, to identify which part of an IP
address is network address and which part is host address.
For example how will we figure out network partition and host partition from
IP address 192.168.1.10 ? Here we need subnet mask to get details about
network address and host address.
In decimal notation
IP address 192.168.1.10
Subnet mask 255.255.255.0
Advantages:-
Network performance and speed improves
Data delivery is more efficient.
Network security improves.
Administration eases.
Maintain separation between different departments in an organization
Subnetting allows you to save money by reducing requirement for IP
range.
Broadcast address is the last address of subnet. This address is reserve for network
broadcast, and cannot be assigned to any host. In above example