ip nat inside
2、负载均衡
如图所示路由器上有两个接口:以太网接口E0/0与内部网相连,使用私有地址192.168.0.1;以太网接口E0/1与因特网相连,地址为61.20.12.4;使用三台PC服务器来提供WEB服务,它们使用私有地址。
具体配置:
Router(config)# ip nat pool websvrs
Router(config)# type rotary
Router(config-ipnat-pool)# address 192.168.0.2 192.168.0.4
Router(config)# access-list 1 permit 6页码:[1] [2] [3] [4] [5] [6] 第5页、共6页 |