UniFi - VLANs and Trunking - What is a trunk? - Ubiquiti Networks

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back in the last video I mentioned trunks and I kind of just mentioned it and moved on quickly but what I want to do is in this video I'll actually want to talk about what a trunk is and how it works on this unified switch so what is a trunk a trunk is a switch port that allows tagged VLAN traffic to pass through it and most switches do this on a standard called 802 dot1q that's the encapsulation type so if you have two switches from different manufacturers whether it be ubiquity to Netgear ubiquity to d-link ubiquity to brocade ubiquity to juniper or ubiquity to Cisco as long as they're all talking 802 dot1q your trunk connections should come up and you should be allowed to pass VLANs between the trunks so where can we use trunks there are a lot more places where you use trunks than what we're going to talk about today but the main two that we're going to cover are creating trunks between switches and trunks two access points and the reason that you trunk two access points is so that different SSIDs can be associated to different VLANs okay so let's hop into unify and see how it handles passing VLANs to these ports so the first thing we're going to do is we're going to bring our switch back up and we're going to go over to the configuration and we're going to look at the networks and VLANs and right now you can see we only have the one land and that is native so right now on the 192 168 3.1 slash 24 Network all of those packets have no VLAN tags it's it is the native VLAN is VLAN one essentially but there's untagged traffic so if we want to create another Network we come in here and we go to networks and we can create a VLAN only or we can do a corporate and a corporate our USG will actually handle all the routing and DHCP and then if we do a VLAN only we're going to tag that VLAN but some other device is taking care of the DHCP and the routing so we'll go ahead and do this just as an example so it's called plant it's a corporate this is the subnet so the USG is going to handle all of the routing for that and we'll come over here and just because we have a wired network doesn't mean necessarily that it's a wireless network but we are going to attribute that VLAN to a wireless network which are devices and see what's provisioning the unify switch really saves us a lot of work in it really right now in the controller the way things are exposed it's kind of an all-or-none or a manual override type mechanism for the VLANs and we'll look at that real quick but I will tell you that my my best guess my best guess is that they are using 802 dot1q because I have up linked a unify switch to a Cisco squit Cisco switch and on the other side which is the Cisco switch I did specify 802 dot1q encapsulation on the port and everything worked properly so we'll pull our switch back up and when we go do the configuration you can now see that we have two networks that were passing through the land and the plant but that's kind of that's kind of it we can delete this config now it won't delete the network from unify but it will delete it from the switch and if we go over to the ports so here's our here's our access point if we edit this you can see that we can make you know 22 the native VLAN for that port or the only VLAN that we're passing through or we can allow all so unless you want to mess with the JSON file there's not much more than that configure at this point I do believe that there's been some talk about expanding this functionality so for right now unless you you know you delete it or you create a special Network this is really kind of the the top of what the software is going to do and so for anything more advanced I use an edge switch is when the unified does catch up with the edge edge which I will push more unify for small office deployments that way we can look at everything under one one pane of glass but that's it for the switch part so we'll look at the access point and we can go over to the configuration and look at the W lands and as you can see here we've got the plant W land and it knows that it's 22 so anytime anybody connects to this SSID everything will be sent with a VLAN tag of 22 and then the switch and the USG know exactly how to handle that so it's it's pretty simple if I wanted to disable that I would uncheck the enable or I could even at the Access Point level change the VLAN to something else and then the V link the switch would or the access point would send tags with whatever number I use now if the switch in the USG don't recognize the tags they're likely just going to drop the traffic so keep that in mind that's really it if anybody out there in radioland has anything to add anything else they'd like to see you know put it in the comments below if you liked the video please give a thumbs up please subscribe please comment and share and we'll see it the next video
Info
Channel: Willie Howe
Views: 207,425
Rating: undefined out of 5
Keywords: unifi, ubiquiti, unifi trunks, unifi vlans, ubiquiti trunks, ubiquiti vlans, switch trunk, ubiquiti trunk, unifi trunk, usg trunk, uap trunk, usg vlan, uap vlan, unifi configure, unifi configure network, how to configure vlan unifi, how to configure trunk unifi, edgemax, edgeos, ubiquiti trunk config
Id: izLU2DgvaDQ
Channel Id: undefined
Length: 7min 20sec (440 seconds)
Published: Wed Jul 06 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.