Hello everyone, I made a bit of a mistake with a purchase I made for a new router, and I’m trying to figure out what my options are.
I’ve been using an Asus wifi router for my home router for a very long time. The router is no longer supported by Asus - I can still get updates for it via the asuswrt-merlin project, but I had been thinking about setting up an OPNsense router for a long time, so I finally decided to go for it and not have to rely on the free time of the people behind the Merlin project.
I found an Intel NUC that’s only a few generations old for a reasonable price, so I purchased it with the intent of putting OPNsense on it and using the Asus roter as a simple Wifi access point.
However, I was not thinking when I purchased the NUC, and I got one with a single ethernet port. I assume this is a problem because I won’t have a straightforward way to get an ethernet cable from the NUC to the Asus router - my chain of devices would be fiber modem → Intel NUC → Asus wifi router, but that won’t work with just the one port.
I’ve been doing some research today, and here are the options I have that I’m aware of:
1: USB to ethernet adapter. Some people say they’re flaky on FreeBSD and shouldn’t be used, and some claim they’re fine. I found a random post on the OPNsense forums that lists some very specific chipsets that should theoretically work. If this works, it seems like the most straightforward way to go, but I don’t know if it’s the best.
2: The NUC has a free M.2 slot, so in theory I could get an M.2 to PCIe adapter that sits outside the NUC, and then a PCIe network card to get me another ethernet port or two. I’m not particularly concerned about the appearance, but I am a bit concerned about putting the bottom of the case back on when there’s a cable running to the exterior of the case. This seems like the most surefire way to make the whole thing work.
3: If people think this is a viable idea, this is the one I need the most help with: putting a managed switch between the fiber modem and the NUC. I have read that putting a managed switch between the modem and NUC can work if you set up VLANs, but I only know what VLANs are in theory, and I don’t understand what this would look like in practice. The whole point of this is to use OPNsense as the router/firewall, but it seems to me like the managed switch would be handling traffic in this case, because I’d have a cable running from the fiber modem to the switch, and then three additional cables connected to the switch - one going to the NUC, one going to my desktop PC, and one going to the Asus router. I fully admit that I don’t understand how packets move across a network, but it seems to me that the traffic going to the Asus router and the PC would be managed by the switch and not by the NUC.
4: Get a different NUC. It isn’t as though I’m not willing to do this, because there are some NUCs that have two ethernet ports, but I don’t want to do this unless it’s really the only way.
5: Use a different OS for the router that has more driver support for USB to ethernet adapters. I have a USB-C to ethernet adapter that OPNsense won’t recognize, which I why I’m here writing this post rather than trying to configure OPNsense.
I sincerely thank anyone who’s willing to take some time to provide some tips and information. This is my first ever post here. I’ve watched a few Level1 videos about this and other topics, which I why I thought maybe the people here would have some ideas.
