Connect Wifi and Ethernet

My modem (A) is connected to internet ISP. Doesn’t have strong Wifi support, so a router (B) is connected to modem (A) to provide Wifi support to the whole house.

I can login in the modem (A) GUI interface via I can login in the router (B) GUI interface via

I have a Linux notebook connected over a ethernet cable to my modem (A). My android phone is connected to the wifi router (B).

Firewall (ufw) is well configured on my Linux notebook.

The problem is, I only can connect Syncthing between my notebook and android if both of them are connected to Wifi on the router (B). If notebook is connected to modem (A) via an ethernet cable and android to router (B) via Wifi, the devices can’t reach each other!

UPnP is disabled on both (A) and (B) for security reasons (?).

Modem (A) model is a Technicolor ADSL Router and Router (B) a TP-Link. So, how can I connect both of them on this setting?

Modem and router have different networks, so they (normally) cannot talk to each other. Syncthing finds other devices and there IP addresses by broadcast/multicast, which only works inside the same network.

You can either enter the IP address of the laptop into the addresses field of the remote device setting on your android, or you can connect your LAN to the router instead of the modem, so every device in your home (LAN or Wifi) is in the same network.

What IP address should I add to android?

Both PC and android are set to dynamic.

Currently, that is what I get running syncthing from terminal

[QNYTX] 05:26:38 INFO: quic:// detected NAT type: Port restricted NAT
[QNYTX] 05:26:38 INFO: quic:// resolved external address quic://XXX:1024 (via
[QNYTX] 05:26:39 INFO: Detected 1 NAT service

My local is (Static notebook) and android (DHCP) is

or you can connect your LAN to the router instead of the modem, so every device in your home (LAN or Wifi) is in the same network.

Does that mean connecting the notebook (Linux) to the Wifi network? (Sorry I don’t understand well networking). If so, yes, Syncthing works normally doing that.

If you change dynamic to tcp:// in the device dialog for your laptop on your android, it should be able to connect. But only if both devices are at home.

You router should have additional LAN ports, so you can connect your laptop and everything else with a cable (not Wifi) to your router too, so that all devices are in the same network.

you could also set your router (B) to act as a simple access point (disable DHCP, set static IP within network (A) and plug cable into LAN port instead of WAN)

1 Like

You can also use both, i.e. tcp://,dynamic, such that it both tries discovered addresses and this static address. Thus it should also work when outside this network.

Generally you should heed the networking advice given and acquaint yourself with the settings or your router/modem to achieve a single network (and then transmit multicasts between wifi and lan, which is often prevented by default). Having generally the same “base-setup”, I set the modem to bridge mode and connect everything to the router, thus you need to deal with one device only to get your internal network running the way you want to. If your router has no LAN ports, then my approach wont work, but the one suggested by @Alex will still work.

1 Like

Thank you very much!!!

The solutions is:

  • (A) and (B) are now connected via LAN port (ethernet cable) (ignore the WAN port on router (B))
  • Configured (A) IP pool to start at
  • Set (B) to a static LAN IP. (B) Now have the static LAN IP
  • Disable (B) DHCP

Now I can turn off my notebook Wifi and access both and!

Basically, router (B) is now just an Access Point to modem/router (A)

Thank you for everyone! Today I learned a little bit more about networking ^^

Syncthing is now working very well with the double of the previous speed I was using. Thank you! [SOLVED]


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.