Board logo

主題: [求助] [求助]雙網路設定的問題? [打印本頁]

發表人: m730416    時間: 2007-9-27 02:16 PM     主題: [求助]雙網路設定的問題?

[求助]雙網路設定的問題?

我的電腦有兩張網卡,一張接HINET ADSL固接式,另一張接HP 7410多功能事務機,這兩張網卡的IP,子網路遮罩,預設閘道都不同,
但當我設定兩張網卡的預設閘道不同的時候,所有的網路就不通了,但當我把其中一張網卡的預設閘道給拿掉之後,網路隨即就恢
復正常了!

現在我該如何解決此問題? 請高手們幫幫忙,謝謝!
發表人: rainwen    時間: 2007-9-27 10:25 PM

接HINET ADSL固接式的卡設閘道,
接HP 7410多功能事務機的卡只要設IP跟遮罩就可以了。

除非是做多網負載平衡,否則一台電腦通常只能設一個閘道,
因為設兩個以上的閘道,系統會不知道要把封包往哪裡送。
發表人: Yves    時間: 2007-9-29 02:17 PM

也可以在網路卡=>內容=>TCP/IP=>內容=>進階=>自動公制
把Hinet那張的自動公制打勾後數字調低就好了
發表人: m730416    時間: 2007-9-30 07:19 PM


引用:
Yves寫到:
也可以在網路卡=>內容=>TCP/IP=>內容=>進階=>自動公制
把Hinet那張的自動公制打勾後數字調低就好了


這招我試過了行不通!
發表人: m730416    時間: 2007-9-30 07:19 PM

我今天下午搜尋網路,我從 YAHOO 找到最簡單且有用的解決方法了!

=============================================================
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"IPEnableRouter"=dword:00000001


; 在每張 NIC 之下都要新增 "IPEnableRouter"=dword:00000001 這個設定值,NIC 才會自動 IP Router.
; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
;
; Resolved Question ? IP Routing table?
; I have 2 LAN, one is 10.0.0.0 which connect to broadband modem and the other is 172.16.0.0 which
; connect to local network. I like to put a PC with windows 2000 server to act as router that route
; Internet request from 172.16.0.0 to 10.0.0.0, what modification should I add to routing table?
;
; Best Answer - Chosen by Voters
; I'm trying to make sure I understand the physical connectivity from your description,
; so you have a broadband modem and your LAN side has a 10.0.0.0 address, and you also
; have another LAN using 172.16.0.0 addressing, and you want to connect these two together.
; There are multiple ways to accomplish this, but if you want to use a Windows 2000 server
; like you said, you can simply install 2 network interface cards in the machine and connect
; each one to your two networks. Then you must enable IP forwarding. Use the registry editor
; regedt32.exe and drill down to HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Services,
; Tcpip, Parameters and modify the IPEnableRouter key to have a value of 1 instead of 0.
; You may also be able to check an option box to enable IP routing under advanced network and
; TCP/IP properties instead of using the registry editor. The Win2000 "router" machine will
; now know about both networks, and the machines on your 10 and 172.16 networks will point to
; the Win2K server PC as their default gateway. Or (I think this might be what you're after)
; the 172.16 machines point to the Win2K server PC as their default gateway, and the Win2K
; server PC points out to the broadband router as it's default gateway. Depending on your setup,
; you may need to put a static route in the broadband router for the 172.16 net with a next hop
; of the 10 interface on the Win2K server PC.
==========================================================

原文出處轉貼:
http://au.answers.yahoo.com/question/index.php?qid=1006051024871
發表人: m730416    時間: 2007-9-30 07:23 PM


引用:
rainwen寫到:
接HINET ADSL固接式的卡設閘道,
接HP 7410多功能事務機的卡只要設IP跟遮罩就可以了。

除非是做多網負載平衡,否則一台電腦通常只能設一個閘道,
因為設兩個以上的閘道,系統會不知道要把封包往哪裡送。


說到 多網負載平衡 ,有什麼軟體,或是方法,可以做到 多網負載平衡 ?
謝謝!
發表人: laster    時間: 2007-9-30 08:24 PM

居易有作負載平衡的Router,要自己作先得學好linux
發表人: m730416    時間: 2007-10-1 10:10 AM


引用:
laster寫到:
居易有作負載平衡的Router,要自己作先得學好linux


我是指FOR WIN,FOR NIC.
發表人: wugen    時間: 2007-10-1 11:08 AM

買router是最簡單的.. 要不然就像Laster大說的架一台Linux主機當Load Balacer.




歡迎光臨 TWed2k (http://twed2k.org/) Powered by Discuz! 4.1.0