QuestionQ525

Layer 3 Technologies

An engineer needs to override a router’s usual routing behavior. The engineer must send HTTP traffic from 10.1.1.0/24 that is destined for 10.100.100.100 through next hop 10.2.2.2, which is two hops from the router connected to the 10.1.1.0/24 subnet. Which configuration reroutes traffic to meet this requirement?

  • A access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http!route-map POLICY permit 10match ip address 100set ip next-hop recursive 10.2.2.2
  • B access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http!route-map POLICY deny 10match ip address 100set ip next-hop recursive 10.2.2.2route-map POLICY permit 20
  • C access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http!route-map POLICY permit 10match ip address 100set ip next-hop 10.2.2.2route-map POLICY permit 20D.access-list 100 permit tcp 10.1.1.0 0.0.0.255 host 10.100.100.100 eq http!route-map POLICY permit 10match ip address 100set ip next-hop 10.2.2.2
Explanation

Policy-based routing uses set ip next-hop recursive when the specified next-hop address is not directly connected. Recursive lookup resolves remote next hop 10.2.2.2, while the ACL matches only HTTP traffic from 10.1.1.0/24 to host 10.100.100.100.

Learn more

Community Discussion

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