4 votes 4 votes Consider the following forwarding table in a router that uses longest prefix matching to forward packets. Assume that 4-bit addressing is used.$$\begin{array}{c|c}\hline \text{prefix} & \text{interface} \\\hline X & 1 \\Y & 2 \\\text{Otherwise} & 3 \\\hline\end{array}$$We know that packets with an address of 0100 are forwarded to Interface 1 and packets with an address of 0010 are forwarded to Interface 2.Which of the following CAN be the values for $X$ and $Y?$$X=0$ and $Y=00$$X=01$ and $Y=00$$X=010$ and $Y=00$$X=00$ and $Y=0$ Computer Networks goclasses2024-mockgate-14 computer-networks ip-packet multiple-selects 2-marks + – GO Classes asked Feb 5 • edited Feb 5 by Lakshman Bhaiya GO Classes 487 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Sanidhya Dakhera commented Feb 9 reply Follow Share @Sachin Mittal 1 sir, How is option A correct?How can prefix for 1 be the subset of another? 0 votes 0 votes Sachin Mittal 1 commented Feb 9 reply Follow Share It is definitely possible, what is problem in that ? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes p1 = 0100 p2 = 0010 A) 0,00->P1-X,P2-Y B) 01,00->P1-X,P2-Y C) 010,00-> P1-X,P2-Y D) 00,0 -> P1-Y,P2-X SO A,B,C can be the correct prefit Jayaprakash M answered Apr 5 Jayaprakash M comment Share Follow See all 0 reply Please log in or register to add a comment.