QUESTION 4 Part A Consider the forwarding table below On whi
QUESTION 4 Part A
Consider the forwarding table below.
On which interface would a packet with a destination address of 224.64.195.60 be sent?
Answer:_____________
Part B
Consider the forwarding table below.
On which interface would a packet with a destination address of 224.60.65.137 be sent?
Answer:_____________
Please show work and explanantion to compare it to my approach. Thanks
| Destination Network | Outgoing Interface |
| 224.0.0.0/10 | 0 |
| 224.64.0.0/16 | 1 |
| 224.64.32.0/19 | 2 |
| otherwise | 3 |
Solution
Answer 4:
First we find the largest mask from the destination network. After getting the largest Mask , we will AND it with the given IP address and which with which it matches.
First let us take 224.0.0.0/10 , 32 - 10 = 22
Therefore mask = 11111111.11111111.11111100 .00000000
Given IP = 224.64.195.60 = 11100000 .01000000. 11000011 . 00111100
Now perform ANDing :
11111111. 11111111. 11111100. 00000000
11100000 . 01000000. 11000011 . 00111100
----------------------------------------------------------------
11100000 . 01000000 . 11000010 . 00000000.
Now it becomes : 224 . 64 . 194 . 0 , thus it matches with the destination network : 224.0.0.0/10
The network is 224.0.0.0/10
