Lab 4
Lab 4
Lab 4
SUBNETS
LAB 4
WHAT IS A SUBNET?
• The IP address is always acompanyed with a subnet mask. The subnet mask allows you to know
the netwoek ID and host ID
IP ADDRESSES
l When a packet enters a network with subnetting, the routers will behave differently
l A route may use the subnet ID (network portion + subnet portion, followed by zeroes) to determine
which route to take
CALCULATING SUBNET IDS
¡ Calculating the subnet ID is very much the same process as calculating a network
¡ ID (net ID)
¡ The difference is that typically net IDs are calculated using one of the three standard subnet masks:
¡ 255.0.0.0 (Class A)
¡ 255.255.0.0 (Class B)
¡ 255.255.255.0 (Class C)
¡ In this case you take 3 bits from the host ip to reprent the
subnets
¡ You start taking these bits from most significant bits (from right to
left)
CALCULATING SUBNET IDS