VLANs in OpenWrt 21

Поділитися
Вставка
  • Опубліковано 29 тра 2024
  • MANY THANKS TO ALL MY PATRONS on / onemarcfifty !!!
    The VLAN Konfiguration has changed in OpenWrt 21.02 - Bridge VLAN Filtering and Distributed Switch Architecture (DSA) change the way we configure the network segmentation in a Guest, IOT and LAN Network.
    00:00 Intro
    00:58 TLDR - Chapter overview
    01:15 Recap VLANs
    04:24 Recap Version 19
    08:13 Version 21 - 802.1Q VLANs
    08:51 implicit/explicit configuration
    10:53 Version 21 - DSA and bridges
    12:12 Bridge VLAN filtering
    16:07 egress/ingress/tagged/untagged explained
    20:50 adding Wi-Fi to a VLAN
    22:04 configuring a 2nd access point
    24:30 Best practices and tips
    Related videos:
    Extend a Guest Wi-Fi to a second accesss point • extend a guest wifi on...
    Configure the Firewall on OpenWrt • How to configure OpenW...
    Wi-Fi Fast Roaming • CHEAP WI-FI MESH ALTER...
    Build a managed switch with OpenWrt • Building a managed swi...
    Commands I type or use:
    cd /etc/config
    cp network network.bak
    opkg update
    opkg install diffutils
    while true; do clear ; diff network network.bak ; sleep 1 ; done
    to check if IP4 forwarding is active:
    cat /proc/sys/net/ipv4/ip_forward
    (0: not active, 1: active)
    to disable forwarding (does not survive reboot):
    echo "0" (gt) /proc/sys/net/ipv4/ip_forward
    (replace (gt) with the "greater" sign)
    to survive reboot:
    add net.ipv4.ip_forward=0
    into the /etc/sysctl.conf file
    The Linux Kernel DSA Documentation is here: www.kernel.org/doc/Documentat...
    Please support me on patreon: / onemarcfifty
    My youtube channel: / onemarcfifty
    Marc on Twitter: / onemarcfifty
    Marc on Facebook: / onemarcfifty
    Marc on Reddit: / onemarcfifty
    Chat with me on Discord: / discord
    Licence-free music on / Lizenzfreie Musik von www.terrasound.de/lizenzfreie... music on / Lizenzfreie Musik von www.terrasound.de/lizenzfreie...
  • Наука та технологія

КОМЕНТАРІ • 517

  • @kryb2k5
    @kryb2k5 2 роки тому +35

    On my Archer C7 the br-lan does not have multiple lan ports bridged. Instead it only shows a "Switch VLAN" named eth0.1. I still have the Network->Switch menu item but no checkbox to "bridge interfaces" from the old guide.
    Here is what worked for me:
    In Network->Switch select "Add VLAN", then make sure it is tagged on the CPU(eth0). This will create another "Switch VLAN" under Network->Interfaces->Devices. Create a new Interface with a static adress and select eth0.3 (or whatever "Switch VLAN" was created). Select IP range, firewall, etc. and don't forget to enable DHCP. From there it seems identical to OpenWRT 19.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +12

      Many thanks for sharing - I’ll pin your comment in case anyone else runs into the same issue

    • @dunkelklinge1
      @dunkelklinge1 2 роки тому +11

      Thanks for your hint! I've got an TP-Link Archer A7 which is very similar to the Archer C7 and I also don't have the possibility to configure multiple LAN ports in bridges (only eth0.1 by default). But in my case it was not enough to just assign the eth0.x switch VLANs to the interfaces. I first needed to create a bridge device for each VLAN with the corresponding eth0.x ports and then assign the bridge devices to the interfaces. Otherwise I had no connection via wifi. But now it works flawlessly - great stuff!

    • @RavingMad
      @RavingMad 2 роки тому +6

      As it turns out DSA is not supported in IPQ806X SoC based devices yet. However, devices tab still shows up, only without the ability to configure anything in Netgear R7500 and R7800. I had read up on DSA and found it the most reasonable way to configure VLANs. However, I'm unable to use it as the feature is not yet available for my devices. I'm continuing to use the old way via switch menu, which I always found a bit confusing, but am getting used to it now by force. I'm only referring to LuCI as I don't go command line unless I absolutely have to.

    • @jeffrice238
      @jeffrice238 2 роки тому

      @@RavingMad Thanks - same issue with my R7500v2. Very confused on how to proceed setting up a VLAN for my IOT!

    • @anthonyscott2368
      @anthonyscott2368 2 роки тому +1

      Do you have a discord server?

  • @abhigupta912
    @abhigupta912 2 роки тому +54

    Yes to all the tutorials please (RaspberryPi, Proxmox, VirtualBox).
    Also would love to see detailed explaination of networking concepts using VirtualBox as I don't have access to physical hardware to play with.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +5

      It‘s noted - many thanks for the feedback!

  • @cokegen
    @cokegen Місяць тому

    I bought a couple new routers to do your BATMAN setup and I was left wondering where my old and trusted "switch" section went. Didn't had any idea on DSA, so, I'll have to watch and re-watch this video until it sticks.
    Really, thanks a LOT for doing all of this.

  • @sokolum
    @sokolum 2 роки тому +17

    What a wonderful and a excellent explanation!
    (Working here for years in networking)

  • @glennperete
    @glennperete 2 роки тому +14

    please, a video on rpi->managed switch with vlans to access points with guest and main wifi. thanks.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Many thanks Glenn. I’ve taken note.

  • @GeorgeValkov
    @GeorgeValkov 2 роки тому +12

    With DSA, having wan + lan1-4 might seem convenient, but there's a catch. They are virtual and all go through the same phy, so the bandwidth is split. There's also more CPU overhead. If a device has multiple physical ethernet interfaces connected to the switch, only the first phy is used, the rest are disabled. WRT3200 is a good example. It actually has 3 ethernet interfaces. eth2 is disabled at compile time, because it does not have a MAC address in ROM. With swconfig, by default eth0 was connected to LAN ports, while eth1 connected to WAN. With DSA, eth1 is disabled, wan + lan1-4 are virtual and go through eth0. So Marc, in case you were wondering why I maintain a patch called Revert DSA, now you know. Regarding TP-Link Archer C7 and 1043ND, I heard their switch is not compatible with DSA, so they are not likely to get support. They have only one ethernet interface, hence LAN and WAN are accomplished using VLANs eth0.1 and eth0.2.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +3

      Awesome feedback, many thanks Georgi.

    • @tb3201
      @tb3201 2 роки тому

      I have two TP-Link WDR4310 as a dumb APs which as well not supported by DSA and as you mentioned a patch called "Revert DSA", can you reveal where that can be found? I am kinda stuck with my multi VLAN configuration on them.

    • @GeorgeValkov
      @GeorgeValkov 2 роки тому

      @@tb3201 wrt3200acm: reverted to network switch, instead of DSA

    • @tblisty6907
      @tblisty6907 Рік тому

      So sad. Aren't there any bypass of creating that bottleneck?

    • @GeorgeValkov
      @GeorgeValkov Рік тому

      @@tblisty6907 If you follow the history on your router, you might be able to find a state using swconfig before the switch to DSA, and recreate it.

  • @Autotrope
    @Autotrope Рік тому +3

    Your way of explaining things is the perfect match for my way of understanding things. Thank you so much for having this channel. I'm learning so much about home networking.

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi, many thanks for the feedback. I am happy that you found the videos useful.

  • @petersvideofile
    @petersvideofile Рік тому +6

    Wow!! This is really an amazing video. You do such a great job explaning it. You have great visual aids, the pacing is good too, and you answer almost every question I have all whilst highlighting difference between popular versions of OpenWRT. You condensed down what could have taken hours or days to piece together into a 30 minute video.

    • @OneMarcFifty
      @OneMarcFifty  Рік тому +1

      Hi Peter, many thanks. Yeah, the challenge is always to put the information together. I mean, the info is there - one just needs to find it ;-) Kind of a needle in the haystack challenge really ;-) I am glad that you liked the video - thanks for the feedback.

    • @petersvideofile
      @petersvideofile 2 місяці тому

      @@OneMarcFifty 1 year later and I'm still coming back to this video for tips :D It's like my goto walkthrough :)

  • @goppinaththurairajah760
    @goppinaththurairajah760 2 роки тому +6

    Danke Marc, your explanations are really great. Yes, I am strongly encouraging you to make Raspberry Pi based OpenWrt tutorials, especially with the topic VLAN. Vielen Dank für deine wertvolle Zeit und viele Grüße aus NRW.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +2

      Vielen Dank - das Raspberry Pi video ist auf der Liste. LG Marc ;-)

  • @lucidgroove
    @lucidgroove 2 роки тому +3

    Wow. This is an amazing video and the way you deliver it is very helpful to understanding the new concepts and differences. I was about to revert back to v19 because learning all this stuff from the documentation seemed to complex to put into action, with all my kids and house mates pressing me to get the network back up.

  • @sviteneg
    @sviteneg 2 роки тому +3

    Thank you very much for such a simple and understandable explanation about VLAN! Special thanks for your contribution to the distribution of OpenWRT. I subscribed a month ago and now I watch all your videos. And by the way, it was after this video that I was finally able to set up VLAN. I wish the grow of the channel and look forward to new videos. Such work and material is really worth supporting from the community through patreon or something else!

  • @santhoshgj206
    @santhoshgj206 2 роки тому +3

    Great to have OpenWrt on RPi

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Many thanks for the feedback Santhosh!

  • @NiklasTheis
    @NiklasTheis Місяць тому

    This video is great. ❤
    After trying for 2 days and failing, I finally found your video and fully understood what to to. Afterwards it took me 20 minutes to configure after a full reset and it worked smoothly. 🎉

  • @anurut
    @anurut 2 роки тому +4

    It would be great to have a raspberry Pi OpenWrt video. I've been busting my head for quite a while now to make OpenWrt work on raspberry Pi

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Many thanks Anurut, I‘ve taken note.

  • @jefferyholcombe5189
    @jefferyholcombe5189 9 місяців тому

    I learn something new every time I watch this video. Just an average user with 4G internet trying to figure out how to set up vlan's on a network with 4G router and an 8 port switch and a few wireless access points! Appreciate you taking the time to try and simplify basic knowledge of how the internet works in your home and how to protect yourself from doing something that may not help your internet security which is important today to know that there is a lot more going on behind the screen than most understand and could be more harmful than you know!

  • @1over137
    @1over137 2 роки тому +3

    Tip: "watch" A unix command that runs the command after it once, by default, every 2 seconds.
    EG:
    watch date
    will print the date every 2 seconds, with a refresh.
    If you want to do
    watch something | grep something
    You need to surround in quotes.
    watch "something | grep something"

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Many thanks Paul - I love watch but could not find a package on OpenWrt. Hence the script ;-)

  • @kennyawalker
    @kennyawalker 9 місяців тому

    Thanks so much Marc for the OpenWRT Videos. I have just got started in this world of using old hardware. I have three Netgear WAC 104 access points running ver 22 and followed your video on fast roaming, what a difference in my wifi cheers. The call to action, yes Proxmox container with a lan to cover containers into a vpn would be amazing too see.

  • @Cheney261
    @Cheney261 2 роки тому +2

    Many thanks. Now I get it why I was always losing connecting with the router and revert back when I was trying to create vlans at the device page. This episode is so awesome.

    • @Cheney261
      @Cheney261 2 роки тому +1

      the trick is do not apply the vlan setting before creating a new br device and attach it to the correspondly vlan device

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Yes - it's a real catch 22 - you need to be careful with VLANs - have locked myself out so often ;-)

  • @livyinverse7471
    @livyinverse7471 2 роки тому +2

    It requires a deep understanding of how 802.1q works, before you can understand the content of this video. I've been using both OpenWrt 19.07 and 21.04 for a long time for complicated VLAN configuration, but I was asking myself what the asterisk (*) means in the context of, for example "lan2:u*" (in 19.07 it was simply either "2t" or "2"). After the video, now I understand it means the LAN2 port has the VLAN which is being configured as its PVID. I almost never use LuCI. Thanks a lot.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Many thanks for your feedback ! Yes - I admit that I had trouble understanding PVID vs. egress untagged for a (long) while - thought it was redundant really until I understood the egress/ingress part - VLAN is a huge learning curve in my opinion ;-)

  • @FalkPauser
    @FalkPauser Рік тому +1

    Super video! Thanks to you I now managed to get my perfect home setup running:
    - main router (WRT-3200, wifi off due to buggy drivers, vlan filtering)
    - dumb AP1 (Ubiquiti UniFi 6 LR: 2.4G/5G internal-wlan/guest-wlan, vlan filtering, fast roaming)
    - dumb AP2/switch (WRT-1900 ACS: 2.4G/5G internal-wlan/guest-wlan, vlan filtering, fast roaming)

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Falk, many thanks for sharing this with us- I am happy that it could help !!!

  • @simonhitzemann4488
    @simonhitzemann4488 Рік тому +1

    Thank you, that was a great wrap up. Being new to OpenWrt and its terminology this helped so much more than the written DSA guide on the docs 🙂

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hey Simon, many thanks - glad it helped.

  • @TyStyckify
    @TyStyckify 2 роки тому +9

    Thank you for your thorough treatment on the OpenWrt subject(s). Getting my head around OpenWrt is much easier now that I know what and why I'm performing desired tasks.👍
    I would very much like to learn more about VLAN on an additional managed switch.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi - many thanks for the feedback! I've noted your suggestions.

  • @gordonfrank
    @gordonfrank 2 роки тому +1

    Excellent description of what a VLAN is. Thanks for keeping it simple.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi, many thanks for the feedback! I am happy that you liked it ;-)

  • @miteshpatel9308
    @miteshpatel9308 2 роки тому +2

    Your videos are awesome! Thank you for making these. Similar content across the web are no where close to your level. I am new to networking and your videos have my home network up and running with multiple vlans with openwrt all of which is new to me.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi Mitesh, many thanks for that feedback. I am glad you like the videos and that they were of use to you ;-)

  • @seth2389
    @seth2389 2 роки тому +1

    Perfekt! Danke sehr!
    This is as complete a VLAN tutorial as one can expect - great work and keep putting out such like-worthy content.
    BTW; I like your T-Shirt color too!!

  • @kamilsztuke4244
    @kamilsztuke4244 2 роки тому +1

    I'm shocked - PRO level education for OpenWRT , Great job. Thank You

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hey, don't be shocked ;-) Thanks for the feedback ;-)

  • @jacobrosen
    @jacobrosen Рік тому +1

    THANK YOU! I've been sitting for hours trying to figure this out, and it finally dropped when watching this

    • @OneMarcFifty
      @OneMarcFifty  Рік тому +1

      Hi Jacob, that’s excellent news- great it helped

  • @kbabioch
    @kbabioch 2 роки тому +3

    Wow, so much dedication for videos about OpenWrt. Loving it, great channel, subscribed!

  • @urielb.7476
    @urielb.7476 2 роки тому +1

    Thanks Marc, this is a great addition to all your OpenWrt videos. As always a great tutorial.🙏

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Thank you very much ! I am hapy that you liked it ;-)

  • @greatestunknown
    @greatestunknown 2 роки тому +1

    Awesome. I actually got mine working already by leveraging off your previous video. I took many different paths than yours though to get mine set up. I guess there are different roads to get to the same place, but I have to admit, I did get locked out many times during my experimentation before I nailed it. And it only took me 2 weeks ;) . Next I’ll try following your ‘paths’ here instead. And thanks for explaining the ‘LOCAL’ setting. I really wondered what that was for. And I am now going back to re-number my VLANs, which are currently 1,2 and 3. So many good tips!
    As for your next video, none of the one’s you mention. My request is ‘The Best OpenWrt Router for 2022’. I got the D-link Dir-2660 from your 2021 router video and this was a real good choice. Especially the recovery option it has. Thumbs up! Thanks man!

    • @greatestunknown
      @greatestunknown 2 роки тому +1

      One thing I wish you would show us is how to use the firewall log to see if our cameras are trying to phone home. I've been struggling with this and just can't seem to get anywhere.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi, many thanks for this awesome feedback! I am actually already planning the OpenWrt 2022 episode, especially in the lights of Wi-fi 6. Your idea w/r to firewall logging sounds great as well! Many thanks!

  • @andrejsersen59
    @andrejsersen59 2 роки тому +1

    Thank you very much for great explanation and interesting topics! I'm just in the middle of rebuiling my home network and this video helped me very much! Keep up the good work!

  • @heraldreichel1971
    @heraldreichel1971 2 роки тому +1

    Thanks for making this update. It was a little trickier to wrap my head around than your ususal fare, but I think I got it in the end ;-)
    When the switch option disappeared on OpenWRT 21.02 I was a little disappointed at first. I could have read up on it, but I thought I'd just wait for the movie. Well, here it is!
    The new GUI actually seems to be structured a little more clearly than the previous one, unless there's some fundamental misunderstanding on my part.
    I hope this is an accurate observation:
    The Network/Interfaces/Interfaces section configures OSI layer 3. The Network/Interfaces/Devices section configures (all) layer 2/ layer 1 interaction.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi Herald, first off - many thanks for the feedback and sharing !!!! Yes, I also had to do a bit of reading and getting my head around this - I actually liked the switch portion in OpenWrt19 - but as you rightly say, the way things are now are a bit more structured really.

  • @simonbaker2627
    @simonbaker2627 2 роки тому +1

    Thank you! Been frustrated for about a week trying to figure out DSA & VLANs and an upstream managed switch

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Many thanks for the feedback Simon - glad I could help ;-)

  • @mmgregoire1
    @mmgregoire1 Рік тому +1

    A single video with a managed switch, openwrt router, and proxmox would be fantastic!

  • @filipefumaux
    @filipefumaux 2 роки тому +1

    Amazing video. I was struggling with openwrt config specially vlans, guests and IOT. tks so much

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi Filipe, many thanks for your feedback ! I am happy that you could use the video.

  • @FlickeringBytes
    @FlickeringBytes Рік тому +1

    Thank you for making this video! I was clicking around the LuCI web interface for quite a bit without finding where to configure VLANs. Also, the official documentation does not seem to be very updated around configuring VLANs in newer versions of OpenWRT. Thanks again!

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Nils, thank you very much - I am glad you could use it !

  • @johanna-bapt.martaasaeda9499
    @johanna-bapt.martaasaeda9499 Рік тому +1

    I was a fool to think that I had managed to configure 21.03 with DSA by myself: 21.03 on FB4020 does still have a "switch" menu: I didn't realize that it's not a real DSA thing. Now I got EdgeRouter X and was shocked to find out that I'm clueless! Thank you so much for your great video! Now I can start!

  • @novytsky
    @novytsky 2 роки тому +1

    Thank you very very much! In 10 minutes fixed (dead WAN) router!

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Dmitry ! Many thanks for the feedback - glad it helped ;-)

  • @VorpalForceField
    @VorpalForceField 4 місяці тому

    Excellent Content..!!! Finally found someone with real under the hood explanations. Thank You for sharing .. Cheers :)

  • @oy12la
    @oy12la Рік тому +1

    Was solving a deep understanding problem from us, but we needed to skip back a lot of times. Thank you!

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi, many thanks for the feedback. Was I going too fast at certain times or did I not explain well that you had to skip back ?

    • @oy12la
      @oy12la Рік тому

      @@OneMarcFifty The speed was very suitable, there is nothing to complain about :) . We had to go through sentence by sentence - despite good prior knowledge. But that is simply the nature of learning things. First we watched the video informatively in its entirety, then we worked through it piece by piece.
      What is a bit irritating is the synchronisation of your sentences with the picture shown. Sometimes we weren't sure if the picture still showed what you were saying or if you were referring to something that had already been "clicked". But that becomes clear when you really get into it and is not really that significant.
      From there: Just keep it up, it was super helpful for us and I was able to apply the knowledge I learned from you several times in the meantime :)

  • @Andrew-by5yo
    @Andrew-by5yo 2 роки тому +2

    Marc, great video as always; you are a natural professor.
    A suggestion for a future video; I see you have a MGNT interface, so how about a video on how to setup a secure server management network/environment.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi Andrew, many thanks. I had been thinking about this - just not sure how many people would really want to see this - but I think I'll cover it in the lights of the reverse proxy videos that I am planning (as I put an additional TOTP authentication using NGINX between the networks)

  • @lablansky
    @lablansky 2 роки тому +1

    Hi. I just wish to complement your contribution to society and to what it means to share skills and knowledge. Furthermore, cudos to your skill and way how you deliver information to people! I hope you continue. I can’t thank you enough!

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi Andrej, many thanks for your nice and friendly feedback !

  • @andreamicelotta7232
    @andreamicelotta7232 2 роки тому +1

    Hi Mark, thank you again for your description of OpenWrt 21.02 news. I made an attempt some weeks ago to configure my dumb access point with such new version but I gave up because I missed this lesson. So at present I'm working with two devices both running OWrt 19.x. Maybe in a near future I'll upgrade at least the access point to 21.02, unless some inconcistencies arise. I've too many constraint on the main supplied by the internet provider.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi Andrea, many thanks for your feedback! Just be aware that the upgrade process can not convert your VAN config from 19 to 21, so you will have to do it by hand ;-)

  • @ckuchmek
    @ckuchmek 2 роки тому +1

    Thanks so much Marc! This video helped immensely!
    I echo the many other comments: YES! Would love to see a video on RPi 4 + Smart Managed Switch + VLANs!
    I've used a couple of your videos now to build this type of setup with a RPi 4, Ethernet USB 3.0 dongle, and Netgear L2+ switch. But would really enjoy being able to "check my work" against yours!

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Many thanks for the feedback ;-) I have taken note - it's going to come ;-)

  • @gasparem16
    @gasparem16 2 роки тому +2

    as always, high quality content in here. Thank you!

  • @xiradio
    @xiradio Рік тому +1

    Great video, as always. Combined this with the Firewall video to set up some medium and low security networks for multiple SSID APs. Thanks!

  • @Cheney261
    @Cheney261 2 роки тому +1

    and yes. If you could make one episode about the Pihole and the ADhome would be great. Looking forward to it. thank again.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      It's noted - many thanks for your feedback ;-)

  • @wilk36
    @wilk36 2 роки тому +1

    Thank you so much for this video have been waiting for this to config my IoT network, appreciate your efforts thumb up

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Thank you very much - glad you liked it !

  • @arcaderetr0gamer
    @arcaderetr0gamer 2 роки тому +1

    Hello and thank you for this video. I recently found your channel and you helped me understand a lot of things about OpenWRT.
    I have few TPLink 1043ND v5 that i don't want to throw them out and they are not yet (or never) compatible with DSA. I have managed to assign wireless ssid's to vlans on 21.02.x without DSA like this:
    1. Declare/make vlans on the switch menu, Network -> Switch
    2. add this vlans to bridges on Network -> Interfaces -> Devices tab including the management vlan (management vlan and other vlans declared on switch that you don't want to assign to wireless networks can be added directly to Interfaces but i noticed that LLDPD package will not work without a interface based on a bridge)
    3. create interfaces on Network -> Interfaces -> Interfaces tab using these newly created bridges
    4. assign wireless networks to the newly created interfaces.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi Cristi, many thanks for sharing this !

    • @jotaserra4335
      @jotaserra4335 Рік тому

      Same here Cristi, the only way i found to configure it is like you say on TP-Link Archer C7 v4 - OpenWrt 21.02.3 r16554

  • @maksabgvar
    @maksabgvar 2 роки тому +1

    Vote w. both hands for RaspPi & Proxmox... Your toutorials are really great, sir!!!

  • @ziabuk
    @ziabuk 2 роки тому +1

    Thanks a lot for these amazing videos on OpenWrt.. Please keep them coming :)
    If possible, please do one on virtualizing OpenWrt in Proxmox. Looking forward to RPi tutorials as well.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi ZiaBuk - it's noted ;-) Many thanks for your feedback!

  • @JipdeBeer
    @JipdeBeer 2 роки тому +1

    Call to action, yes please! Raspberry Pi as WireGuard VPN gateway has been on my mind for some time now. I have 2 of my VLANs go via the VPN provider and have one neutral VLAN (not via VPN but via ISP). Have that working now with luci-app-vpn-policy-routing, which also allows me to specify some remote ip addresses which should never be routed through the VPN, and VPN running on the router. But not sure how to do policy routing when using the Pi as WireGuard VPN gateway... Also very interested to learn how to properly configure Raspberry Pi as 'router on a stick' (with a VLAN aware switch).
    This channel is the best resource on OpenWRT! Thanks a lot :) Bought my first OpenWRT routers (Belkin RT RT3200) encouraged by your videos. Probably wouldn't have tried it otherwise...

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Awesome many thanks for the feedback ;-)

  • @michaelcooper5490
    @michaelcooper5490 Рік тому +1

    You answered what I was wanting with my previous comment, Thanks, you do an amazing job. I know this is an older video but OpenWRT on a Raspberry Pi would be awesome.

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Michael, many thanks for the feedback ;-)

  • @brandonstone969
    @brandonstone969 2 роки тому +1

    Excellent job with these and previous videos on the topic 🥰

  • @hiyoshi177
    @hiyoshi177 2 роки тому +1

    wonderful 👍, that is very useful, I'm a noob but your videos can teach me some things that even I don't have in mi mind, tanks sir.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Many thanks Luis, I am glad that you like them !

  • @Andorul_pt
    @Andorul_pt 2 роки тому +1

    Great Channel, amizing video as always. Thanks ☝️👍 🇵🇹

  • @jamess1787
    @jamess1787 2 роки тому +1

    It took me AGES to find the switch menu! But I figured it out!

    • @jamess1787
      @jamess1787 2 роки тому

      P.S. under access points you just create a VLAN on the Ethernet port using the "standard" Linux eth0.100 designation.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi James, glad you found it ;-)

  • @ravenpsi4088
    @ravenpsi4088 Рік тому +1

    I would love to see a video on a RP turned router with VLAN functionality, in depth and properly as you do, please!!!

  • @devin-angelowilliams3230
    @devin-angelowilliams3230 2 роки тому +1

    Very good stuff! You really know how to teach! Subcribed!!

  • @aryelinux9676
    @aryelinux9676 2 роки тому +1

    yes... yes... and yes.... :) as said before me - yes to all of them. Starting with OpenWRT with Orange Pi and then the others would be great!!! Thank you.

  • @johanna-bapt.martaasaeda9499
    @johanna-bapt.martaasaeda9499 2 роки тому +1

    Thank you for your great video ! I wish you already had this video made, as I was struggling with OpenWRT 21.02 on Fritzbox 4020 in October. I did make it through, but your video helped me to understand it a bit better.
    Now, just some info from my side, in case it might be useful.... I have OpenWRT 21.02 on Raspberry pi 4 set up last year around June (a trial version): it was quite easy because I just ignored DSA thing. (had no idea back then) It was fine, because I wasn't counting on being able to use wifi on Raspi 4 itself, and it doesn't have any switch. I didn't make any bridge interface, just created eth0.xy and used them everywhere.
    I used the only Ethernet port for LAN and WAN, where WAN side was connected with speedport entry2 in pure modem mode through a managed switch TP Link SG108PE. Then, something weird happened: when the modem gets power-cycled for some reason, the WAN interface of raspi didn't connect anymore on its own. I had to restart the raspi, too, in order to reconnect it. Restarting wan-interface alone didn't work. The jack of the power adapter of the modem is a bit loose, so it was a problem. In December, I decided to use USB-Ethernet adapter TP Link UE-300, then this problem went away. Moreover, it got noticeably faster.
    So, I think, WAN on a dedicated USB adapter is better.
    I was also powering the Raspi with PoE, but it also caused some subtle but serious problem, so now I have a power adapter.
    Another thing is, I have SG108PE managed, and a few dumb switches from TP Link. The ability to negotiate the speed on dumb switches seems better than on SG108PE. SG108PE wants to drop the speed, even though higher speed can go without an issue. So I guess cheap managed switches are not good. That's another reason why it might be better to use USB-Adapter.
    So it's just my experience, still a noob (but get a lot of help and learning:)

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi - many many thanks for writing up this thorough feed-back and sharing it with us here !!!!

  • @a13519
    @a13519 2 роки тому +1

    The best explanation about vlan on internet

  • @YM-xz6xt
    @YM-xz6xt 2 роки тому +1

    Great Video and as always very clear! Thanks Marc for your efforts and the very useful content!
    Concerning further topics, it would be great to see a setup with an Orange pi, orange pi zero (1 or 2) as super fast access point. Or Orange pi R1 setup as a powerful router with multiple vlan's, openvpn, ad blocking, etc. Regarding Proxmox, I personally have troubles to clearly setup a dedicated Lan voor my VMs and containers so if you have solutions that would be great!

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi, many thanks for your feedback - I've taken note of our suggestions !

  • @juanitu74
    @juanitu74 Рік тому +1

    Thank you very much for videos. Cheers.

  • @KennyKung
    @KennyKung Рік тому +1

    Very good guide, good work Mark

  • @brandonstone969
    @brandonstone969 Рік тому +1

    Many thanks for these excellent videos. If you are still thinking about future topics for videos, support for the Redmi AX6000 was recently merged. This device looks promising. 802.11ax and potentially better range than the Belkin RT3200 thanks to its external antenna array. SoC is more powerful as well. A video on OW installation and comparison to the RT3200 would be a great one IMO.

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Brandon - definitely. The AX6000 seems to be a good pick. Juuuust - I have become a bit reluctant to hardware-specific videos as the vendor can change the hardware at any time, still use the same brand and model (but V2 instead of V1) - but with totally different hardware, rendering the video unusable for many...

  • @anakinskywalker8624
    @anakinskywalker8624 Рік тому +1

    Yes, please :) Videos with adguard and Proxmox will be interesting :) Thank you in advance :)

  • @aronshade
    @aronshade 11 місяців тому

    Thank you for making a video with openwrt and raspberry Pi!

  • @PTReDaLeRtPT
    @PTReDaLeRtPT 2 роки тому +1

    CtA: All 3, would be awesome! :D

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Cool - it's noted :-) Many thanks for the feedback!

  • @jackshi1714
    @jackshi1714 2 роки тому +1

    this is really helped me,thanks dude

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Glad it helped - thanks for watching!

  • @CristianHeredia0
    @CristianHeredia0 2 роки тому +1

    Many thanks, just what I needed

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      You're welcome - thanks for watching ;-)

    • @CristianHeredia0
      @CristianHeredia0 2 роки тому

      Also, might help to mention wireless networks should be added last otherwise the wireless network will be associated with the old un VLANed devices-very hard to debug.

  • @torinstorkey
    @torinstorkey 2 роки тому +1

    I have used openwrt on a raspberry pi using a compute module 4 and a df robot router board. Worked well. Vlans are fairly easy.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Hi Torin, many thanks for sharing !

  • @AntonPopov_
    @AntonPopov_ 2 роки тому +1

    Another great video! Very informative. OpenWrt in a virtual machine is a great topic. I'm currently virtualizing OpenWrt in Proxmox and I'm very happy with it but I would like to hear you opinion on the topic. Also I'm trying to add my ArcherC7 in a high availability setup in order to load balance when there is some maintenance on the Proxmox side. Thanks again for the videos!

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi Anton, great ideas - many thanks for the feedback!

  • @negocios6554
    @negocios6554 Рік тому +1

    i would hit like many times if possible. Always godd and precious contents fro yr channel. Thank u for sharing it.

    • @OneMarcFifty
      @OneMarcFifty  Рік тому +1

      Hey, thank you very much - glad you liked it ;-)

  • @warsitowarsito1240
    @warsitowarsito1240 Рік тому +1

    Very well explained!

  • @essaadanyvanced2209
    @essaadanyvanced2209 2 роки тому +1

    Wonderful explain

  • @angelogreenview3859
    @angelogreenview3859 Рік тому +2

    Hi,nice videos..very good explanations;clear and easy.Thank to your video I got set up my Pi4 Router + Usb-Gigabit Ethernet adapter and Openwrt 22.02.Raspberry Pi4 no have Switch and new OpenWrt 22.02 is different.A new update video is needed:OpenWrt 22.02 Rasberry Pi4 OnVlan confuguration on Rapsberry Pi4.Thank you.

    • @OneMarcFifty
      @OneMarcFifty  Рік тому +1

      Hi Angeo, Pi4 (without switch as you say) and OpenWrt 22.03 are on the list and coming very soon. Actually the first update video is out today;-)

    • @angelogreenview3859
      @angelogreenview3859 Рік тому

      @@OneMarcFifty thank you..now i will watch the new video

  • @zorayanuthar9289
    @zorayanuthar9289 Рік тому +1

    Would be great to have a video with Raspberry Pi running PiHole / DHCP + AdGuard + WireGuard ! You rock !

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Many thanks Zoraya - I’ll definitely have to do something with Pi’s in the near future

  • @ernestoperezpelaez1528
    @ernestoperezpelaez1528 Рік тому +1

    best video i've seen today, thanks 😎

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Ernesto, cool feedback - thanks a lot ;-)

  • @moocows111111
    @moocows111111 Рік тому +1

    you're incredible please keep uploading

  • @heiaheiaheiahei
    @heiaheiaheiahei 2 роки тому +1

    Great tutorial!!! Thanks.

  • @nixxblikka
    @nixxblikka Рік тому +1

    Once again great video

  • @thelightings
    @thelightings 2 роки тому +1

    great video thank you very much

  • @adeoeda
    @adeoeda Рік тому +1

    With those videos, I have redrawn all my home networks! Thank you for all the helpful and clear information you provide with your channel! Really thank you!
    One question about the VLAN (99) used for the management: here and on the other video you suggest leaving the DHCP to provide the IP for the mng interface (LAN) and in this video you suggest setting unmanaged all the others... but in the bad case you lose the upstream with the router the second AP will be totally unreachable... Do you have any concerns/comments to setting the interface with static IP outside the DHCP range provided by the upstream router to have a fallback way to enter the AP?

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi, you are right. You may lose the device if you lose upstream. You can of course use static addresses. Just assign them outside of the dhcp server‘s range.

  • @0_1_2
    @0_1_2 2 роки тому +1

    You’re the man Marc!!

  • @helmutreitinger1916
    @helmutreitinger1916 2 дні тому

    Genius Thank you very much!!!

  • @mohammadfahimuddin2212
    @mohammadfahimuddin2212 2 роки тому +1

    Wonderful. You must be a teacher.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi Mohammad, no I am not - actually I am only sharing my learnings with all of you ;-)

  • @markustaipale-zi9vw
    @markustaipale-zi9vw Рік тому +1

    This was very helpful

    • @OneMarcFifty
      @OneMarcFifty  Рік тому

      Hi Markus, glad it was of use to you - thanks for feeding back.

  • @Mascolo815
    @Mascolo815 2 місяці тому

    Thank you for this video Marc! I tried following along but I only wanted to create a VLAN over one port, so where you configured both ports 1 & 2 I did nothing with port 2, etc... and when selected to tag or untag, I left all other ports as "Do not participate", I then lost connection after clicking save & apply. Do I need to segment the bridge to isolate port 1 from the other ports or is there something I missed or that you did not cover in this video which I am missing?

  • @OpenEmoto
    @OpenEmoto 2 роки тому +1

    Marc, your latest videos on OpenWRT are gold.
    I want to add a word of warning to this kind of VLAN setup. In my narrow experience (just tried tp-link archer C6U) when moving packets even on the same VLAN the device main CPU is used, not the switch's. So, the TL; DR; idea: you may not get the same throughput with this setup as when your leave the switch as factory config.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Ok - I was not aware of that - need to test.

    • @monkeyvideo1029
      @monkeyvideo1029 2 роки тому

      @@OneMarcFifty I was wondering about this. I was interested in making a wrt3200 into a managed switch but was afraid of the hit to throughput. I have seen instructions on the smart microtik switches where they setup commands to only use the switch chip and not route through the CPU. I don't think this is possible with inter-VLAN setup (which is what I want to setup). Is it possible to force routes through the switch chip on OPENWRT? PS: your videos have helped me immensely!

  • @zandatsu07
    @zandatsu07 2 роки тому +1

    I love openwrt Contents, Keep it up!

  • @jeffm2787
    @jeffm2787 2 роки тому +2

    I've ran OpenWRT on a Pi with WAN and LAN on eth0 using VLAN's and a managed switch. So a video explaining to people how this is done would be useful. The full duplex bit would be good to explain as well. People like to jump to well you'll get less then half your download speed if you only use one NIC.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Fair point Jeff, many thanks! Yes, half/full duplex might be worth a closer look in that video to come ;-)

  • @jfs9112
    @jfs9112 2 роки тому +1

    Thank you Marc for your great videos! I have a managed switch that I plan on connecting my OpenWrt router to. Do I need to still do the switch configuration on the OpenWrt router, or just the switch? Or both? Thank you.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      The short answer: It depends ;-) - long answer : Typically the connection between a router and a managed switch is done with a so called "Trunk port", i.e. a port that contains the tagged VLANs - so in this case you would need to configure both ends, the managed switch AND the OpenWrt router.

    • @jfs9112
      @jfs9112 2 роки тому

      @@OneMarcFifty Thanks so much Marc!

  • @johnpapa8554
    @johnpapa8554 2 роки тому +1

    thank you for the information. easy to digest even for noobs like me!

  • @skug978
    @skug978 2 роки тому +1

    I had OpenWRT up and running on a Raspberry Pi 4 some months back. I used a usb3 gigabit network adapter to get 2 wired network interfaces, and it was running fine like that for me. It was my first proper attempt to use OpenWRT, so I needed to do lots of trials and failures before it all worked okay for me. I was disappointed with the Pi 4's built in wireless capability though. It wasn't sufficiently fast for me, and there were issues using more than 1 SSID (e.g. 5GHz and 2.4GHz ones) at a time.
    So, I already owned a Archer C7, and flashed that and prefer that for my OpenWRT router. The wifi capability is good, and it frees up the Pi 4 for other projects. I do like the "horsepower" of the Pi 4 though. Great for running VPN services or extra features, e.g. traffic analysis.
    I'm interested in all of your suggested video topics. One area I have problems with is trying to get 4G LTE usb modems working with OpenWRT. (I like the idea of cellular broadband as the main internet system, as well as cellular broadband acting as a fail-over.)

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi skug, many thanks for your feedback ! LTE on OpenWrt is on my list for a while - it will come ;-)

  • @micky1067
    @micky1067 2 роки тому +1

    Klasse... Auch dieses Video ist wieder genial. Einfach sehr gut erklärt.
    Toll wäre es wenn du auch die Videos in deutsch machen würdest. Ich denke es gibt viele die das gerne sehen würden.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому +1

      Hi Micky, leider ist die Reichweite auf Deutsch bei Weitem nicht so gut - ausserdem erlaubt UA-cam leider keine zusätzlichen Audiospuren. Sorry. Es wird wohl bei Englisch bleiben. PS: Ich habe eh einen hässlichen schwäbischen Akkzent ;-)

    • @micky1067
      @micky1067 2 роки тому +1

      @@OneMarcFifty hahahaha... Na ich als Hesse verstehe dich schon... Ja klar kann ich mir vorstellen das mehr in Englisch abgerufen wird... Dann mach weiter so..

  • @needausernameJesus
    @needausernameJesus 4 місяці тому

    Yes on both. If you havent already

  • @alexeyromanov
    @alexeyromanov 2 роки тому +3

    Hallo Marc, excellent, very well visualised explanation. Thank you very much. Would it be possible to have your video how to separate wired and wireless subnets, each with own DHCP pool? I think it would be very illustrative for v21 capabilities. Danke im Voraus, Alexey

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Many thanks Alexey. Why would you want to have separate IP address ranges for wifi and wire?

    • @GeorgeValkov
      @GeorgeValkov 2 роки тому

      @Alexey Romanov Network, Interfaces, Add new Interface..., Device can be unspecified, Assign a Firewall zone, Configure DHCP. Edit your Wireless, Network=the name of the network you just created.

  • @mattprice86
    @mattprice86 2 роки тому +1

    I would absolutely 100% be interested in seeing a video from you about vlans on the raspberry pi and also vlans on proxmox. I know the videos you're talking about. Have watched them more times than I'd like to admit, and spent many hours trying to get it to work on my RPI4, but was still never successful in doing so. I've burned myself out on the idea, to be honest, and have recently shelved the project. Would love to get a fresh take from your perspective.

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      Great feedback Matt - many thanks !

  • @lukecage9964
    @lukecage9964 2 роки тому +1

    please, a video of openwrt and vlans in proxmox should be awesome!

    • @OneMarcFifty
      @OneMarcFifty  2 роки тому

      I have taken note of your suggestion ;-)