tryhackme: Subnetting? ARP And DHCP.
A Primer on Subnetting
-------------------------------
Subnet Mask
As we've previously discussed throughout the module so far, Networks can be found in all shapes and sizes - ranging from small to large. Subnetting is the term given to splitting up a network into smaller, miniature networks within itself. Think of it as slicing up a cake for your friends. There's only a certain amount of cake to go around, but everybody wants a piece. Subnetting is you deciding who gets what slice & reserving such a slice of this metaphorical cake.
Subnets use IP addresses in three different ways:
* Identify the network address
* Identify the host address
* Identify the default gateway
-------------------------------------------------------------------------------------------------------------
1. Purpose of a Network Address: This address identifies the start of the actual network and is used to identify a network's existence.
For example, a device with the IP address of 192.168.1.100 will be on the network identified by 192.168.1.0
-------------------------------------------------------------------------------------------------------------
2. Purpose of a Host Address: An IP address here is used to identify a device on the subnet
For example, a device will have the network address of 192.168.1.1
-------------------------------------------------------------------------------------------------------------
3. Purpose of a Default Gateway: The default gateway address is a special address assigned to a device on the network that is capable of sending information to another network
Any data that needs to go to a device that isn't on the same network (i.e. isn't on 192.168.1.0) will be sent to this device. These devices can use any host address but usually use either the first or last host address in a network (.1 or .254)
-------------------------------------------------------------------------------------------------------------
Subnetting provides a range of benefits, including:
* Efficiency
* Security
* Full control
-------------------------------------------------------------------------------------------------------------
0-255 is the range of an octet(254 devices )/ a subnet mask consist of 32bits.
Note: Here is an important online calculator that even network engineers use to subnet networks. Another one here aswell
-------------------------------------------------------------------------------------------------------------
Comments