Hi! How do i setup vlan?
Use DSA bridge-VLAN syntax...
Thanks i will try that..i only have one lan port on google. How do i setup the “bridge vlan filtering”? I have a common lan now. Should i make two vlan’s in “bridge vlan filtering?
vlan1=lan, vlan id=1
vlan2=lan2, vlan id=10 ?
both tagged?
The tutorial has the information about how to make the bridge VLANs.
At least one of the VLANs must be tagged. The other one depends on your downstream device and its configuration (does it expect an untagged network, or all tagged).
The vlan id is also written in decimal.... No need to write it binary.
Followed this https://www.youtube.com/watch?v=qeuZqRqH-ug
Now i have 2 vlan, br-lan.1 and br-lan.10
br-lan.1 goes through wireguard interface, it works
br-lan.10 i want to go to wan, not working, i can connect to wifi and get ipadress but can not reach internet.
Did you setup Policy Based Routing? You'll need to do this if you want to have one network routed via the VPN and the other via the regular wan. (you can do this manually, too... but PBR is much easier)
Aha i will install and test that tomorrow, thanks
@psherman
I have now installed PBR and now I have 2 vlans + wifi on both + 2 AP, it works really good. Thx all ![]()
Glad it's all working now!
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! ![]()
I was to fast to celebrate..it seems like I cant connect to the wifi i have routed in PBR when im attached to one of the AP. But it works when im near the router…must investigate later after work.
Do I have to install PBR on AP too?
I can now connect to vlan10 through my both ap, but i can only reach some websites…google.com is not working. I have googles dns servers on that interface, but its someting wrong. Any tips?
Now its working, i set “option dhcp_option '6,8.8.8.8,8.8.4.4'“ on the device that connected to vlan that didnt work as planned.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.