router后面接router,如果IP conflict就不工作
版主: Jack12345
-
- 论坛元老
- 帖子: 15518
- 注册时间: 7月 21, 2022, 11:33 pm
- 昵称(选填): 众傻之傻
router后面接router,如果IP conflict就不工作
我在家里喜欢呆的地方离router远,信号弱。于是翻出一个以前的旧router,让它接在主力router后面(ethernet链接)当成第二个router。折腾了一上午,手机都说connected but no internet。各种设置都测试了,最后弄好是把第二个router的LAN IP从192.168.1.1改为192.168.100.1。因为主力IP也是192.168.1.1,冲突了。
没有光子;也没有量子能级,量子跃迁,量子叠加,量子塌缩和量子纠缠。
-
- 职业作家
- 帖子: 538
- 注册时间: 11月 11, 2022, 12:30 pm
- 来自: 火星
- 昵称(选填): 不折腾不舒服斯基
Re: router后面接router,如果IP conflict就不工作
只能有一个DHCP server
-
- 知名作家
- 帖子: 830
- 注册时间: 1月 7, 2023, 9:07 pm
- 昵称(选填): Huang
Re: router后面接router,如果IP conflict就不工作
不是同一网段有时候也很烦人的。
假设主路由是 192.168.1.1
正确的做法是:
设定老路由地址是
192.168.1.200 (or something else),并设定 mask,gateway 等等
关闭老路由的 DHCP server, 设置为DHCP forwarder, 指向主路由 192.168.1.1
老路由的 LAN 口和主路由 LAN 连接
(如果你能把老路由的 wan 口划归lan,也可用老路由的 wan 口和主路由的 LAN 相连)
假设主路由是 192.168.1.1
正确的做法是:
设定老路由地址是
192.168.1.200 (or something else),并设定 mask,gateway 等等
关闭老路由的 DHCP server, 设置为DHCP forwarder, 指向主路由 192.168.1.1
老路由的 LAN 口和主路由 LAN 连接
(如果你能把老路由的 wan 口划归lan,也可用老路由的 wan 口和主路由的 LAN 相连)
-
- 著名写手
- 帖子: 234
- 注册时间: 2月 1, 2023, 11:19 am
-
- 论坛支柱
- 帖子: 11413
- 注册时间: 7月 27, 2022, 11:37 am
-
- 论坛元老
- 帖子: 15518
- 注册时间: 7月 21, 2022, 11:33 pm
- 昵称(选填): 众傻之傻
Re: router后面接router,如果IP conflict就不工作
烦人之处在哪里?DavidHuang 写了: ↑11月 13, 2023, 1:13 pm 不是同一网段有时候也很烦人的。
假设主路由是 192.168.1.1
正确的做法是:
设定老路由地址是
192.168.1.200 (or something else),并设定 mask,gateway 等等
关闭老路由的 DHCP server, 设置为DHCP forwarder, 指向主路由 192.168.1.1
老路由的 LAN 口和主路由 LAN 连接
(如果你能把老路由的 wan 口划归lan,也可用老路由的 wan 口和主路由的 LAN 相连)
我现在这个安排,反正可以work,就暂时不改了。
没有光子;也没有量子能级,量子跃迁,量子叠加,量子塌缩和量子纠缠。
-
- 知名作家
- 帖子: 830
- 注册时间: 1月 7, 2023, 9:07 pm
- 昵称(选填): Huang
Re: router后面接router,如果IP conflict就不工作
Try to visit 192.168.100.80 from 192.168.1.80?
-
- 著名写手
- 帖子: 323
- 注册时间: 3月 9, 2023, 8:07 pm
- 昵称(选填): 武松
Re: router后面接router,如果IP conflict就不工作
把后面那个router的工作模式改成Access Point, 就不会confuse switch or router了。
-
- 论坛点评
Nameless 的博客 - 帖子: 3144
- 注册时间: 1月 24, 2023, 9:30 pm
- 昵称(选填): 岌岌无名
Re: router后面接router,如果IP conflict就不工作
正解。
constableOne 写了: ↑11月 15, 2023, 10:13 am 把后面那个router的工作模式改成Access Point, 就不会confuse switch or router了。
-
- 论坛元老
- 帖子: 15518
- 注册时间: 7月 21, 2022, 11:33 pm
- 昵称(选填): 众傻之傻
Re: router后面接router,如果IP conflict就不工作
明白了,我的第一router后面有无线打印机,那么第二router如果使用不同网段就无法使用这个打印机了。
没有光子;也没有量子能级,量子跃迁,量子叠加,量子塌缩和量子纠缠。
-
- 论坛元老
- 帖子: 15518
- 注册时间: 7月 21, 2022, 11:33 pm
- 昵称(选填): 众傻之傻
Re: router后面接router,如果IP conflict就不工作
试了一下,只改了这个设置(从router改为access point),结果就崩溃了,接它的设备都没网了,192.168.100.1也不能access了,不管是有线还是无线。重启都不管用,只能reset重新来过,wizard重走一遍。constableOne 写了: ↑11月 15, 2023, 10:13 am 把后面那个router的工作模式改成Access Point, 就不会confuse switch or router了。
原因可能是这个router太老吧。好多年以前的了,只有一个天线那种。
没有光子;也没有量子能级,量子跃迁,量子叠加,量子塌缩和量子纠缠。
-
- 论坛点评
Nameless 的博客 - 帖子: 3144
- 注册时间: 1月 24, 2023, 9:30 pm
- 昵称(选填): 岌岌无名
Re: router后面接router,如果IP conflict就不工作
抱歉,看来我是害人不浅了。
Access point 之后就确实没有192.168.100.1了。
到上游router dhcp 应能看到下游router 有一个自己的IP
在192.168.1.?
接它的设备以前都被分配了192.168.100.?的地址,
当然就不再有网了。现在只有一个default gateway,也就是
192.168.1.0/24 共用的DG
设备重起应该能从上游router的dhcp自动获得192.168.1.?的IP.
Access point 之后就确实没有192.168.100.1了。
到上游router dhcp 应能看到下游router 有一个自己的IP
在192.168.1.?
接它的设备以前都被分配了192.168.100.?的地址,
当然就不再有网了。现在只有一个default gateway,也就是
192.168.1.0/24 共用的DG
设备重起应该能从上游router的dhcp自动获得192.168.1.?的IP.
-
- 知名作家
- 帖子: 830
- 注册时间: 1月 7, 2023, 9:07 pm
- 昵称(选填): Huang
-
- 著名写手
- 帖子: 323
- 注册时间: 3月 9, 2023, 8:07 pm
- 昵称(选填): 武松
Re: router后面接router,如果IP conflict就不工作
把第二个router reset, login and change the LAN address to one on the same subnet as 第一个, ie, 192.168.1.200, reboot, change your PC's address to 192.168.1.199 and connect to the second router (192.168.1.200), change the operation mode to AP. Move the ethernet cable from the WAN port to one of the LAN ports. Boot up.
As an AP, the second router is on the same subnet as the first one. I had the same problem and AP is the solution. Hope it works for you.
-
- 论坛元老
- 帖子: 15518
- 注册时间: 7月 21, 2022, 11:33 pm
- 昵称(选填): 众傻之傻
Re: router后面接router,如果IP conflict就不工作
学习了,有空我来试试看。constableOne 写了: ↑11月 16, 2023, 8:21 am 把第二个router reset, login and change the LAN address to one on the same subnet as 第一个, ie, 192.168.1.200, reboot, change your PC's address to 192.168.1.199 and connect to the second router (192.168.1.200), change the operation mode to AP. Move the ethernet cable from the WAN port to one of the LAN ports. Boot up.
As an AP, the second router is on the same subnet as the first one. I had the same problem and AP is the solution. Hope it works for you.
没有光子;也没有量子能级,量子跃迁,量子叠加,量子塌缩和量子纠缠。
-
- 论坛元老
- 帖子: 20497
- 注册时间: 7月 22, 2022, 10:36 pm
-
- 著名写手
- 帖子: 323
- 注册时间: 3月 9, 2023, 8:07 pm
- 昵称(选填): 武松
Re: router后面接router,如果IP conflict就不工作
讲漏了几个细节:reset 之后,把router(第二个)移到工作电脑旁边,工作电脑的网线接到router的LAN port, 改工作电脑的IP, 跟router在同一个subnet上,然后是上面说的,make sure the second router's LAN is same as the first one, 然后把它改成Access Point, 就这样。如果你能把router移到房子中间位置,coverage would be much improved and you probably don't need the 2nd device.