web服务器,自己公司用网通线路访问速度很好。在同一城市,同在网通线路的客户却速度极慢。
tracert得到客户公司网关地址后,可以用以下方法专门针对客户公司网络优化链接速度。
route add -net 202.91.0.0 netmask 255.255.0.0 gw 122.xxx.xxx.225
可以在/etc/rc.local加入/etc/wtiproute.sh脚本。把需要优化的地址都加进去。然后重启服务器。
参照:客户公司路由图:
Tracing route to www.xxxxx.com.cn [122.xxx.xxx.236]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.2.1
2 1 ms 1 ms 1 ms 202.91.190.161
3 * * * Request timed out.
4 * 18 ms 1 ms 218.106.167.217
5 * * * Request timed out.
6 * 2 ms 1 ms 121.101.208.253
7 * * * Request timed out.
8 * * * Request timed out.
9 2 ms 2 ms 2 ms 61.148.156.233
10 2 ms 2 ms 2 ms 61.148.157.25
11 3 ms 2 ms 2 ms 202.96.12.157
12 33 ms 32 ms 33 ms 219.158.16.58
13 40 ms 41 ms 40 ms 221.x.x.x
14 64 ms 77 ms 41 ms 221.x.x.x
15 43 ms 43 ms 43 ms 58.x.x.x
16 139 ms 138 ms 139 ms 122.x.x.236
Trace complete.
最后编辑: Sonic 编辑于2010/03/10 14:33
tracert得到客户公司网关地址后,可以用以下方法专门针对客户公司网络优化链接速度。
route add -net 202.91.0.0 netmask 255.255.0.0 gw 122.xxx.xxx.225
可以在/etc/rc.local加入/etc/wtiproute.sh脚本。把需要优化的地址都加进去。然后重启服务器。
参照:客户公司路由图:
Tracing route to www.xxxxx.com.cn [122.xxx.xxx.236]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.2.1
2 1 ms 1 ms 1 ms 202.91.190.161
3 * * * Request timed out.
4 * 18 ms 1 ms 218.106.167.217
5 * * * Request timed out.
6 * 2 ms 1 ms 121.101.208.253
7 * * * Request timed out.
8 * * * Request timed out.
9 2 ms 2 ms 2 ms 61.148.156.233
10 2 ms 2 ms 2 ms 61.148.157.25
11 3 ms 2 ms 2 ms 202.96.12.157
12 33 ms 32 ms 33 ms 219.158.16.58
13 40 ms 41 ms 40 ms 221.x.x.x
14 64 ms 77 ms 41 ms 221.x.x.x
15 43 ms 43 ms 43 ms 58.x.x.x
16 139 ms 138 ms 139 ms 122.x.x.236
Trace complete.
相关日志
ubuntu桌面特效
Linux统计目录下文件个数及代码行数
修改SELinux设置,使vsftp在enforcing security enhance模式下正常运行
从Red Hat Enterprise Linux 5 server升级到CentOS 5.4
ubuntu桌面特效
Linux统计目录下文件个数及代码行数
修改SELinux设置,使vsftp在enforcing security enhance模式下正常运行
从Red Hat Enterprise Linux 5 server升级到CentOS 5.4
最后编辑: Sonic 编辑于2010/03/10 14:33
crontab命令格式
从Red Hat Enterprise Linux 5 server升级到CentOS 5.4

