VLANs in OpenWrt 21

Ғылым және технология

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...

Пікірлер: 516

  • @kryb2k5
    @kryb2k52 жыл бұрын

    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 жыл бұрын

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

  • @dunkelklinge1

    @dunkelklinge1

    2 жыл бұрын

    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 жыл бұрын

    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 жыл бұрын

    Do you have a discord server?

  • @abhigupta912
    @abhigupta9122 жыл бұрын

    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 жыл бұрын

    It‘s noted - many thanks for the feedback!

  • @glennperete
    @glennperete2 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks Glenn. I’ve taken note.

  • @sokolum
    @sokolum2 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much ;-)

  • @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.

  • @petersvideofile
    @petersvideofile Жыл бұрын

    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

    Жыл бұрын

    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

    Ай бұрын

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

  • @Autotrope
    @Autotrope Жыл бұрын

    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.

  • @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. 🎉

  • @sviteneg
    @sviteneg2 жыл бұрын

    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!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks ;-)

  • @lucidgroove
    @lucidgroove2 жыл бұрын

    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.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Awesome- glad it helped ;-)

  • @kennyawalker
    @kennyawalker9 ай бұрын

    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.

  • @GeorgeValkov
    @GeorgeValkov2 жыл бұрын

    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 жыл бұрын

    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.

  • @seth2389
    @seth23892 жыл бұрын

    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!!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks ;-)

  • @urielb.7476
    @urielb.74762 жыл бұрын

    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 ;-)

  • @simonhitzemann4488
    @simonhitzemann4488 Жыл бұрын

    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.

  • @jefferyholcombe5189
    @jefferyholcombe51898 ай бұрын

    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!

  • @gordonfrank
    @gordonfrank2 жыл бұрын

    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 ;-)

  • @jacobrosen
    @jacobrosen Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

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

  • @VorpalForceField
    @VorpalForceField3 ай бұрын

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

  • @Cheney261
    @Cheney2612 жыл бұрын

    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 жыл бұрын

    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 ;-)

  • @1over137
    @1over1372 жыл бұрын

    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 жыл бұрын

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

  • @andrejsersen59
    @andrejsersen592 жыл бұрын

    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!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much

  • @miteshpatel9308
    @miteshpatel93082 жыл бұрын

    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 жыл бұрын

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

  • @gasparem16
    @gasparem162 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much !

  • @kbabioch
    @kbabioch2 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks Karol !

  • @simonbaker2627
    @simonbaker26272 жыл бұрын

    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 ;-)

  • @filipefumaux
    @filipefumaux2 жыл бұрын

    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.

  • @anurut
    @anurut2 жыл бұрын

    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.

  • @brandonstone969
    @brandonstone9692 жыл бұрын

    Excellent job with these and previous videos on the topic 🥰

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thanks Brandon

  • @livyinverse7471
    @livyinverse74712 жыл бұрын

    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 ;-)

  • @oy12la
    @oy12la Жыл бұрын

    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 :)

  • @kamilsztuke4244
    @kamilsztuke42442 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

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

  • @goppinaththurairajah760
    @goppinaththurairajah7602 жыл бұрын

    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 жыл бұрын

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

  • @wilk36
    @wilk362 жыл бұрын

    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 !

  • @santhoshgj206
    @santhoshgj2062 жыл бұрын

    Great to have OpenWrt on RPi

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks for the feedback Santhosh!

  • @FlickeringBytes
    @FlickeringBytes Жыл бұрын

    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 !

  • @heraldreichel1971
    @heraldreichel19712 жыл бұрын

    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.

  • @greatestunknown
    @greatestunknown2 жыл бұрын

    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 жыл бұрын

    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!

  • @ziabuk
    @ziabuk2 жыл бұрын

    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!

  • @lablansky
    @lablansky2 жыл бұрын

    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 !

  • @KennyKung
    @KennyKung Жыл бұрын

    Very good guide, good work Mark

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Many thanks Kenny.

  • @Andrew-by5yo
    @Andrew-by5yo2 жыл бұрын

    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)

  • @TyStyckify
    @TyStyckify2 жыл бұрын

    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.

  • @michaelcooper5490
    @michaelcooper5490 Жыл бұрын

    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 ;-)

  • @mmgregoire1
    @mmgregoire1 Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi Matt, thanks for the idea.

  • @Cheney261
    @Cheney2612 жыл бұрын

    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 ;-)

  • @FalkPauser
    @FalkPauser Жыл бұрын

    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 !!!

  • @xiradio
    @xiradio Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Thanks for sharing!

  • @a13519
    @a135192 жыл бұрын

    The best explanation about vlan on internet

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks Wallace ;-)

  • @ckuchmek
    @ckuchmek2 жыл бұрын

    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 ;-)

  • @jackshi1714
    @jackshi17142 жыл бұрын

    this is really helped me,thanks dude

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Glad it helped - thanks for watching!

  • @andreamicelotta7232
    @andreamicelotta72322 жыл бұрын

    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 жыл бұрын

    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 ;-)

  • @CristianHeredia0
    @CristianHeredia02 жыл бұрын

    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.

  • @Andorul_pt
    @Andorul_pt Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Many thanks!

  • @juanitu74
    @juanitu74 Жыл бұрын

    Thank you very much for videos. Cheers.

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi Juanitu, thank you very much ;-)

  • @devin-angelowilliams3230
    @devin-angelowilliams32302 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much !

  • @warsitowarsito1240
    @warsitowarsito1240 Жыл бұрын

    Very well explained!

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Thank you!

  • @JipdeBeer
    @JipdeBeer2 жыл бұрын

    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 ;-)

  • @hiyoshi177
    @hiyoshi1772 жыл бұрын

    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 жыл бұрын

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

  • @novytsky
    @novytsky Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

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

  • @YM-xz6xt
    @YM-xz6xt2 жыл бұрын

    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 жыл бұрын

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

  • @arcaderetr0gamer
    @arcaderetr0gamer2 жыл бұрын

    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

  • @moocows111111
    @moocows111111 Жыл бұрын

    you're incredible please keep uploading

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Thanks - will do ;-)

  • @johanna-bapt.martaasaeda9499
    @johanna-bapt.martaasaeda9499 Жыл бұрын

    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!

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Awesome - glad it helped

  • @ernestoperezpelaez1528
    @ernestoperezpelaez1528 Жыл бұрын

    best video i've seen today, thanks 😎

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

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

  • @aronshade
    @aronshade11 ай бұрын

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

  • @jamess1787
    @jamess17872 жыл бұрын

    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 жыл бұрын

    Hi James, glad you found it ;-)

  • @nixxblikka
    @nixxblikka Жыл бұрын

    Once again great video

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Many thanks!

  • @markustaipale-zi9vw
    @markustaipale-zi9vw Жыл бұрын

    This was very helpful

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

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

  • @ravenpsi4088
    @ravenpsi4088 Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Many thanks - it’s noted ;-)

  • @Mascolo815
    @Mascolo815Ай бұрын

    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?

  • @maksabgvar
    @maksabgvar2 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Hi, many thanks !

  • @johanna-bapt.martaasaeda9499
    @johanna-bapt.martaasaeda94992 жыл бұрын

    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 !!!!

  • @0_1_2
    @0_1_22 жыл бұрын

    You’re the man Marc!!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you ;-)

  • @aryelinux9676
    @aryelinux96762 жыл бұрын

    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.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Hey, many thanks - It's noted ;-)

  • @brandonstone969
    @brandonstone969 Жыл бұрын

    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 Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

    Many thanks for your feedback

  • @essaadanyvanced2209
    @essaadanyvanced22092 жыл бұрын

    Wonderful explain

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you very much ;-)

  • @negocios6554
    @negocios6554 Жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    Жыл бұрын

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

  • @AntonPopov_
    @AntonPopov_2 жыл бұрын

    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 жыл бұрын

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

  • @adeoeda
    @adeoeda Жыл бұрын

    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.

  • @heiaheiaheiahei
    @heiaheiaheiahei2 жыл бұрын

    Great tutorial!!! Thanks.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you Alex.

  • @zandatsu07
    @zandatsu072 жыл бұрын

    I love openwrt Contents, Keep it up!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Will do - thank you very much ;-)

  • @jfs9112
    @jfs91122 жыл бұрын

    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!

  • @kavuli
    @kavuli4 ай бұрын

    Marc, your videos helped me understand the concepts better be able to use them. I however ran into an issue. I am using Linksys EA8500 with OpenWRT 23.05 and none of my LAN ports show under Network/Devices. I get stuck not being able to create a new VLAN 802.1q device because I cannot select my LAN ports to be part of the interface. How do I move forward?

  • @skug978
    @skug9782 жыл бұрын

    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 жыл бұрын

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

  • @PTReDaLeRtPT
    @PTReDaLeRtPT2 жыл бұрын

    CtA: All 3, would be awesome! :D

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

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

  • @doctorbuzzard
    @doctorbuzzard2 жыл бұрын

    Thank you, thank you!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    You're welcome - and thank YOU for watching ;-)

  • @thelightings
    @thelightings2 жыл бұрын

    great video thank you very much

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Thank you!

  • @johnpapa8554
    @johnpapa85542 жыл бұрын

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

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Many thanks John!

  • @micky1067
    @micky10672 жыл бұрын

    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 жыл бұрын

    Hi Micky, leider ist die Reichweite auf Deutsch bei Weitem nicht so gut - ausserdem erlaubt KZread 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 жыл бұрын

    @@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..

  • @alexeyromanov
    @alexeyromanov2 жыл бұрын

    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.

  • @lsdnesk1
    @lsdnesk12 жыл бұрын

    Hey Marc, thanks for the excellent video. I was trying to configure pretty much the same setup as the one described here and i spent the last 4 days trying to find out why the AP (openwrt 21.02) is not passing any traffic through the vlan interfaces, but dhcp packets. Which was fixed once a bridge was configured and vlans added base on your explanation. Another interesting topic would be a way to re-configure a bunch of APs through a centralized configuration (the mother of all LuCis). Are you aware of such solution? Cheers and hope you continue with the amazing educational content.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Hi, many thanks for the friendly feedback ! there is a project called OpenWisp that kind of does what you describe - even though it is largely focussed on rolling out templates : openwisp.org/ Alternatively you can use tools like Rundeck or ansible to make changes to multiple devices at once.

  • @apeman5291
    @apeman52912 жыл бұрын

    This was very helpful, thank you! I was able to use this to update my Linksys WRT1900ACS from 19.07 to 21.02, but I still have one minor question. On 19.07, my switch configuration page on LuCI had two "CPU" interfaces, eth0 and eth1, like the screenshot at 4:44. However, in 21.02, I only see "eth0" like the screenshot at 8:30. What is the reason for the difference? Everything works fine following your steps (bridging lan1 through lan4 and wan, and using bridge vnet filtering) so this is more of a curiosity. But I would be interested if you knew the answer!

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    The switch configuration tab has gone away in Version 21. The reason is that with the change to Linux Kernel 5.x (in OpenWrt 21) as opposed to Kernel 4.x (in OpenWrt 19.x) the switch portion may now be configured with Distributed Switch Architecture (DSA). If you want to do VLANs then you may still do this on a driver level or use the new Bridge VLAN Filtering feature. Have a look at this video kzread.info/dash/bejne/o5mpvNOLoauTpco.html - There are many other videos on my channel kzread.info

  • @user-ie6xp9bz1i
    @user-ie6xp9bz1i6 ай бұрын

    What is the purpose of setting specific vlans as tagged/untagged on lan ports on the br-lan device, given that later in the video, the LAN interface is changed to where it no longer uses the br-lan device? What effect does br-lan have if every interface ultimately is set to use a different device?

  • @jeffm2787
    @jeffm27872 жыл бұрын

    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 ;-)

  • @zorayanuthar9289
    @zorayanuthar9289 Жыл бұрын

    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

  • @takailo39817
    @takailo398176 ай бұрын

    I have a question. Can the "2ND ACCESS POINT" be a managed switch? Thanks a lot for your video. I was really confused about this topic before watching it

  • @paulmaydaynight9925
    @paulmaydaynight99252 жыл бұрын

    great, now how do we setup & properly run fully OpenWrt 21 host +pihole & pikvm clients in QEMU/KVM running on arm pi 4 hardware? im not sure any QEMU/KVM can properly virtualise pikvm vmouse/vkeyboard +vlan usage though. i like 'Van Tech Corner' practical OpenWrt use cases but always advocate your channel for pure teaching practical clarity ,thanks to you iv learned a Lot. a OneMarcFifty/Van Tech Corner collaboration could be fun.

  • @OneMarcFifty

    @OneMarcFifty

    2 жыл бұрын

    Might do it with Docker. Yes - Van Tech corner and I sometimes kind of „turn around each other“ ;-) sometimes he picks a subject first, sometimes I do. I‘ve had MWAN3 and wireless mesh on my list for so long, but he made videos first ;-) I‘ll give him credit when I do mine.

  • @mattprice86
    @mattprice862 жыл бұрын

    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 !

Келесі