Question

If the destination IP address of a packet matches three forwarding rules 128.0.0.0/16, 128.0.0.0/20, 128.0.0.0/24, which...

If the destination IP address of a packet matches three forwarding rules 128.0.0.0/16, 128.0.0.0/20, 128.0.0.0/24, which rule will the router use?

• (1) 128.0.0.0/16

• (2) 128.0.0.0/20

• (3) 128.0.0.0/24

• (4) None of the above

please explain your answer.

0 0
Add a comment Improve this question Transcribed image text
Answer #1


(3) 128.0.0.0/24

router picks the IP which matches the longest
if 128.0.0.0/24 is matched, then first 24 bits are matched
if 128.0.0.0/20 is matched, then first 20 bits are matched
if 128.0.0.0/16 is matched, then first 16 bits are matched

since 128.0.0.0/24 matches the most, router picks it.
Add a comment
Know the answer?
Add Answer to:
If the destination IP address of a packet matches three forwarding rules 128.0.0.0/16, 128.0.0.0/20, 128.0.0.0/24, which...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. To which of the following subnets does IP address 225.3.2.22 belong? 225.3.2.0/24 225.3.2.22/24 225.2.3.0/24 225.0.0.0/24...

    1. To which of the following subnets does IP address 225.3.2.22 belong? 225.3.2.0/24 225.3.2.22/24 225.2.3.0/24 225.0.0.0/24 none of the above Question 2 On which of the following devices does the transport layer NOT run? laptop router cellphone A, B and C none of the above Question 3 What is the source address contained in the discover message sent by a host that is wanting to obtain an IP address? 255.255.255.255 0.0.0.0 the IP address of the server the last IP...

  • Consider the following forwarding table. Destination Address Range Link Interface 10000011 00000001 00110000 00000000 through                   &nbsp

    Consider the following forwarding table. Destination Address Range Link Interface 10000011 00000001 00110000 00000000 through                                 10000011 00000001 00110111 11111111 0 10000011 00000001 00111000 00000000 through 10000011 00000001 00111111 11111111 1 10000011 00000001 00110000 00000000 through 10000011 00000001 00110001 11111111 2 10000011 00000001 00110010 00000000 through 10000011 00000001 00110011 11111111 3 Otherwise 4 a) For each of the following IP address, what does the router do if packets with the following addresses arrive? Explain why briefly. 131.1.64.1     131.1.51.20    131.1.49.7     131.1.60.120   131.1.52.59  ...

  • If the "System 1" sends a packet with a destination address of "System 2", with a...

    If the "System 1" sends a packet with a destination address of "System 2", with a TTL=3, which system will respond with an ICMP error message? Assume all systems will send and respond to ICMP messages. 1. System 1 2. Router 1 3. Router 2 4. Router 3 5. System 2

  • Test Your Understanding 10. a) Distinguish between Step 1 and Step 2 in the routing process. b) If any row other than the default row matches an IPv4 address, why will the router never choose...

    Test Your Understanding 10. a) Distinguish between Step 1 and Step 2 in the routing process. b) If any row other than the default row matches an IPv4 address, why will the router never choose the default row? c) Which rows in Figure 8-11 match 128.171.17.13? (Don't forgst the default row.) Show your calculations for rows that match. d) Which of these is the best-match row? Justify your answer. e) What rows match 172.40.17.6? Show your calculations for rows that...

  • souter that has 4 inte der a router owing this forwarding table: Link interface Destination Address...

    souter that has 4 inte der a router owing this forwarding table: Link interface Destination Address range 11001000 00010111 00010*** ******** 11001000 00010111 00011000 ******** 11001000 00010111 00011*** ******** otherwise O-NM For interface 2, give the range of destination host addresses associated? Interface 2: From 11001000 00010111 Through 11001000 00010111 ven the following forwarding table, complete the table below by specifying on which of utgoing interfaces each destination address will be forwarded. Link Interface tination Address 11001000 00010111 00010110 10100001...

  • Question 6 A router has the following routing table: Destination Address Range Link Interface 123.46.56.0/22 1...

    Question 6 A router has the following routing table: Destination Address Range Link Interface 123.46.56.0/22 1 123.46.56.0/23 2 123.46.56.0/24 3 Otherwise 4 The router uses longest-prefix matching. On which interface will the router send each of the following received packets: Packet 1 with a destination: 123.46.56.1 Packet 2 with a destination: 123.46.56.2 Packet 3 with a destination: 123.46.56.3 Packet 4 with a destination: 123.46.56.4

  • Sender send a packet to Receiver. Explain the address change process (IP and MAC) in the...

    Sender send a packet to Receiver. Explain the address change process (IP and MAC) in the packet. LAN 1 Sender A/10 To another network F/20 T/99 2010 AP Data 2010 AP Data Router 1 33 99 AP Data Physical addresses changed LAN 2 9566 A P Data 95 66 AP Data Router 2 33 99 AP Data P/95 N/33 Z/66 Physical addresses changed To another network Receiver LAN 3

  • Consider the scenario below in which three hosts, with private IP addresses 10.0.1.13, 10.0.1.15, 10.0.1.20 are...

    Consider the scenario below in which three hosts, with private IP addresses 10.0.1.13, 10.0.1.15, 10.0.1.20 are in a local network behind a NATted router that sits between these three hosts and the larger Internet. NAT Translation Table WAN side addr LAN side addr 35.122.196.219:517 10.0.1.27:3435 10.0.1.13 2 S: D, 10.0.1.27 135.122.196.219 10.0.1.15 4 3 10.0.1.20 IP datagrams being sent from, or destined to, these three hosts must pass through this NAT router. The router's interface on the LAN side has...

  • Assume that the Web Server transmits a packet to Client #2. What are the specific numeric address...

    Assume that the Web Server transmits a packet to Client #2. What are the specific numeric address values (from the diagram above) that will be in each of the following header fields of this packet sent by Web Server? a) (3 points) Source Address in Ethernet header b) (3 points) Destination Address in Ethernet header (assume that Web Server ARP Table already contains any MAC address needed for this packet) c) (3 points) Source Address in IP header d) (3...

  • a) b) c) This chapter ("data plane") is all about forwarding packets at a router. Check...

    a) b) c) This chapter ("data plane") is all about forwarding packets at a router. Check all the statements that apply to Forwarding: Forwarding tables are computed by the control plane, in software. Forwarding tables are typically stored at every input port of a router. Forwarding tables are typically stored at every output port of a router. Forwarding tables are stored in the switching fabric. Destination-based forwarding means that we use the destination address of an IP datagram, to look...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT