Setting up Routing Subnets on a Novlan Network: Dividing a Physical Network with Different Masks
In this article, we will discuss how to divide a physical network using Novlan technology and different subnet masks. This is useful when you want to separate a network into multiple subnets while still allowing communication between them. In this example, we will use the physical network with the IP address 172.16.28.0 and divide it into multiple subnets, while also ensuring that the gateway 172.16.28.1 has access to all the subnets.
Understanding Subnetting
Subnetting is the process of dividing a single physical network into multiple smaller networks called subnets. This is done by using a subnet mask, which is a 32-bit number that masks the host portion of an IP address. The subnet mask is used to divide the IP address into a network portion and a host portion. The network portion is used to identify the network, while the host portion is used to identify the individual devices on the network.
Planning the Subnets
Before dividing the network, it is important to plan the subnets. This includes determining the number of subnets needed, the size of each subnet, and the range of IP addresses for each subnet. In this example, we will divide the physical network 172.16.28.0 into four subnets, each with a size of /26 (256 addresses). The range of IP addresses for each subnet will be as follows:
- Subnet 1: 172.16.28.0 - 172.16.28.63
- Subnet 2: 172.16.28.64 - 172.16.28.127
- Subnet 3: 172.16.28.128 - 172.16.28.191
- Subnet 4: 172.16.28.192 - 172.16.28.255
Configuring the Subnets
To configure the subnets, you will need to use a router that supports Novlan technology. The router will need to be configured with the subnet information, including the subnet mask and the range of IP addresses for each subnet. The gateway 172.16.28.1 will also need to be configured with a default route that points to the router.
Router(config)# interface Vlan1
Router(config-if)# ip address 172.16.28.1 255.255.255.192
Router(config-if)# no shutdown
Router(config)# interface Vlan2
Router(config-if)# ip address 172.16.28.64 255.255.255.192
Router(config-if)# no shutdown
Router(config)# interface Vlan3
Router(config-if)# ip address 172.16.28.128 255.255.255.192
Router(config-if)# no shutdown
Router(config)# interface Vlan4
Router(config-if)# ip address 172.16.28.192 255.255.255.192
Router(config-if)# no shutdown
Router(config)# ip route 0.0.0.0 0.0.0.0 172.16.28.1Testing the Subnets
After configuring the subnets, it is important to test the configuration to ensure that the subnets are working correctly. This can be done by pinging the gateway from each subnet and also by pinging devices in different subnets. If the pings are successful, then the subnets are working correctly.
In this article, we have discussed how to divide a physical network using Novlan technology and different subnet masks. This is useful when you want to separate a network into multiple subnets while still allowing communication between them. We have also discussed the steps to plan, configure, and test the subnets. By following these steps, you can easily divide a physical network into multiple subnets and ensure that the gateway has access to all the subnets.
References
- Cisco. (2021). Subnetting a Class C Network. https://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/13788-3.html
- Microsoft. (2021). How to Subnet a Class C Network. https://docs.microsoft.com/en-us/troubleshoot/windows-hardware/networking/how-to-subnet-a-class-c-network
--endarticle--