I have 3 hosts (computers). The 3 hosts used to connect the router directly and the IP address of them are,,

Recently, I bought a switch and I linked all 3 hosts to the switch. Then, I linked switch and the LAN port of the router.

The question is if the gateway was the set to in the router, the 3 hosts can not be detected by the router. But after the gateway changed to, the 3 hosts can be detected.

I want to keep the original IP address of my 3 hosts. How can I do to solve it? Why does not the detect the 3 hosts?

Appreciate for any help.


below is the screenshot of the router config. enter image description here

enter image description here

  • Could you post a screenshot of "setting a gateway" in the router? Commented Mar 7, 2020 at 10:55
  • @user1686 sure, please check, I updated the question.
    – DennisLi
    Commented Mar 7, 2020 at 12:48

1 Answer 1


You can change your gateway to, and still keep the same address on your hosts. As for the reason... I suspect it may be related with some auto-config feature on the switch. If it is possible, try to disable it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .