Which of the following packets will RouterA redirect to the nexthop router at 192.168.1.1? (Select the best answer.)

Last Updated on August 6, 2021 by Admin 3

You issue the show running-config command on RouterA and receive the following partial output:

Access-list 101 permit ip host 172.16.223.82 10.17.88.0 0.0.0.255
route-map map1 permit 10
match ip address 101
set next-hop 192.168.1.1

Which of the following packets will RouterA redirect to the nexthop router at 192.168.1.1? (Select the best answer.)

  • packets sent from the 10.17.88.0/24 network or destined to 172.16.223.82
  • packets sent from the 10.17.88.0/24 network and destined to 172.16.223.82
  • packets sent from 172.16.223.82 or destined to the 10.17.88.0/24 network
  • packets sent from 172.16.223.82 and destined to the 10.17.88.0/24 network
Explanation:
RouterA will detect packets sent from 172.16.223.82 and destined to the 10.17.88.0/24 network and then redirect them to the nexthop router at 192.168.1.1. Route maps are conditional statements that determine whether a packet is processed normally or modified. A route map can be divided into a series of sequences that are processed in sequentialorder. If a route matches all the match criteria in a sequence, the route is permitted or denied based on the permit or deny keywords in the routemap command and any setconditions are applied. If a route does not match all the match criteria in any sequence, the route is discarded.
In this scenario, the routemap map1 permit 10 command creates a route map namedmap1. The permit10 keywords indicate that any route satisfying all the matchstatements in route map sequence number 10 will be redistributed. In this sequence, there is only one match statement, match ip address 101, which indicates that packets that match the IP addresses in access list 101 will be processed by the route map.
The accesslist 101 permit ip host 172.16.223.82 10.17.88.0 0.0.0.255 command creates access list 101, which specifies that IP packets sent from 172.16.223.82 and destined to the 10.17.88.0/24 network are processed by the route map. Packets have to match only one accesslist statement in order to be processed by the route map.
RouterA will not redirect packets sent from the 10.17.88.0/24 network and destined to 172.16.223.82. To configure RouterA to match this traffic, you would need to reverse the keywords in the accesslist statement so that the source is the 10.17.88.0/24 network and the destination is the host at 172.16.223.82. The following command set would configure RouterA to detect packets sent from the 10.17.88.0/24 network and destined to 172.16.223.82 and then redirect those packets to the nexthop router at 192.168.1.1:

RouterA(config)#accesslist 101 permit ip 10.17.88.0 0.0.0.255 host 172.16.223.82
RouterA(config)#routemap map1 permit 10
RouterA(configroutemap)#match ip address 101
RouterA(configroutemap)#set nexthop 192.168.1.1

RouterA will not redirect packets sent from the 10.17.88.0/24 network or destined to 172.16.223.82. To configure RouterA to match either of two access list criteria, you would need to create two separate accesslist statements: one that matches traffic sent from the 10.17.88.0/24 network destined to anywhere, and one that matches traffic sent from anywhere destined to 172.16.223.82. The following command set would configure RouterA to detect packets sent from the 10.17.88.0/24 network or destined to 172.16.223.82 and redirect those packets to the nexthop router at 192.168.1.1:

RouterA(config)#accesslist 101 permit ip 10.17.88.0 0.0.0.255 any
RouterA(config)#accesslist 101 permit ip any host 172.16.223.82
RouterA(config)#routemap map1 permit 10
RouterA(configroutemap)#match ip address 101
RouterA(configroutemap)#set nexthop 192.168.1.1

RouterA will not redirect packets sent from 172.16.223.82 or destined to the 10.17.88.0/24 network. To configure RouterA to match either of two access list criteria, you would need to create two separate accesslist statements: one that matches traffic sent from 172.16.223.82 destined to anywhere, and one that matches traffic sent from anywhere destined to the 10.17.88.0/24 network. The following command set would configure RouterA to detect packets sent from 172.16.223.82 or destined to the 10.17.88.0/24 network and then redirect those packets to the nexthop router at 192.168.1.1:

RouterA(config)#accesslist 101 permit ip any 10.17.88.0 0.0.0.255 
RouterA(config)#accesslist 101 permit ip host 172.16.223.82 any
RouterA(config)#routemap map1 permit 10
RouterA(configroutemap)#match ip address 101 RouterA(configroutemap)#set nexthop 192.168.1.1
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments