Router2800(config-if)#ip addressY.Y.Y.Y 255.255.255.252(Y为移动地址)
Router2800(config-if)#ip nat ouoside
Router2800(config-if)#no shutdown
Router (config)#ip dns server
Router (config)#ip name-server A.A.A.A B.B.B.B(A为电信解析地址,B为移动解析地址)
Router (config)#0.0.0.00.0.0.0 X.X.X.X
Router (config)#0.0.0.0 0.0.0.0 Y.Y.Y.Y
Router (config)#ip route 172.16.0.0255.240.0.0 172.23.0.102
Router (config)#ip route172.16.0.0 255.255.0.0 172.23.0.102
Router (config)#ip route172.17.9.202 255.255.255.255 172.23.0.102
Router (config)#ip route172.18.9.202 255.255.255.255 172.23.0.102
Router (config)#ip route172.19.9.204 255.255.255.255 172.23.0.102
Router (config)#ip route172.20.9.205 255.255.255.255 172.23.0.102
Router (config)#ip route172.21.9.203 255.255.255.255 172.23.0.102
Router (config)#ip route172.22.9.202 255.255.255.255 172.23.0.102
Router (config)#ip route172.22.81.0 255.255.255.0 172.22.80.2
Router (config)#ip route172.23.0.0 255.255.0.0 172.22.80.2
Router (config)#ip route172.27.9.202 255.255.255.255 172.23.0.102
Router (config)#ip route172.28.9.206 255.255.255.255 172.23.0.102
Router (config)#ip route172.29.9.207 255.255.255.255 172.23.0.102
Router (config)#ip route192.168.254.0 255.255.255.0 172.23.0.102
Router#firewall enable
Router (config)#access-list 1permit 172.23.0.0 0.0.255.255
Router (config)#access-list 1permit 172.22.0.0 0.0.255.255
Router (config)#access-list 2 permit 172.23.0.0 0.0.255.255
Router (config)#access-list 2 permit 172.22.0.0 0.0.255.255
Router#ip nat inside source list 1 interface GigabitEthernet0/0 oveload
Router#ip nat inside source list 2 interface GigabitEthernet0/2 oveload