QuestionQ867

IP Connectivity

Question Image

Refer to the exhibit. How does the device handle a packet whose destination IP address is 100.100.100.100?

  • A It will always prefer the static route over dynamic routes and choose the routeS 100.100.0.0/16 [1/0] via 192.168.4.1.
  • B It will choose the route with the lowest metric,R 100.0.0.0/8 [120/2] via 192.168.3.1, 00:00:13, Ethernet0/3.
  • C It will choose the route with the highest metric,D 100.100.100.0/24 [90/435200] via 192.168.2.1, 00:00:13, Ethernet0/2.
  • D It will choose the route with the longest match,O 100.100.100.100/32 [110/21] via 192.168.1.1, 00:05:57, Ethernet0/1.
Explanation

IP forwarding uses longest-prefix matching. The exact 100.100.100.100/32 host route is a more specific match than the /24, /16, and /8 routes, so traffic is forwarded through 192.168.1.1 on Ethernet0/1. Administrative distance and metric are relevant only when comparing routes to the same prefix length.

Community Discussion

No comments yet. Be the first to start the discussion!