QuestionQ766

IP Services

Question Image

Refer to the exhibit. Which configuration must be applied on the router to configure PAT that translates all addresses in VLAN 200 while allowing devices in VLAN 100 to use their own IP addresses?

  • A Router1(config)#access-list 99 permit 192.168.100.32 0.0.0.31 Router1(config)#ip nat inside source list 99 interface gi1/0/0 overload Router1(config)#interface gi2/0/1.200 Router1(config)#ip nat inside Router1(config)#interface gi1/0/0 Router1(config)#ip nat outside
  • B Router1(config)#access-list 99 permit 192.168.100.0 0.0.0.255 Router1(config)#ip nat inside source list 99 interface gi1/0/0 overload Router1(config)#interface gi2/0/1.200 Router1(config)#ip nat inside Router1(config)#interface gi1/0/0 Router1(config)#ip nat outside
  • C Router1(config)#access-list 99 permit 209.165.201.2 255.255.255.255 Router1(config)#ip nat inside source list 99 interface gi1/0/0 overload Router1(config)#interface gi2/0/1.200 Router1(config)#ip nat inside Router1(config)#interface gi1/0/0 Router1(config)#ip nat outside
  • D Router1(config)#access- list 99 permit 209.165.201.2 0.0.0.0 Router1(config)#ip nat inside source list 99 interface gi1/0/0 overload Router1(config)#interface gi2/0/1.200 Router1(config)#ip nat inside Router1(config)#interface gi1/0/0 Router1(config)#ip nat outside
Explanation

To overload only VLAN 200, the NAT ACL must match the inside local subnet for VLAN 200 and not VLAN 100. With interface g2/0/1.200 set to 192.168.100.33/27, VLAN 200 is the 192.168.100.32/27 network, which is matched by wildcard 0.0.0.31. Applying ip nat inside source list 99 interface gi1/0/0 overload then translates only packets from that subnet out the public interface. VLAN 100 is excluded because its subnet is not permitted by the ACL, so its devices are not PAT-translated by this rule. Cisco NAT overload uses a standard ACL to identify inside local addresses to be translated and requires the inside and outside interfaces to be marked accordingly.

Learn more

Community Discussion

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