html
1.AR1:
int g0/0/0
ip ad 64.1.1.2 255.255.255.0
int g0/0/1
ip ad 110.242.68.1 255.255.255.0
2.AR2:
(1)配置端口ip:
int g0/0/1
ip ad 10.3.1.2 255.255.255.0
int g0/0/0
ip ad 64.1.1.1 255.255.255.0
(2)配置默认路由:
ip route-static 0.0.0.0 0.0.0.0 64.1.1.2
ip route-static 192.168.0.0 255.255.0.0 10.3.1.1
(3)配置nat:
acl 2000
rule permit ip source 192.168.0.0 0.0.255.255
int g0/0/0
nat outbound 2000
3.LSW5
vlan 27
int vlan 27
ip ad 10.3.1.1 255.255.255.0
in g0/0/24
port link-type ac
port default vlan 27
3.在LSW2、LSW4、LSW5配置默认路由:
LSW2:
ip route-static 0.0.0.0 0.0.0.0 10.1.1.2
LSW4:
ip route-static 0.0.0.0 0.0.0.0 10.2.1.2
LSW5:
ip route-static 0.0.0.0 0.0.0.0 10.3.1.2