OpenWRT ( LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685) on a NETGEAR WNDR4300 router.
Wifi is acting as a client and bridging internet connection to lan ports. I configured phisical WAN port to be bridges as well.
Now I'd like to create a separate VLAN on the WAN port (no interaction between clients connected on LAN ports and clients on WAN) but I'm having trouble understanding how to do this.
yep, but vlan1 and vlan2 share same ip subnet, they are in the same network. I'd like to separate them, for example:
vlan1 192.168.1.0/24
vlan2 10.0.0.0/24
Ok, so far I created the new "guest" interface, assigned to eth0.2, detached eth0.2 from the lan bridge.
But the new "guest" network, has no internet connection (since I detached to lan bridge).
If I create a second bridge (WWAN > GUEST) I lose connection on LAN aswell.
I'll write the final move here, maybe could help somebody.
Basically the eth0.2 device was the same for GUEST, WAN, WAN6. But since the firewall rule was the same for WAN, WAN6 and WWAN (this is the actual internet gateway) it would create conflict when I assign also GUEST.
So I create a third VLAN (eth0.3) and assigned GUEST to it. Then following the advices in this post and this guide for the firewall riles and everything is working now .
Thankyou for your tips! I'm learning a lot in this forum!