查看單個文章
舊 2005-11-08, 12:12 PM   #6 (permalink)
rezard 帥哥
長老會員
 
rezard 的頭像
榮譽勳章
UID - 5875
在線等級: 級別:41 | 在線時長:1895小時 | 升級還需:37小時級別:41 | 在線時長:1895小時 | 升級還需:37小時級別:41 | 在線時長:1895小時 | 升級還需:37小時級別:41 | 在線時長:1895小時 | 升級還需:37小時級別:41 | 在線時長:1895小時 | 升級還需:37小時級別:41 | 在線時長:1895小時 | 升級還需:37小時
註冊日期: 2002-12-08
住址: 夢幻之島福爾摩沙
文章: 4595
精華: 0
現金: 258 金幣
資產: 25680236 金幣
預設

飛鳥大大的第一張貼圖僅能看出「NetBIOS over TCP/IP」,第二張則是比較了「NetBIOS over TCP/IP」與「NetBIOS over NetBEUI」,ESWL大大應該是想要知道:同時安裝TCP/IP與NetBEUI二種協定的電腦跑網芳,哪一種協定會「優先」?

小弟查了一下微軟知識庫,沒有找到直接說明這個疑問的文章,不過倒是有些文章零散地提到了Windows網路作業系統在這一部份的運作原理,接下來這一段剪貼自「Microsoft Windows 2000 TCP/IP Implementation Details White Paper」第46頁,可能比較貼近ESWL想瞭解的答案:

If the connection is a NetBIOS-based connection using the redirector, little routing information is available at the application level. The NetBIOS interface supports connections over various protocols and has no knowledge of IP. Instead, the redirector places calls on all of the transports that are bound to it. If there are two interfaces in the computer and one protocol installed, there are two transports available to the redirector. Calls are placed on both, and NetBT submits connection requests to the stack, using an IP address from each interface. It is possible that both calls succeed. If so, the redirector cancels one of them. The choice of which one to cancel depends upon the redirector ObeyBindingOrder registry value . If this is set to 0 (the default value), the primary transport (determined by binding order) is the preferred one, and the redirector waits for the primary transport to time out before accepting the connection on the secondary transport. If this value is set to 1, the binding order is ignored, and the redirector accepts the first connection that succeeds and cancels the other(s).

NetBIOS支援各種(底層)通訊協定的連線,而不必瞭解IP(也無從掌握,因為不同Layer)。上面舉的例子是二個不同網路介面,同一通訊協定,且都能完成通訊的情形下,the redirector按照系統登錄檔的值(預設是0,遵照BindingOrder的順序;可以改成1,忽略Order而逕以第一個連線成功的為主要通道)來決定以那個介面為溝通通路。

依據上述原理,以及微軟後來作業系統大都支援NetBIOS over TCP/IP,Win2000之後甚至強化這部分功能(多了direct hosting提升效能,也就是TCP445埠,而非仰賴原TCP139埠),WinXP甚至廢除NetBEUI(可以手動安裝,但微軟不再支援,僅能於LAN中使用,RAS等服務也不能用NetBEUI),Win2000之後系統預設的Order,個人推測應該是TCP/IP順位較高。

至於效能問題,有人會說NetBEUI比較好,不過有一些技術文件提到了NetBIOS over TCP/IP一開始效能不好是因為該網路卡驅動程式或Layer間介面溝通設計等問題。隨著時間和技術演進,目前業界OSI第一、二層的設備廠商應該不會再「強力研究」LLC與NetBEUI界接的效能提升,而忽略TCP/IP協定組的主流地位與需求才是(純屬推測...)。

http://support.microsoft.com/default...b;en-us;166159
上面超連結是「如何調整登錄值」的那一篇文章。
白皮書可以在Windows2000英文網頁那邊找到DOC文字檔。

還請各位大大不吝指教。

補上下載Win2000 TCP/IP 白皮書(英文)的網頁,該頁右邊Read Document有個超連結,是word檔。無論是進修或當工具書,個人覺得內容與資訊相當好用!
http://www.microsoft.com/windows2000..._implement.asp
__________________
【詠螢】
的歷流光小,飄颻弱翅輕。恐畏無人識,獨自暗中明。
[IMG][/IMG]
rezard 目前離線  
送花文章: 127322, 收花文章: 3952 篇, 收花: 21079 次
回覆時引用此帖