subnet mask
subnet mask
Given two devices with IP addresses 10.10.10.1 and 10.20.5.3, and both using
the subnet mask 255.0.0.0, determine whether these devices belong to the same
network or different networks.
Explain your answer by calculating their network addresses.
Question 2:
Two devices have IP addresses 192.168.5.10 and 192.168.6.15. Both are using the
subnet mask 255.255.255.0. Determine whether these devices belong to the same
network or different networks.
Question 3:
Two devices have IP addresses 172.16.20.5 and 172.16.30.8. Both devices use
the subnet mask 255.255.0.0. Determine whether these devices belong to the
same network or different networks.
What is classless addressing?
CIDR Notation:
Example:
In your answer, calculate the network, broadcast, and valid host range for the
subnet 10.16.3.65/23, and evaluate each statement for accuracy. Describe the
method used to identify the network and broadcast addresses, including how
subnet masks and IP ranges are applied to find valid host addresses within a
subnet.
06.Given the IP address 10.145.100.6 with a subnet mask of /27, identify
the host range of the subnet to which this IP address belongs. Explain in
detail the steps taken to determine the network address, the range of valid
host addresses, and the broadcast address for this subnet.
Answer
To find the network address, we perform a bitwise AND operation between the
IP address and the subnet mask:
To find the network address, we perform a bitwise AND operation between the
IP address and the subnet mask:
00001010.10010001.01100100.00000110
Subnet mask:
11111111.11111111.11111111.11100000
00001010.10010001.01100100.00000000
10.145.100.0
Step 3: Determine the Broadcast Address
The broadcast address is found by setting all host bits (last 5 bits) to 1:
10.145.100.31
The valid host range falls between the network address and the broadcast
address. Thus, the host range starts from the address right after the network
address and ends with the address right before the broadcast address: