無綫+有綫網絡有趣問題

2007-04-23 2:27 am
各位大佬, 我有個網絡, 由一個有綫router做DHCP派ip, 再加上一d switch同無綫AP比所有電腦上網(無綫+有綫), 全部電腦都屬同一個network. 有次我發現, 部notebook因為同時有無綫及有綫嘅網絡咭, 連上network綫之後, router分別同時為無綫及有綫嘅網絡咭派咗唔同嘅ip (e.g. 192.168.1.X, 192.168.1.Y), 上網/share printer, files 係就係冇問題, 但係到底部notebook其實會用邊條綫呢?有冇大佬知道, 謝謝.

回答 (1)

2007-04-25 5:45 am
✔ 最佳答案
notebook, PC even Server can have more than one Network card.....no matter wire or wireless.

For notebook, PC and Server with two network card, we call it Dual homing host. It can provide better design, say first NIC connected to one switch and second NIC connected to other switch...... If frist switch die, the DUAL host can still access via the the second network swtich.

In your case both are using and backup with each other......
you can change it by changing the routing table in yoor PC. The command is like this.

> route PRINT
> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
Interface^
If IF is not given, it tries to find the best interface for a given
gateway.
> route PRINT
> route PRINT 157* .... Only prints those matching 157*
> route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2

CHANGE is used to modify gateway and/or metric only.
> route PRINT
> route DELETE 157.0.0.0
> route PRINT


收錄日期: 2021-04-16 00:08:08
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070422000051KK04328

檢視 Wayback Machine 備份