VLANs in UniFi - Setup & Configuration

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey there everybody morgan here from simple networks today we're going to be talking about how to set up vlans in unifi now you'll often find that the language used in unify's interface doesn't always match up with you know what you learned say in school and that can be a little confusing so this video kind of aims to help close that nomenclature gap if you will at least when it comes to vlans now i'm going into this video with the assumption that you understand vlan basics you know this isn't meant to be a video that teaches you the concept you know of vlans or anything like that so just something to consider i can certainly make you know one of those videos if anyone is interested just leave me a comment below so let's get started with vlans in unifi so in unifi they refer to vlans as networks so if you're going to create a new vlan you're going to create a new network that can be a little confusing at first but it kind of makes sense once once you get used to how unify works so to create a new vlan or network you're going to have to go into the network section make sense right so it's going to be a little different depending on what interface you're working with so they have the classic interface that's the interface that's been around forever that's the one i prefer and i'm going to be using in this instructional tutorial however they also have the new interface of course they had to go and add a new interface that just confuses everyone for some things like networks it's pretty much the same so in the old classic interface you'll just go down to the settings here here and click networks there you go in the new one same thing it just looks a little different you'll go to the settings gear and click networks now later on you're gonna see where the two interfaces do you know kind of show things differently and organize things differently but for now settings here networks all right then you'll come to a page that looks like this now as you can see here this is an actual example from a network that i manage so i want you to pay attention to corporate land here the employee network and the guest network now our corporate land that is our main land that's the actual land that you set up when you set up your unifi equipment right you'll notice it doesn't have a vlan tag and that's technically because it's really not the vlan it's the actual local area network and then these are all vlans of that physical land kind of kind of weird but you'll you'll get used to it so if you look at the employee network here that is set up as vlan 2 and that gets its own subnet and you'll see the guest network here is vlan 3 and gets its own subnet this is just a vpn you don't need to worry about that and this is our connection to the internet so let's say we want to create a new network or a new vlan we'll just click create a new network and you'll come to a page like this now this is a little video recording and i'm going to kind of walk you through what i'm doing here so first things first we're going to give our network or vlan a name so i just gave it the name test network and we are going to leave this as a corporate network now you may be tempted you'll see vlan only that's an option over here you don't want to use that if you're using a full unify system so if you've got you know like a unified secure gateway and unifi switch and unify access points you don't want to use vlan only vlan only is if let's say you had a edge router or a pf sense box that you built right and that is the router or gateway hosting the vlans and you're trying to pass those vlans through two unify switches and unify access points that's when you'll want to use vlan only as all it's going to do is pass the vlan through in this case we actually want to host the vlans on our unified system right so we're going to keep it as a corporate network i'm going to do it on our mainland interface and here's where you're going to give your network the traditional vlan tag so i chose 10. now here it's important gateway ip subnet so you're going to see i'm going to enter my subnet here we're going to go with 192.168.10. now you may be tempted to put 10.0624 right kind of makes sense that's the subnet however notice gateway ip over here unify won't accept that they're going to want you to put the gateway ip so 10.1 24 and it's going to fill up the rest for you there and that's that's pretty cool actually just populates everything for you and for the rest of this we're really not going to change any settings because this is an example we're just going to leave this network vlan pretty basic the only thing you're going to see me do here is update the dhcp range to make sure i've got room for some static ips other than that we're going to leave it pretty bone stock obviously you can change settings to accommodate what you need so we're going to go ahead and click save and there you go as you can see up here we've got test network vlan 10 so we've created a vlan that's awesome so the next step is we have to get these vlans to pass through the switch and apply them to switch ports right and that's called creating switch profiles in unifi you'll create a switch profile that specifies which networks are tagged and which networks are native and then you can apply those profiles to your different switch ports now here is where the classic interface versus the new interface kind of takes in not so fun turn so if you're on the classic interface like i am it's really easy settings wheel and then you click profiles unfortunately not so easy in the new one it's by no means hard but it's a little more confusing so click on that settings wheel then you'll go to advanced features and then you'll see a window come up on the right that has your switch profiles in this case we're still going with the classic so you'll come to a window that looks like this you'll see up at the top radius or switch ports obviously we want to go over to switch ports and create new switchboard profiles first thing you do is go over to switch ports then you're just going to add a new port profile and you're going to come to a page that looks like this now the first thing you're going to do is give your thing give your switch port profile a profile name so it's easy to identify we're just going to go with test profile here and we're going to leave all the poe settings alone for now now here where we have native network you're going to see me pick a network here we're going to go with our test network so that's the network that is going to pass through on the ports we apply it to you know by default untagged traffic will go through there and then we get to select which tag networks we also want to allow through that port so i'm going to go with the employee network here you can configure your advanced options as you see fit again not going to do any here because this is just an example so we're going to go ahead and save that and there you go you've created your switch port profile not too bad huh all right so the next step is we have to actually apply those switch profiles to switch ports specific switch ports right this is real easy from the main page your main you know dashboard if you will you're just going to click on this over here the little unify access point outline and list all your devices once you do that you're going to pick the switch you want to apply the port profile on now before we continue it's important to know not all unify switches support custom profiles some unifi switches only support you know the already created profile that happens when you create your switch port so just a native network and you can't add like a bunch of tag to networks and stuff like that so make sure you've got the switches for this but assuming you do next step is to select the port on the switch that you want to use in this case we're going to go with port 15 click the little edit icon over here and here is where right down here where it says switch port profile is where we can go and select our custom profile under custom you see our test profile and we can name the switch or the switch port for ease of administration after that you're just going to click apply let the switch provision and that is it that is the full process of creating a vlan creating a custom switch port profile to go with it and then applying that to the switch port so now if we were to plug anything in let's see if i can back this up a little bit if i were to plug anything in on port 15 with our custom profile applied natively it will go to the test network we created however if i plug say a voice over ip phone in it that's tagged with vlan 2 which is our employee network that will also work so if you understand vlans which if you're watching this i suppose you you should then this should start to make a lot more sense to you it is a little different than you you know would traditionally learn with uh i don't know textbooks or if you went to school for this the concepts are the same it's just the nomenclature is different the language is different right so that's it that is all for this video i hope you found it helpful hopefully it was able to gain you a better understanding of how unify and the whole unified system works if you have any additional requests for videos leave them in the comments below any questions or anything like that be glad to answer them down there as well and i'll see you in the next video
Info
Channel: Simple Networks
Views: 25,441
Rating: 4.9317074 out of 5
Keywords: unifi, ubiquiti, usg, VLANs, vlans, vlan, networking, simple networks, diy networking, home network, vlans in unifi, how to setup vlans in unifi
Id: zXtzEuDman8
Channel Id: undefined
Length: 9min 31sec (571 seconds)
Published: Thu Feb 25 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.