Configuring PAT on a cisco router to achieve Internet sharing I. PAT (prot Address Translation, port Address translation) is one of the most common implementations of NAT (Network Address Translation. Ii. PAT configuration example. Www.2cto.com 1. Set the IP address of the interface. Cisco2811 (config) # interface fastethent0/0Cisco2811 (config-if) # ip address 192.168.1.254 255.255.255.0Cisco2811 (config-if) # no shutdownCisco2811 (config-if) # interface fastethent0/1Cisco2811 (config-if) # ip address 220.95.5.194 255.255.255.0Cisco2811 (config-if) # no shutdown2. define the access control list. Cisco2811 (config) # access-list 1 permit 192.168.1.0 0.0.255l Access-list is the keyword used to configure the access control list. L "1" is the access control list number, and its range is 1 ~ An integer between 99. L Permit is permitted. This command is followed by an address range. Here, we can understand the IP address range that allows address translation. L 192.168.1.0 0.0.255 indicates 192.168.1.0 ~ 192.168.1.255. 0.0.0.255 is a wildcard. Www.2cto.com 3. Implement the multiplexing of external interface addresses and dynamic conversion of IP addresses. Cisco2811 (config) # ip nat inside source list 1 interface fastethernet0/1 overlocadl Ip nat: configure the PAT keyword. L Inside source list 1: indicates a packet that enters from the inside interface and meets the requirements of acces-list 1. Its source address is converted to PAT. L Interface fastethenet0/1: Indicates Interface reuse on the f0/1 Interface. L Overload: It means overload. Only when Overload is configured can the interface be reused. 4. enable PAT on the interface. cisco2811 (config) # interface fastethent0/0Cisco2811 (config-if) # ip nat insideCisco2811 (config) # interface fastethent0/1Cisco2811 (config-if) # generally, ip nat outside adds a default route pointing to the Internet. Cisco2811 (config) # ip route 0.0.0.0 0.0.0.0 fastethenet0/1