📄 255.html
字号:
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>www.newok.com::FreeBSD使用大全</title>
<link rel=stylesheet href="newok.css" tppabs="http://www.newok.com/include/newok.css">
</head>
<body>
<div align=center>
<p> </p>
<table width=720>
<tr><td>
<strong>当前所在位置:</strong><a href="javascript:if(confirm('http://www.at.china.com/bsd/index.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.at.china.com/bsd/index.html'" tppabs="http://www.at.china.com/bsd/index.html" class=t1>FreeBSD使用大全>></a>
</td></tr>
</table>
<table width=700>
<tr><th><font color=white>FreeBSD连载(94):基于NAT的负载均衡技术</font></th></tr>
<tr><td> </td></tr>
<tr><td align=left><i>作者:</i>王波</td></tr>
<tr><td> </td></tr>
<tr><td><font color=white><p> 网络地址转换为Internet网关的一个重要功能,它能将内部地址和外部地址进行转换,以使具备内部地址的<br>计算机能访问外部网络。同样外部网络访问网关拥有的某一外部地址时,地址转换网关能将其转发到该地址映射的内部地址的<br>计算机上。</p><br><br><p> 因此,可以通过重新修改地址转换程序,使得地址转换网关能将请求均匀转换为内部的多个服务器的内部地址,此后<br>外部网络中的计算机就各自与自己转换得到的内部服务器进行通信了。</p><br><br><P align=center><img SRC="FreeBSD_60.gif" tppabs="http://www.newok.com/bsd/62/FreeBSD_60.gif" WIDTH=450 HEIGHT=234></P><br><br><p> 要实现这个负载均衡软件,仍然需要更改原有的地址转换程序。然而,由于FreeBSD下提供了地址转换工具<br>natd及其源代码,因此这个任务并不复杂。通过更改natd,可以使得在FreeBSD上实现负载均衡能力。</p><br><br><ul><P><LI><B>第四层交换</b></LI></P></ul><br><br><p> 由于地址转换相对来讲比较接近网络的低层,因此就有可能将它集成在硬件设备中,通常这样的硬件设备为局域网交<br>换机。</p><br><br><p> 当前先进的局域网交换机开始支持所谓的第四层交换技术,就是按照IP地址和TCP端口进行虚拟连接的交换,直<br>接将数据包发送到目的计算机的相应端口中。通过可以进一步增强它的功能,通过交换机就能将来自外部的初始连接请求,分<br>别与内部的多个地址相联系,此后就能对这些已经建立的虚拟连接进行交换。因此一些具备第四层交换能力的局域网交换机,<br>就能作为一个硬件负载均衡器,完成Web服务器的负载均衡。</p><br><br><p> 由于第四层交换基于硬件芯片,因此其性能非常优秀,尤其是对于网络传输的速度,交换的速度远远超过普通的数据<br>包转发。然而正因为它是使用硬件实现的,因此也比较不灵活,仅仅能够处理几种最标准的应用协议的负载均衡,如HTTP<br>。当前负载均衡主要用于解决Web服务器的处理能力不足的问题,因此并不能充分发挥交换机带来的高网络带宽的优点。</p><br><br><p align=right>全书完 </p></font></td></tr>
<tr><td> </td></tr>
<tr><td align=right><i>来源:</i><a href="javascript:if(confirm('http://freebsd.online.ha.cn/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://freebsd.online.ha.cn/'" tppabs="http://freebsd.online.ha.cn/">http://freebsd.online.ha.cn/</a></td></tr>
</table>
<p> </p>
<p> </p>
<p> </p>
声明:本站的文章和软件是本人从网上收集整理的(除本人的作品之外),所有版权属于作者,<br>
如有侵犯您的权益,请指出,本站将立即改正,谢谢.
<hr width=500>
<br>
<font color=#ffffff>Copyright 2000 <a href="javascript:if(confirm('http://www.newok.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.newok.com/'" tppabs="http://www.newok.com/" class=t1>www.newok.com</a></font>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -