QuestionQ159

Layer 3 Technologies

Question Image

Refer to the exhibit. An engineer configures router B so that all traffic from host 192.168.1.3 is directed to router C. All remaining traffic must be routed through normal routing-protocol operations. Which configuration accomplishes this task?

  • A interface g0/0/0ip address 192.168.1.254 255.255.255.0!access-list 101 permit ip host 192.168.1.3 anyaccess-list 101 permit ip any any!route-map CCNP permit 10match ip address 101set ip next-hop 10.0.1.2
  • B interface g0/0/0ip address 192.168.1.254 255.255.255.0ip policy route-map CCNP!access-list 101 permit ip host 192.168.1.3 any!route-map CCNP permit 10match ip address 101set ip next-hop 10.0.2.1
  • C interface g0/0/0ip address 192.168.1.254 255.255.255.0ip policy route-map CCNP!access-list 101 permit ip any host 192.168.1.3!route-map CCNP permit 10match ip address 101set ip next-hop 10.0.1.2
  • D interface g0/0/0ip address 192.168.1.254 255.255.255.0ip policy route-map CCNP!access-list 101 permit ip host 192.168.1.3 any!route-map CCNP permit 10match ip address 101set ip next-hop 10.0.1.2
Explanation

Policy-based routing is enabled on the inbound LAN interface with ip policy route-map. An ACL that permits host 192.168.1.3 to any matches only that host’s sourced traffic, and set ip next-hop 10.0.1.2 selects the adjacent Router C address. Packets that do not match the route map are forwarded by the normal routing table.

Learn more

Community Discussion

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