Before we get into the recipe, there are three networking terms that we will encounter here. So, let's give our memory a quick brush over by looking at the following terms:
- Subnetwork or subnet is the concept of dividing a large network into smaller, identifiable parts. Subnetting is done to increase the address utility and security.
- A netmask is a 32-bit mask that is used to divide an IP address into subnets and specify the network's available hosts.
- The gateway specifies the forwarding or the next hop IP address over which the set of addresses defined by the network destination and subnet mask are reachable.
We will be using these three terms when we deal with the route command and other network commands.