如何设置具有多个路由器的网络。 [英] How do I set up a network with multiple routers.

查看:77
本文介绍了如何设置具有多个路由器的网络。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只对网络有点了解...


我有2台路由器,5台电脑和一台电缆调制解调器。我以为我所要做的就是将有线调制解调器插入一个路由器的WAN插槽。将路由器上的常规端口连接到另一个路由器的WAN插槽。并将计算机插入任何免费插孔。但那并没有奏效。同一个路由器上的每个人都可以看到对方,但看不到其他人。虽然仍然可以访问互联网。


所以我上网阅读了关于使用上行链路插孔的这个令人困惑的事情。但是当我这样做时,没有任何效果。然后别的东西说我必须在除了一个路由器之外的所有路由器上禁用DHCP,这也不起作用。获得了Doom的IP。所以现在我对如何设置它完全感到困惑。

I only know a little bit about networking so...

I have 2 routers, 5 computers and a cable modem. I thought all I had to do was plug the cable modem into the WAN slot of one router. Connect a regular port on the router to the WAN slot of the other router. And plug in the computers into any of the free jacks. But that didn''t work. Everyone on the same router could see each other but couldn''t see the others. Still had internet access though.

So I went online and read this very confusing thing about using the uplink jack. But when I did that nothing worked. Then something else said I had to disable the DHCP on all but one of the routers and that didn''t work either. Got the IP of Doom. So now I''m just thoroughly confused about how to set it up.

推荐答案

好的,你应该只需要1个路由器。


路由器用于连接不同的网络和它们之间的路由。在你的情况下我会假设你只想要两个网络1)互联网和2)你的5台本地计算机。你希望5台计算机相互通信,你希望所有5台计算机与其他网络(互联网)通信。


将5台计算机连接在一起你真正需要的是一台交换机,至少有5个端口用于计算机,1个端口用于上行链路。可以把它想象成一个明星,其中5台机器都进入中心点,然后一个特殊的连接从那颗星到你的路由器。路由器将您的本地计算机网络连接到由您的调制解调器托管的互联网网络。


因此它上网 - >调制解调器 - >路由器 - >开关 - > 5台计算机。


现在它让人感到困惑的是许多供应商在路由器中都包含一个交换机。这只是意味着您不需要单独的设备,因为您的路由器有多个插入计算机的位置。虽然模型是相同的,但它只是在内部完成。


希望这有点帮助。
Ok to do this you should only need 1 router.

A router is used to join different networks and ''route'' between them. In your case Im going to assume you only want two networks 1)The internet and 2) your 5 local computers. You want the 5 computers to talk to each other, and you want all 5 to talk to the other network (the internet).

To connect the 5 computers together what you actually need is a switch with at least 5 ports for the computers and 1 port for ''Uplink''. Think of it like a star where the 5 machines all go to a central point, then one special connection goes from that star to your router. The router connects your local computer network to the internet network, which is hosted by your modem.

So it goes Internet-->Modem-->Router-->Switch-->5 computers.

Now where it gets confusing is lots of vendors include a switch in the router. This just means that you dont need a separate device as your router has multiple places to plug in computers. The model is the same though, its just done internally.

Hopefully that helps a little.


问题是我不是想要购买额外的设备;我有点钱了。但我确实有两个路由器,每个路由器都有一个WAN,一个上行链路和4个计算机插孔。


所以我做的是:

The thing is that I don''t want to buy extra equipment; I''m a little strapped for money. But I do have two routers and each router has a WAN, an uplink, and 4 jacks for computers.

So what I did was:

展开 | 选择 | Wrap | 行号


这是否有效,或者第二台路由器上的计算机是否仍处于脱机状态?


it看起来你根本不应该使用第二个路由器上的WAN端口,而是尝试只使用交换机部分。


调制解调器插入路由器上的WAN端口,3 cpus插入切换路由器1上的端口,最后一个交换机端口插入i nto在路由器2上切换端口,最后2个cpu连接到路由器2上的交换机端口。


它们是什么类型的路由器?指定为上行链路的4个交换机端口之一?如果是这样,那就是那个用来到另一个开关的那个。


如果您使用WAN端口,则在路由功能的另一端,它将逻辑地分离两个网络,而不是像您想要的那样加入它们。
And does that work, or are the computers on the second router still offline?

it seems like you shouldn''t use the WAN port on the second router at all, but rather try and just utilize the switch portion.

Modem plugs in to WAN port on router1, 3 cpus plug in to switch ports on router 1, last switch port is plugged into switch port on router 2, final 2 cpus plug into switch ports on router 2.

What kind of routers are they? Is one of the 4 switch ports designated as uplink? If so, then thats the one to use to get to the other switch.

If you use the WAN port, your on the other side of the routing function and it will separate the two networks logically, rather than join them like you want.


这篇关于如何设置具有多个路由器的网络。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆