Simple Ubiquiti VLAN Config

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to crosstalk solution my name's Chris and I get a lot of questions about how to set up D lands in ubiquity equipment or in the edge edge router and the edge switch equipment so I wanted to do a video on just a real simple VLAN configuration and basically when I say a real simple VLAN configuration I mean a switch using a an edge switch that can have a separate like a number of the ports can be a totally different network so let's take a look at this diagram so this is something I mocked up real quickly here we have the internet coming into my edge router at e 0 then off of f1 is my main Network which is 192 168 201 that is the IP address the physical IP address of e 0 f1 I'll look IV 0 here hang on let me fix this I don't want to confuse everyone here eath 1 ok so what I'm going to be doing here is adding a VLAN off of eath 1 I'm going to make it VLAN ID 30 which means it's going to be e 1 dot 30 and I'm going to give it an IP address of 10 10 0.1 / 16 so this is going to be a full class B that I'm going to be adding into my network here ok so that is then of course plugged into port 1 of my edge switch I have a 24 port edge switch light but these same concepts work if you have the POA version the 48 port version I think even the tough switch which I have behind me so I'm going to take 2 ports out of my 24 ports ports 19 and 20 and I'm going to make those ports the 10 1000 / 16 Network ok all of the other ports are still going to be 192 168 200 but just those two ports are going to be in the new network that I'm creating and I'm going to add a DHCP server that hands out IP addresses on those portes okay so hopefully that's clear and let's get to the configurations the first thing we need to do is we need to pop over into the edge router here's my dashboard here and we need to add our VLANs so let's go ahead and add interface add VLAN the VLAN ID is going to be 30 the interface is going to be e1 and the description I'm going to say temp VLAN 30 and then we're going to give it an IP address select manually define IP address and the IP address I'm going to give it is 10.10 dot 1610 1001 slash 16 so we're going to go ahead and save that okay so now our VLAN has been created I can see temple and 30 and here's the IP address over here 10 10 0.1 / 16 ok so now we have our VLANs set up it's set to go out f1 so it's tagged along with the travel 1 traffic let's go ahead and add our DHCP server so let's go over to services tab I'm going to make this a little bit smaller so that it's easier to see here one moment there we go so I'm going to add a DHCP server DHCP name we're going to call this VLAN 30 you can call it whatever you want the subnets going to be 10 dot 1000 / 16 the range starts going to be 10 10 to 1 again I've got this full Class B subnet to play with so I might as well use some extra ranges here and we're going to say the range stop is 10 10 to 254 the router is going to be the IP address of the VLAN ID that I created off of e 0 or the eath I'm sorry alpha equal 1 the eath 1.30 IP address that I just set up so 1010 0.1 and then DNS I'm just going to give it a couple of public dns servers and okay so now we have our VLAN setup in the edge router and we have a DHCP server that is assigned to hand out IP addresses in that VLAN subnet range all right so now let's go over to our edge switch login okay here we do so the first thing that we want to do is add our VLAN to the edge switch you're going to go to basic and VLAN and here we can see right now I've just got a default and I've got a VLAN 20 so we're going to add my VLAN 30 now if you have a range of VLANs like I could say add VLAN 30 - 40 and that would add 11 VLANs from 30 to 40 or you can separate them with a comma I could go 30 comma 40 comma 50 and and that's going to add three different VLANs right so I'm just going to add one for now we're gonna say VLAN 30 add and now the first thing that we need to do if you notice that by default we have ease for every single port okay so II means exclude so we are excluding all of our VLAN ports by default the first thing I need to do is I need to make sure since I have a cross connect going from e1 which is also eath 1.30 over to port 1 on my edge switch I need to make sure that that port has the ability to receive VLAN ID 30 so we need to tag that interface this is also called creating a trunk port so where it says e I just need to switch that to T and I just did that by clicking on it ok so now since I want to use port 19 and 20 I need to take those away from the default VLAN which is VLAN 1 VLAN ID 1 so I'm going to turn these two excluded up here 19 and 20 and that means now I can come down here to B then ID 30 and I can say untagged for both of those two ports so basically what I'm saying here is port 1 is the tag interface or a trunk interface and so all of the VLAN IDs are coming in on port 1 and then VLAN ID 30 that I have selected here will be going out untagged on these two ports 19 and 20 so I'm going to go ahead and submit that and save my configuration okay and that's all there is to it I now I'm going to plug this computer directly into port 19 or 20 one of the two ports that I just set up and I'll see if I can get a DHCP IP address in the 1010 10.10 to X range okay sorry so these numbers get confusing sometimes okay here we go okay I've plugged in I'm going to open network and sharing network and sharing center change adapter settings find my Ethernet adapter properties and I'm statically assigned normally so I'm just going to set myself to DHCP okay okay and then let's see if I get an IP address there we go so I already know I have an IP I can ping the internet ping 4.2.2 - I'm getting replies if I do IP config we can see that my IP address is 1010 to 1 so as easy as that folks that's a very simple VLAN you can use that to sort of set up your switches to segregate into multiple different networks and I just did two ports but you could do 10 ports or 20 ports however many you wanted and and basically all these same concepts apply so I hope you enjoyed this quick look at setting up a simple VLAN my name is Chris with crosstalk solutions if you like this video please give me a thumbs up and if you'd like to see more videos like this please click Subscribe thank you so much for watching
Info
Channel: Crosstalk Solutions
Views: 230,523
Rating: 4.9532933 out of 5
Keywords: vlan, edgerouter vlan, edgerouter, edgeswitch vlan, edgeswitch, ubiquiti vlan, how to set up a vlan, unifi vlan
Id: grg8TxsSops
Channel Id: undefined
Length: 9min 5sec (545 seconds)
Published: Thu Feb 18 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.