Computer Science, asked by laverenelopez, 1 year ago

An entry in the routing table has 135.46.56.0 as the destination and/22 as the subnet mask what will be the network address

Answers

Answered by apocritia
1

Answer:

192.53.40.0/23.

Explanation:

Since the subnet mask is given as /22 this means that there are 22 bits in network ID and remaining (32-22)=10 bits in host ID.

The router will check the routing entry starting with the longest prefix (/23), 192.53.40.0/23. /23 mean network address is 23 bit and the corresponding network mask is 255.255.255.0.  

135.45.63.10 & 255.255.254.0=135.45.62.0 != 192.53.40.0 therefore this entry does not match. Next longest prefix is /22. 135.45.63.10 & 255.255.252.0=135.45.60.0. It matches 135.45.60.0/22 routing entry, therefore the packet will be routed out over Interface 1. With quick observation, we can skip the routing entry with 192.53.40.0/23 but the router cannot.  

Similar questions
Math, 1 year ago