How did you fail?
VLANs (Virtual LANs) are for isolating devices from each other (while still being plugged to the "LAN" ports of the same router).
How did you fail?
VLANs (Virtual LANs) are for isolating devices from each other (while still being plugged to the "LAN" ports of the same router).
I honestly think you would be more happy with any hackable (openwrt compatible) router over the pi. The pi is great for many things but for a router is really lacking.
Maybe, but I my router is not hackable and I don't plan on buying one that is.
Toss OpenWRT into the trash and install OPNSense instead.
If you want to use the PI as a router you'll probably end up with a double NAT situation which isn't ideal but may work well enough. In terms of wifi performance, I wouldn't expect a Pi to be particularly good here so I'm not sure this even worth it unless it's just a budget issue and you don't have any other options.
In terms of your problem, you should be able to assign the Pi ethernet port to the default WAN and WAN6 networks. As for wifi, the Pi adapter needs to have support for AP mode, and looking around it doesn't seem clear if the built in wifi adapter supports that or not (most people using the Pi are using it purely as a router and not a wireless AP). If not, you'd need a USB wifi adapter that supports AP mode. You might want to get that additional ethernet adapter too for testing/debugging and it will allow you to add a dedicated wireless AP.
This a can versus should. You can do this but I would strongly discourage it. I would strongly recommend buying a proper device with Mimo and multiple reasonably sized antennas.
OpenWRT should have VLAN support out of the gate. Probably has an admin page for it.
Unless you want to go full wireless I would strongly suggest at least one USB ethernet dongle and a cheap managed switch (managed so you can take advangate of VLANs. Unmanaged switches are cheaper if you decide VLANs aren't for you).
I agree about the USB Ethernet dongle. Unless you only require short distance wifi range (eg hotel room temp router) the radio in the pi isn't going to be enough
I built a pi4 router a few years ago, and it's still running great, I recommend the project. But unfortunately I can't find the HOWTO and it was before I started taking good notes. I assume your current router is a phone company supplied modem/router?
My setup is cable modem-->pi router-->switch--> old netgear router in Access point only mode
Being that your router/modem is upstream of router, I'm not sure if you could pass-through the WAN to the pi router, and pass back the LAN to the router/modem for the wifi... maybe someone on here can shed some light?
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
| Fewer Letters | More Letters |
|---|---|
| AP | WiFi Access Point |
| DHCP | Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network |
| IoT | Internet of Things for device controllers |
| MQTT | Message Queue Telemetry Transport point-to-point networking |
| NAS | Network-Attached Storage |
| NAT | Network Address Translation |
6 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.
[Thread #855 for this sub, first seen 7th Jul 2024, 00:15] [FAQ] [Full list] [Contact] [Source code]
Chuck made a great video explaining that. If I remember well, he suggested 2 Wi-Fi, one to connect to the hotel Wi-Fi for example and the other to distribute a secure connection to your gears. I guess you can do the 2nd one through the Ethernet port of the Pi: here you go.
I want the WAN coming in from the router from the Pi’s Ethernet port, and the LAN coming out as Wi-Fi. I may also stick an additional Ethernet adapter to it in the future.
Can you try to explain this a bit more?
all 27 comments