How UniFi Blurs the Line Between VLANs and Routers

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • UniFi blurs the line when it comes to creating VLANs and Layer 3 interfaces to route between the VLANs.
    Let's take a look at what UniFi does.
    If this video makes you more confused let me know.
    Consulting/Contact/Newsletter: www.williehowe.com
    Affiliate Links:
    My AmazonLink: www.amazon.com/shop/williehowe
    IP Video Talk 10% off: refprg.co/idn8mh8
    Private Internet Access: www.privateinternetaccess.com...
    Netool: netool.io use code WILLIEHOWE to save at least 10%!
    Digital Ocean Referral Link: m.do.co/c/39aaf717223f
    Contact us for network consulting and best practices deployment today! We support all Grandstream, DrayTek, Obihai, Poly, Ubiquiti, MikroTik, Extreme, Palo Alto, and more!
    Come back for the next video!
    Twitter - @WillieHowe
    Instagram - @howex5
    SUBSCRIBE! THUMBS-UP! Comment and Share!
  • Věda a technologie

Komentáře • 54

  • @asdf51501
    @asdf51501 Před 3 lety +7

    I almost think I'd rather have a standard Layer 3 switch with a straightforward configuration. When Ubiquiti introduces ambiguous terms like "corporate" and "guest" vlans, that makes networking actually harder thanks to the obfuscation of what's actually happening. I know that with a standard L3 switch, I can create a vlan, assign ports to it, assign a virtual interface to those ports if desired, enable dhcp on that interface, and add the vlan as tagged to the downlink to any other switches I'm connecting to. And then, I can look at a text config and immediately understand what's happening. That's extremely straightforward without adding a whole layer of proprietary ambiguousness.

  • @jig1056
    @jig1056 Před 3 lety +1

    I’m brand new to vlans and this was very helpful in understanding what’s going on. Thank you

  • @DJuTube4
    @DJuTube4 Před 3 lety +1

    This is the video i was looking for. Needing to set up security cam vlan. Thanks. I wish after you configure there was a GUI page that shows the virtual connection flow.

  • @kieranwilliams3052
    @kieranwilliams3052 Před 3 lety +1

    Spot on explanation and clarified some Unifi questions I needed answered.. great job!

  • @timgrogan858
    @timgrogan858 Před 3 lety +2

    Great explanation, cleared up an issue I was having getting out to the internet from my vlans!!!

  • @blainer4133
    @blainer4133 Před 3 lety

    Willie
    The video cleared up some confusion. Could you followup with examples when you might create a L2 VLan. Oh the paint program needed a bit of tuning.

  • @tablatronix
    @tablatronix Před 3 lety

    OMG thank you, I wish the interface had little flags to show you what device certain things belong to, because it is very confusing at times. Keep it up. Now I need to wrap my head around, firewall IN/OUT/LOCAL ... Tagged and untagged ports

  • @gregm.6945
    @gregm.6945 Před 3 lety +2

    You won't have to worry about that for much longer Willie. I'm running v6.0.36 and all those selections (corporate/guest/vlan/remote user vpn/ site to site vpn) have been replaced by one "add a new network" button which allows you to define all L2 and L3 components on a single page.

  • @michaelvanda6730
    @michaelvanda6730 Před 3 lety

    Hi Willie long time subscriber, Willie all makes sense, however to complete this great piece of information. Can you show how the VLAN’s can talk to each other if they are behind the firewall with Guest settings. For example if interface eth1 & eth2 have guest firewall rules running off same ruleset. What firewall settings do you use for VLAN 222 & 55 need to talk to each other? Or even down to device level across VLAN’s.

  • @richardandrews7484
    @richardandrews7484 Před 3 lety

    Great Video. It explained alot, and it took me a moment to understand WHY my VLANs were not getting internet access and this video helped me understand that. I would recommend What Jonathan Broom said in their previous comment: "add what unifi does and doesn't add into the clan that you might want. (DHCP server) what kind of routes it does) doesn't create and how to change them."
    Still great video!!

  • @dc4life_956
    @dc4life_956 Před 3 lety

    Great video. If you really want the concept to hit home, maybe add in an example of why or what scenario one would want that.

  • @carloturk782
    @carloturk782 Před 3 lety +2

    VLAN ONLY is also used with other routers/firewalls. The normal VLAN is specially for use with USG/UDM/UXG. Also VLAN ONLY is used when combines with other brand switches or Core.

  • @toddknight3096
    @toddknight3096 Před 2 lety

    The best explanation!!! The drawing is good too

  • @trevelvin7455
    @trevelvin7455 Před 3 lety

    Great explanation thanks.

  • @Sergetkint
    @Sergetkint Před 3 lety

    You confused me so much.... i finally understood it :-)
    Thx

  • @maxsherman5553
    @maxsherman5553 Před 3 lety +1

    I use an Edgerouter rather than UDM or USG, but I have a unifi-Pro Gen2 switch. Can all the VLAN creation and firewalling between VLANs without resorting to EdgeOS?

  • @DonInabon
    @DonInabon Před rokem

    Question. Do I need a unifi switch to do vlan only? I have an hp curve vlan capable switch and opnsense firewall and i can not get the AP to see the vlan at switch or router.

  • @davidanderson2436
    @davidanderson2436 Před 3 lety

    Fantastic once again!

  • @cmiguez
    @cmiguez Před 3 lety +1

    HI, and what about trunk port config in the switch to enable all VLANs to be enable to use in ports that you need?

    • @Zuchtkatzendaddy
      @Zuchtkatzendaddy Před 3 lety

      unifi offers portgroups to create trunks. the Option native vlan is your untagged vlan and the other ones are your tagged vlans

  • @MNGermann
    @MNGermann Před 3 lety

    the video helped me a lot, now junt need to figure out how to crate a independent network with only internet access (without the captive portal) :D

  • @JesseOsmerproductions
    @JesseOsmerproductions Před 3 lety

    Very clear. Thank you. So that means I could have vlan 222 connected to a different router but push vlan 222 through switches connected to a different router? For example, the AV department could run its own separate router and switches and devices, but push just that one vlan 222 through the main corporate network to send or get AV traffic to a specific room that is not on the AV networks physical network?

    • @dubz5149
      @dubz5149 Před 3 lety

      I believe this would be correct. As long as you're using the same VLAN as their network side, it should work. I may be wrong, though.

    • @koma-k
      @koma-k Před 3 lety

      Yes, you would set the native VLAN for those switch ports to vlan 222 (in Unifi you must first create the "VLAN only" network, then a switch port profile with 222 as the "native" VLAN, then apply that profile to the ports). "Native VLAN" means that untagged packets are tagged internally with that VLAN. Tagged traffic (i.e. with a VLAN number) will be admitted only if you checked the appropriate "tagged networks" checkbox for the profile. In simple scenarios with only one switch a "simple" non-unifi switch would be easier to set up this way: Set the ports' native VLAN to 222 and that's it - they will behave as if on a separate switch. As soon as you add another switch though you would then have to think about VLAN trunking between switches to allow VLAN 222 traffic to pass in on one switch and out on another. Unifi takes care of that, but the "price" is having to define a network and port profile.

  • @mgriffin1968
    @mgriffin1968 Před 3 lety

    This was helpful

  • @reginaldpierre
    @reginaldpierre Před 3 lety

    Have a UDM and for some reason I can ping from Unifi network over to ATT Modem, however can ping from ATT network to Unifi network

  • @JonathanBroom
    @JonathanBroom Před 3 lety +5

    maybe you could add what unifi does and doesn't add into the clan that you might want. (DHCP server) what kind of routes it does) doesn't create and how to change them. This might be in another video but that's just my opinion.

  • @osantiago774
    @osantiago774 Před 2 lety

    Can you use VLAN 1 for routing with another vlan

  • @unappetizingtolookat
    @unappetizingtolookat Před 2 lety

    It can be confusing at first and specifically if you are new to Layer 3 switches concept. But in my opinion this is no different than configuring a SVI on another layer 3 switch like cisco or avaya. Maybe the gui options is what throws people off?

  • @cmiguez
    @cmiguez Před 3 lety

    I am speaking about the idea to have diferent PVIDs in a range of ports as untegged to interconect for example 2 branches througt Lan 2 Lan.

  • @jwestney2859
    @jwestney2859 Před rokem

    Helped.

  • @kristopherleslie8343
    @kristopherleslie8343 Před rokem

    Gotta rewatch

  • @JayanDeSilva
    @JayanDeSilva Před 3 lety

    great video :)

  • @ericputman6609
    @ericputman6609 Před 3 lety

    So what if you only had a vendor (AT&T router), do you need them (AT&T) to set up those VLAN's on their router since I only have a unifi cloud key, switches, and AP's?

    • @RandyFuchs
      @RandyFuchs Před 3 lety

      No untagged vlan ports will just act like it's a separate switch. Just plug ATT into whatever VLAN you setup and go..

  • @gunturbklu
    @gunturbklu Před 3 lety

    vlan only use if you have other router (mikrotik ,cisco etc) but use unifi switch or unifi ap

  • @MrFunchess1639
    @MrFunchess1639 Před 3 lety +1

    Hi Willie I understand how it works in Unifi but how do you block traffic between the VLAN's in Unifi?

    • @csharpworm7597
      @csharpworm7597 Před 3 lety +2

      You would need to create firewall rules on the router to control where traffic can flow

  • @byrd203
    @byrd203 Před 3 lety

    Peplink Does this on its own too if you use the in control Service on it but Peplink when you create Plans you have to fill in your network info you have no choice but to fill in the ip range and gateway info DHCP is optional thow

  • @jlwasmer
    @jlwasmer Před rokem

    Does it mean Unifi doesn't support L2 switching between VLANs? (and the only option is to assign L3 networks with routing)

  • @rickyc5860
    @rickyc5860 Před 3 lety +1

    Maybe I misunderstood but where does a device that only is in vlan get an IP?

    • @RandyFuchs
      @RandyFuchs Před 3 lety +1

      Either set a static ip on the devices connected to that vlan OR a different router with DHCP server. (Or even just another device running DHCP)

  • @lawdawg1942
    @lawdawg1942 Před 2 lety

    So if you slapped a computer on the VLAN222 ports you would probably get a 169 address since no DHCP server would be present. If you set static IP on a computer and a printer they could see each other and do whatever they wanted but never leave that switch?

    • @lawdawg1942
      @lawdawg1942 Před 2 lety

      @@WillieHowe thanks. Been using unifi for almost 5 years for our camp ground. Always wondered what that did.

  • @Mehmehx
    @Mehmehx Před 2 lety

    It helped but:
    How can vlan 222 and vlan 55 talk to each other if you would route vlan 222 on the router as well? Arent vlans made to block traffic from each other? Or do you need a firewall rule to block them? Like, if you dont want vlan 222 and 55 to talk to each other, but both have access to the internet.
    Second, if I create a vlan on the switch in L3 (eg dhcp etc), how can I let the firewall/router see that vlan? And how will this vlan get internet access if the gateway is on the switch and not the firewall?

  • @OLDMANDOM42.Dominic
    @OLDMANDOM42.Dominic Před 3 lety

    Thanks! Very helpful!!

  • @andljoy
    @andljoy Před 3 lety

    Its not a true layer 3 network tho is it as the switches and APs are not doing any routing.

    • @Treejjj68
      @Treejjj68 Před 3 lety

      @@WillieHowe Where I am confused, I thought that the new unifi gen2 switches had limited L3 ability. My understanding is that L3 in the gen2 switch means routing between VLANS occurs in the gen2 switch and not the router. The router is used for internet access. My personal setup is UGX-Pro (Next gen gateway router) and USW-Pro-48-POE (gen2). Is my assumption correct?

  • @lennyaltamura2009
    @lennyaltamura2009 Před 3 lety

    Let me start by thanking you for your good explanations. However, I don't see a blurring of Vlans and routing (L2 & L3) here. VLANs were created for having a few to several broadcast domains on the same switch that doesn't see each other. Otherwise, we can say that VLANs by their nature blurs L2 & L3. ;~)

  • @Sistopha
    @Sistopha Před 3 lety

    We can now see the true color of the back wall.

  • @SOJACjac
    @SOJACjac Před 2 lety

    So, it works the way someone new would understand it

  • @RandyFuchs
    @RandyFuchs Před rokem

    Maybe you can shed some light on some Vlan confusion.. with or without Unifi.
    From what I understand,
    a T agged port is the same as a T runk port JUSt different manufacturers.
    an U ntagged network is another name for an ACCESS port as well as a NATIVE network
    However I have read where some manufacturers only use NATIVE network to describe the untagged traffic of a T runk port.
    UNTAGGED ports on a switch will appear to just have no VLAN but they WILL be on whatever VLAN ID that they are UNTAGGED to.
    On top of this I see Netgear has a PVID that must be set to match the Vlan ID.
    So, can you shed any light on this? or at least point me to your video that might already explain it..
    THANKS MUCH!

  • @alphapapa77
    @alphapapa77 Před 3 lety

    shapes are your friend...