Hey all, I was wondering if anyone could help me work out how to do this? Basically, I have a stupid number of smart devices and my router has become increasingly unstable. I want to have all my IOT devices on one router and reserve the other for priority devices like phones and PCs.

I plan to put my IOT hub on 2G only and my primary hub on 6G and 6e only to avoid 2G congestion.

Problem is, if I connect both my routers to my modem, only one can connect to the internet. I tried putting a network switch between the routers and the modem, no dice.

Does anybody know how I can have 2 separate networks using 2 separate routers on a single modem? Both require internet connection but they don’t need to be able to communicate.

Thanks in advance for any help people can give :)

1 point

Does your modem have dhcp and NAT? If it does, turn those on and it should work.

permalink
report
reply
1 point

Unless you pay your ISP for two connections, you won’t get two routers connected to your modem. I’d suggest upgrading to a better router designed to handle higher traffic, like a business router. Or you can build your own router with a computer and OPNSense.

permalink
report
reply
6 points

Quick and dirty solution. Designate 1 as the primary, it gets the modem. The secondary gets plugged in, and appears as a single device to the primary. This works, but the secondary network is double NATed. This can make its internet connection a bit grumpy and laggy. It’s fine for IoT devices however.

Best solution, upgrade to some more robust kit. I personally use the Ubiquiti Dream Machine. It’s a massive step up from the cheap rubbish ISPs provide. It can do multiple vlans, and so separate the 2 networks, while sharing infrastructure. It also allows for things like remote management or VPN connections. It can be a good alternative for remote control, rather than exposing your master controller to incoming internet connections.

Also, what do you use as a master controller, and can it handle and internet dropout? I’ve known a couple of people burnt by their internet breaking, and taking their light switches with it! I personally use Home Assistant, but there are a few other options out there.

permalink
report
reply
4 points
*

This works, but the secondary network is double NATed

Second one does not necessarily have to be double nat’d. You can disable nat, disable the internet port entirely, disable DHCP, DNS, and any other IP services on the secondary router, and just connect the switch of the secondary router to the switch of the primary router.

The second “router” no longer performs any routing or server functions. It just acts as an access point and a switch. When the IOT devices connect to the AP of the secondary router and request an IP address via DHCP, the request is fulfilled by the primary router’s DHCP server.

Assuming OP’s problem with excessive devices is a bug at the physical layer (SSID) and not at the link layer (MAC), this should resolve it. If it’s at the IP layer or higher, it can’t be solved with their current equipment.

Since the secondary router is neither handing out DHCP addresses nor requesting a DHCP address for its LAN interface, it will need a static address within the primary router’s subnet for devices to be able to access it.

permalink
report
parent
reply
1 point

Assuming the 2nd router is willing to play ball. I’ve seen some that won’t go into access point mode.

Other than that though, it’s another good option.

permalink
report
parent
reply
1 point
*

Modem - Switch - Router 1

…………………………|_Router 2

May be this setup?

permalink
report
reply
5 points

You could buy a pfsense capable mini-pc ~$200. It will give you, 1 wan port and 2 or 3 lan ports or repurpose an old desktop by updating it with a dual network card. The pfsense mini pc will use a lot less power long term. Then use your routers in access point mode, one for your IOT on 2.4ghz and one on 5ghz for the other stuff. You can set up the firewall to prevent the iot network on the second lan from seeing anything on the primary lan but still have full access to devices from the primary to the IOT network.

Easier solution is what was already suggested is by using vlans with one router and the setup the second router in access point mode for the IOT

permalink
report
reply
4 points

This is the answer you’re looking for.

One router to control them all, and then 2 separate wifi ap’s

permalink
report
parent
reply

networking

!networking@sh.itjust.works

Create post

Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.

Community stats

  • 56

    Monthly active users

  • 127

    Posts

  • 811

    Comments