(一地址配置)
r1(config)#intf0/0
r1(config-if)#ipadd61.153.177.1255.255.255.0
r1(config-if)#noshut
%LINK-5-CHANGED:InterfaceFastEthernet0/0,changedstatetoup
r1(config-if)#intf0/1
r1(config-if)#ipadd192.168.1.1255.255.255.0
r1(config-if)#noshut
r1(config)#ints1/0
r1(config-if)#ipadd112.55.33.1255.255.255.0
r1(config-if)#noshut
电信r1(config)#iproute0.0.0.00.0.0.061.153.177.3
网通r1(config)#iproute113.55.33.0255.255.255.0112.55.33.11
r1(config)#iproute114.55.33.0255.255.255.0112.55.33.11
二(NAT配置)
r1(config)#intf0/0
r1(config-if)#ipnatoutside
r1(config-if)#exi
r1(config)#ints1/0
r1(config-if)#ipnatoutside
r1(config-if)#end
NAT地址池
r1(config)#ipnatpoolwt112.55.33.5112.55.33.5netmask255.255.255.0
r1(config)#ipnatpooldx61.153.177.261.153.177.2netmask255.255.255.0
配置两个routemap
Route-mapisp2permit10
Matchipaddress100
Matchints1/0
Route-mapisp1permit10
Matchipaddress100
Matchintf0/0
本文出自施志华IT达人show博