Here is the past network setup:

  • Main Router (192.168.1.2) -> Ethernet Switch -> Multiple Ethernet cables connected to wall
  • Wall -> Second Router (192.168.1.1)
  • Wall -> PC

After a blackout we thought the switch was no longer working so we replaced it with another router. The problem is the router has too few ports, not every room gets ethernet. The ethernet switch works in this configuration:

  • Main Router -> Third Router (Wi-Fi disabled) -> Ethernet cable connected to wall -> Wall -> Ethernet Splitter -> PC Under either of these configurations PC detects network but cannot reach 192.168.1.1, 192.168.1.2 or WWW:
  • Main Router -> Ethernet Switch -> PC
  • Main Router -> Ethernet Switch -> Ethernet cable connected to wall -> Wall -> PC

Windows reports “Unidentified network”, Linux tries to connect for a minute then fails. I knwo the PC isn’t bad because other devices also fail to connect. Even if I set up a static IP I cannot reach a local IP. 2nd router has IP address 192.168.1.1 because it refuses to use anything else, first router is assigned different IP so these two don’t conflict.

Update: For testing I removed router 2, (the one I use as an extender / wireless AP) set router 1’s IP address to 192.168.1.1. I tried connecting Router 1 to Router 3 (with DHCP disabled) and Router 3 (used as a switch) to PC via cables. It worked. Then I replaced Router 3 with the switch, network detected but no Internet. So even with the simplest possible setup and one DHCP server I had no network. My original problem was Router 3 had too few ports and not all rooms got Ethernet access. Router 3 is above Router 1 and connects to cables coming out from the wall that provide Ethernet to rooms. I recalled that WAN cable of Router 1 is too short so I cannot lift it to connect to cables, turns out that’s not the case. So I lifted Router 1 and I could connect a cable to provide Ethernet for one more room which is what I needed. Routers 1 are 3 are held mid air with Ethernet cables. I previously mentioned that the switch works if it is connected to a wall plug in a room and it still works that way. Anyways here is the final setup:

8 points
*

Are you sure there is exactly one DHCP server running?

permalink
report
reply
5 points

I was thinking the same. Could be an IP conflict.

permalink
report
parent
reply
1 point

First router has DHCP enabled with range 192.168.1.20 to 192.168.1.80. Second one has “DHCP Relay” enabled with relay server set to 192.168.1.2. Third router has DHCP disabled.

permalink
report
parent
reply
9 points

That’s not how DHCP relays work.

permalink
report
parent
reply
4 points

Try diasbling the second DHCP server altogether. You only need one, since you have a flat network.

permalink
report
parent
reply
10 points
*

You have three routers? Why?

Throw 2 of them out and get actual switches.

permalink
report
reply
0 points

2nd router is used as a wireless AP, getting rid of 3rd router is exactly what I am trying to do.

permalink
report
parent
reply
8 points

Just to make sure you know this, routers are not switches. You might get some of them to sort behave like switches with careful configuration, but most of the time it’s asking for a lot of trouble.

permalink
report
parent
reply
1 point

Well, routers CAN be switches. OP is just not using them in the right way.

permalink
report
parent
reply
1 point
*

Not sure if I am reading it correctly. But what ip adress is your given to your pc?

It reads to me like you have router 1 and 2 on router 1’s network but your pc is on router 2’s “internal” network… which must not be in the same 192.168.1.x range as is router 1’s network.

Put router 1 under 192.168.2.x range Then Then Router 2 with 192.168.1.x adressing should work still, and the pc should be able to talk to the router-1 network.

permalink
report
reply
0 points

PC receives 192.168.1.37

permalink
report
parent
reply
1 point
*

Ethernet splitter

What kind of splitter? Not a hub or switch, just a passive splitter?

Those do exist to do 4x 100M links on a single pair each, but you can’t just plug those into a router or switch and get 4 ports, it still needs to eventually terminate as 4 ports on both ends.

permalink
report
reply
1 point
*

Model is Uptech SW-116, it has “Uplink” port and 16 LAN ports. It also uses external power.

permalink
report
parent
reply
1 point
*

As said look at DHCP clashes or " Wall -> Ethernet Splitter -> PC Under either"

What do you mean by this? The ones I know of will drop the connection to 10mb or 100mb and will on work on both “halves” at the same time*

  • see comment by @Max_P
permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.4K

    Monthly active users

  • 1.6K

    Posts

  • 14K

    Comments