Using the /24 subnet mask will place the devices in one network however using the /25 subnet mask will place the host in a different subnet if we use the address from the above two ranges. Now, we have to use the new subnet mask while assigning the IP addresses to the end devices. To create two subnets, we have to convert one host bit to a network bit so the new subnet mask will be 255.255.255.128 or /25 in CIDR notation With 8 bits for hosts you could have 28 - 1 254 IP addresses that are part of the same network. A class C address had a default subnet mask of 255.255.255.0 meaning 24 bits decide which network and the last 8 bits are for the host. Most of the home routers available in the markets use the class c range to assign an IP address to the hosts and we use the IP address from the same network to manage the device.Ĭreating more networks from IP address range 192.168.1.0/24 to 192.168.1.255 The maximum number of hosts is achieved by using the default subnet mask for each class (i.e. Problem 1: Previously IP addresses were divided into classes A, B and C. 150.150.0.0 address with a subnet mask of 255.255.0.0 now, we will change the host bits to network bits so the new subnet mask will be 255.255.255.0 and the IP range will be from 150.150.0.0 to 150.150.0.255. Class A, B, and C networks have natural masks, or default subnet masks: Class A: 255.0.0.0 Class B: 255.255.0.0 Class C: 255.255.255. Class C is for smaller networks with fewer than 254 hosts. If we have a default class b network address with the default subnet mask of /16 then we can change it to /24 to create a subnetted network address.įor E.g. In a Class C subnet mask, the network portion is the first three octets with the hosts and subnets in just the remaining 8 bits of octet 4. ![]() This is because the default subnet mask for a. If we want to create more networks then we can change the existing host bits to network bits then a new subnet mask will be created however it will reduce the number of host IPs available to be assigned to the devices. For example, an IP class A address consists of 8 bits identifying the network and 24 bits identifying the host. However, we can further create more networks by changing the default subnet mask. This address range is the most common range used in private networks because it gives relatively fewer host addresses which reduces the requirement of subnetting. We can use 254 of those host addresses as two are reserved for network ID and broadcast address. Class A subnet masks are associated with IP addresses that begin with the number 1 through 126, and the subnet mask for Class A is 255.0.0.0. It has 4 octets, all ones represent a network and Zeroes represent a host so /24 subnet mask gives us 256 host addresses. ![]() 24 subnet mask is the default subnet mask of the class c network which means all IP addresses in the range from 192.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |