sharing cable modem using hub

来源: yanon 2003-10-08 03:03:00 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1719 bytes)
本文内容已被 [ yanon ] 在 2004-02-06 15:24:48 编辑过。如有问题,请报告版主或论坛管理删除.
A cable modem only assigns one IP address, unless you purchase multiple ones through your Cable ISP.
In order to share one IP with multiple PC's, you cannot rely on a hub unless it has built-in DHCP (which many don't). Without a unique IP, the cable don't know where the incoming traffic should go.
However, I am not saying sharing cable modem via hub is impossible. In fact there is one way to do this.
This way only works when these conditions are met:
1) one of the computers have to have Windows NT installed (Windows 9x can't assign multiple IPs on one NIC). You need multiple IPs to configure 2 TCP/IP subnets on the one NIC - one subnet for LAN and second for link to the modem.
2) the cable modem must have flittering capabilities. It means that modem must filter all packets with local IP addresses - in another words it must be able to send to the Internet (to the ISP) right packets only.
Basically one of the machines will act as a gateway to route all the traffics to the proper computers that are on the subnet
To see how to assign local ip
Here is detail explanations:
http://www.dispi.com/proxyplus/faq/articles/EN/art04103.htm
I don't think the aforementioned method would work if the gateway computer is turned off. Another disadvantage of using a hub is that every PC sharing the bandwidth equally, even when it's not in use.

So the better way to share internet is using a router.
A router usually has NAT (Network Address Translation) technology which uses DHCP and assigns a unique IP address to each networked PC. It also manages the single IP with the cable modem. Plus the network is switched which conserves bandwidth and is ultimately faster.



--文学城www.wenxuecity.com--

所有跟帖: 

又错啦,Cable Modem本身不被分配IP。 -你怎么老是不懂装懂?- 给 你怎么老是不懂装懂? 发送悄悄话 (62 bytes) () 10/08/2003 postreply 03:35:00

没错,Cable Modem有IP -没错,- 给 没错, 发送悄悄话 (0 bytes) () 10/08/2003 postreply 10:04:00

You're the one who doesn't it. -yanon- 给 yanon 发送悄悄话 (0 bytes) () 10/09/2003 postreply 01:32:00

doesn't know it. -yanon- 给 yanon 发送悄悄话 (0 bytes) () 10/09/2003 postreply 01:33:00

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”