The address assigned to a network connection is known as an IP address. An IP address doesn't uniquely identify a device on a network, but it does specify a specific network connection. IP address is assigned by the network administrator or by the internet service provider.
There are 5 classes of IP4 address :
- Class A - It ranges from 0.0.0.0 to 127.255.255.255
- Class B - It ranges from 128.0.0.0 to 191.255.255.255
- Class C - It ranges from 192.0.0.0 to 223.255.255.255
- Class D - It ranges from 224.0.0.0 to 239.255.255.255
- Class E - It ranges from 240.0.0.0 to 255.255.255.255
The default subnet mask for class C IP address is 255.255.255.0.
The steps for implementing the class C IP address in the local area network are as follows :
- Assign any IP address of class C to the device
Let Computer has IP address 192.168.1.1
and router has IP address 192.168.1.2
2. Now, Configuring the subnet mask to this IP address.
The default subnet mask of Class C is 255.255.255.0
3. Now, Set the default gateway
Configure all the devices to use the router's IP address i.e. 192.168.1.2
4. Enable DNS
5. Now, Ping the IP address to verify the configuration and connections.