您的位置:首页 > 其它

企业级outlook express 不能收发邮件分析

2010-02-28 00:19 127 查看




客户端访问的时候可以做到负载均衡,如果server1繁忙时,可以自动随机切换到server 2.
具体配置如下:
Server 1
1.基本配置,server1配置IP地址
int e0/0
ip add 192.168.1.2 255.255.255.0
因为是用router 代替server,所以要配置以下命令
关闭路由功能
no ip routing
设置网关
ip default-gateway 192.168.1.1
Server 2
Int e0/0
Ip add 192.168.1.3 255.255.255.0
关闭路由功能
No ip routing
设置网关
Ip default-gateway 192.168.1.1
Switch 不用做任何配置。
R1
Int e0/1
Ip add 192.168.1.1 255.255.255.0
Int e0/0
Ip add 192.168.12.1 255.255.255.0
Client
Ip add 192.168.12.2 255.255.255.0
关闭路由功能
No ip routing
设置默认网关
Ip default-gateway 192.168.12.1
2.server 1 server 2 配置启用telnetenable 密码
Server 1
Enable secret cisco
Line vty 0 4
Pass cisco
Login
Server2
Enable secret cisco
Line vty 0 4
Pass cisco
Login

3.在R1上配置NAT,路由器外网地址
access-list 1 permit host 192.168.12.1
4.设置内网服务器地址池
Ip nat pool wfz 192.168.1.2 192.168.1.3 netmask 255.255.255.0 type rotary (类型循环)
5.外网地址和内网服务器对应
Ip nat inside destination list 1 pool wfz
6.R1接口上调用
Int e0/0
Ip nat outside
Int e0/1
Ip nat inside
7.client测试结果如下图:
第一次访问server1,第二次随机访问server2,负载均衡








本文出自 “ACL检测tcp-ack状态” 博客,请务必保留此出处http://ihiptf.blog.51cto.com/1890287/926966
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: