ip nat inside source list 1 interface g0/2 overload
------Nat转换,指定原地址为100.100.23.0的主机
使用Fastethernet 0/0的地址进行转换
ip nat inside source list 2 interface g0/0 overload
------Nat转换,指定原地址为100.100.24.0的主机使用Fastethernet 0/1的地址进行转换
int g0/1.24
ip policy route-map t0
int g0/1.48
ip policy route-map t0
ip nat inside source list 1 int g0/0 overload
ip nat inside source list 2 int g0/2 overload
access-list 1 permit 172.18.24.0 0.0.0.255
access-list 2 permit 172.18.48.0 0.0.0.255
route-map t0 permit 10
match ip address 1
set int g0/0
route-map t0 permit 20
match ip address 2
set int g0/2