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 :)

  • Rivalarrival@lemmy.today
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    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.

    • cynar@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.