1.A router R has forwarding table: 6 pts Network/Mask Next_Hop 128.235.223.0/24
ID: 3712014 • Letter: 1
Question
1.A router R has forwarding table: 6 pts
Network/Mask Next_Hop
128.235.223.0/24 deliver directly
128.235.176.0/20 128.235.184.1
128.235.168.0/21 128.235.170.1
128.235.176.0/21 128.235.178.1
128.235.172.0/22 128.235.172.1
0.0.0.0/0 128.235.178.1
Explain what router R will do with packets with the following destination addresses. Make sure to use the longest match rule if necessary.
a.128.235.223.15
b.128.235.173.8
c.128.235.160.10
Explanation / Answer
a.128.235.223.15: While ANDing with subnet 255.255.255.0, we will get network address of 128.235.223.0 which means it will be delivered directly.
b.128.235.173.8: While ANDing with subnet 255.255.252.0, we will get network address of 128.235.172.0 which means it will be delivered to 128.235.172.1.
c.128.235.160.10: While ANDing with subnet 255.255.240.0, we will get network address of 128.235.160.0 which means its network address is 0.0.0.0 as there is network with network address 128.235.160.0. So it will be delivered to 128.235.178.1
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.