... interface FastEthernet0/0 ip address 192.168.1.58 255.255.255.252 ip nat outside ... interface FastEthernet0/1 ip address 192.168.2.1 255.255.255.0 secondary ip address 219.235.228.81 255.255.255.248 ip nat inside ... ip nat pool NAT-1 219.235.228.82 219.235.228.85 netmask 255.255.255.248 ip nat inside source list 1 pool NAT-1 overload ... access-list 1 permit 192.168.2.0 0.0.0.255 ...
#conf t int FastEthernet0/0 no ip nat outside 让后退到#模式 #clear ip nat translation * 进入FastEthernet0/1 修改nat conf t int FastEthernet0/1 no ip nat pool NAT-1 219.235.228.82 219.235.228.85 netmask 255.255.255.248 ip nat pool NAT-1 219.235.228.82 219.235.228.82 netmask 255.255.255.248