A subnet (short for subnetwork) is a logical subdivision of an IP network. By creating subnets, you can organize and manage your network more efficiently. Here’s a detailed definition: - kondareddypp/azure-network-fundamentals GitHub Wiki

image

Example

Let’s say we have a network 192.168.0.0/24, and we want to divide it into two subnets:

Subnet 1: 192.168.0.0/25

Subnet Mask: 255.255.255.128

Host Range: 192.168.0.1 - 192.168.0.126

Total Hosts: 126

Subnet 2: 192.168.0.128/25

Subnet Mask: 255.255.255.128

Host Range: 192.168.0.129 - 192.168.0.254

Total Hosts: 126

image

Benefits

Improved Security: By segmenting your network, you can control access and enforce security policies more effectively.

Enhanced Performance: Reduces broadcast traffic, which improves network performance.

Simplified Management: Makes it easier to manage and troubleshoot the network by dividing it into smaller, more manageable pieces.