Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which subnet does host 172.31.199.202/28 belong to? 2. What is the last valid

ID: 3590476 • Letter: 1

Question


1. Which subnet does host 172.31.199.202/28 belong to? 2. What is the last valid host on the subnetwork 172.19.64.0 255.255.240.0? 3. What is the last valid host on the subnetwork 192.168.240.192/27? 4. What is the first valid host on the subnetwork that the node 192.168.157.146 255.255.255.252 belongs to 5. What is the last valid host on the subnetwork 172.29.224.0 255.255.255.0? 6. What is the last valid host on the subnetwork 172.31.0.0 255.255.248.0? 7. What valid host range is the IP address 172.20.225.109/24 a part of? 8. What valid host range is the IP address 192.168.57.149/28 a part of? 9. What is the broadcast address of the network 172.18.168.0 255.255.252.0? 10. What is the first valid host on the subnetwork that the node 172.23.242.21 255.255.248.0 belongs to? 11. What valid host range is the IP address 192.168.221.30/26 a port of? 12. How many subnets and hosts per subnet can you get from the network 192.168.222.0 255.255.255.248? 13. You are designing a subnet mask for the 192.168.62.0 network. You want 20 subnets with up to 4 hosts on each subnet. What subnet mask should you use? 14. What is the broadcast address of the network 172.26.184.192/28? 15. What is the broadcast address of the network 192.168.14.36 255.255.255.252?

Explanation / Answer

The host with IP address 172.31.199.202/28 - Since its classless address and the number of bits for network ID that are in IP address is 28 bits thus its binary representation will be:  10101100 . 00011111. 11000111 . 11001010 (underlined is the network ID part of address. Thus the SUBNET MASK will be : 11111111 . 11111111 . 11111111 . 11110000 i.e 255.255.255.240 (host ID part is '0' and network ID part is '1') Performing Bitwise AND operation on both we get : 10101100 . 00011111. 11000111 . 11000000 which is 172.31.199.192 and This is the subnet to which 172.31.199.202 belongs. Given subnetowrk 172.19.64.0 subnet mask 255.255.240.0 : Binary representation of Subnet mask 255.255.240.0 is 11111111 . 11111111 . 11110000 . 00000000 since its subnet mask we know that the network ID are the 1's part , thus 20 bits. Therefore , in the Subnetwork 172.19.64.0 or 10101100 . 00010011 . 10000000 . 00000000 (the bold part is the network ID part) the host ID part will only change to 1's leaving last Bit (as all 1's in host ID gives the Direct Broadcast ID). Thus the last valid host id will be : 10101100 . 00010011 . 10001111 . 11111110 or 172.19.79.254 (Answer) Given Classless address 192.168.240.192 /27 : Since, its given /27 its means that 27 bits of the given Subnetwork is the network ID part are remaining 5 are host ID part. The Binary representaion : 11000000 . 10101000 . 11110000 . 11000000 (bold is network ID part). To get the last valid host , change the host ID to 1's leaving last bit.( As all 1's in host including last bit will give directed broadcast ID). Thus, last valid host is 11000000 . 10101000 . 11110000 . 11011110 or 192.168.240.222 Given node 192.168.157.146 in a subnetwork with subnet mask 255.255.255.252  : From the Subnet mask 255.255.255.252 or 11111111.11111111.11111111.11111100 (Bold represents network ID part) we know that last 2 bit is for host ID . Thus bitewise ANDing subnet mask and nope ip address 192.168.157.146 or 11000000.10101000.10011101.10010010 we will get the network ID of the subnet. that will get 11000000.10101000.10011101.10010000 and this is Network ID for the subnetowork, thus 1st valid host will be 11000000.10101000.10011101.10010001 or 192.168.157.145 (Answer). Given subnetowrk 172.29.224.0 subnet mask 255.255.255.0 : Binary representation of Subnet mask 255.255.255.0 is 11111111 . 11111111 . 11111111 . 00000000 since its subnet mask we know that the network ID are the 1's part , thus 24 bits. Therefore , in the Subnetwork 172.29.224.0 or 10101100 . 00011101 . 11100000 . 00000000 (the bold part is the network ID part) the host ID part will only change to 1's leaving last Bit (as all 1's in host ID gives the Direct Broadcast ID). Thus the last valid host id will be : 10101100 . 00011101 . 11100000 . 11111110 or 172.29.224.254 (Answer)