路由器基础配置
AR2
int g0/0/3
ip add 192.168.10.254 24
int g0/0/2
ip add 192.168.20.254 24
int g4/0/0
ip add 192.168.30.254 24
int g0/0/1
ip add 10.0.23.2 24
int g0/0/0
ip add 10.0.12.2 24
ip route-static 192.168.11.0 24 10.0.12.1
ip route-static 192.168.21.0 24 10.0.23.3
AR1
int g0/0/0
ip add 10.0.12.1 24
int g0/0/1
ip add 192.168.11.254 24
AR3
int g0/0/0
ip add 10.0.23.3 24
int g0/0/1
ip add 192.168.21.254 24
AR2配置静态NAT
int g0/0/0
nat static global 10.0.12.100 inside 192.168.20.1
AR2配置NAT Server
int g0/0/0
nat server protocol tcp global 10.0.12.200 www inside 192.168.10.1 www
AR2配置动态NAT(地址池-不转换端口)
nat address-group PC3 10.0.23.100 10.0.23.105
acl 2000
rule permit source 192.168.30.0 0.0.0.255
int g0/0/1
nat outbound 2000 address-group PC3 no-pat