Address/Mask
Next Hop
135.46.56.0/22
Interface 0
135.46.60.0/22
Interface 1
192.53.40.0/23
Router 1
Default
Router 2
For each of the following IP addresses, what does the router do if a packet with that address arrives?
1. 135.46.63.10
2. 135.46.57.14
3. 135.46.52.2
4. 192.53.40.7
5. 192.53.56.7 g entirely with bytes is much simpler than working with individual bits. Answers:
1. 135.46.63.10
Using the first 22 bits of it as the network address, we have 135.46.60.0. the bit pattern of 135.46.63.10 is 10000111.00101110.00111111.00001010 at this point when we perform the bit and operation with a 22 leading bit the 1s and 10 bit 0s, this the same and similar of making the ultimate or the last zero. We accept the subsequent network address bit pattern: 10000111.00101110.00111100.00000000. At this period, the first two bytes are not changed. However, the 3rd type shifts from 63 to 60 while the 4th bytes convert zero. Match with the network address in the routing table. The 2nd-row matches. The router will transmit the packet to interface 1. …show more content…
135.46.57.14
Using the first 22 bits of the above IP address as a network address, we have 135.45.56.0. This matches the network address of the first row. The packet will be forwarded to interface