5.1 Legacy Inter-VLAN Routing - CCNA 2, Chapter 5: Inter-VLAN Routing - Part 1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and thank you for watching this video my name is asterisk as Nietzsche today we are talking about season a semester to chapter 5 in the villain routine okay on this chapter objectives for this chapter is to describe the three primary options for enabling inter VLAN routing configure legacy inter VLAN routing configure Rooter on the stick inter VLAN routing and configure inter VLAN routing using layer 3 switching and last we'll talk about troubleshooting in the villain routine so we done virtual local area network for two VLANs to communicate with each other they can need a layer 3 device like a router ok so what is inter VLAN routing layer 2 switches cannot forward traffic between villains without the assistance of router so if we create two VLANs we are creating two virtual local area networks and they can't communicate with each other without the router interval VLAN routing is a process of forwarding network traffic from one village to another be done using a router here I have two PC's those species are connected to a switch we didn't configure anything and they will be able to communicate as long as the PCs have an IP address subnet mask fine they can communicate with each other but when we go and change the VLANs for example we create a new villain and we add say we create this blue VLAN and we have this PC on the blue villain now when the PC on the black VLAN when trying to clone communicate with a blue be done won't be able to do so because this switch is a layer 2 switch so for this we're going to need leader router a layer 3 device so if we do like something like the legacy routing legacy interview on booting connect the switch with the router the two cables one from the black villain and one for the blue villain now we should be able to have a communication between the black villain and the blue villain because we have the router or layer 3 device ok so this type of villain inter VLAN routing is considered as legacy right so that's what we're going to learn next so we have three types of individual routine first is legacy inter VLAN routing like we saw we'll talk about this bit more then we have a Rooter on a stick inter VLAN routing and the third type is multi-layer switch in the VLAN routing which is a new way and is most preferred way so first legacy inter VLAN routing in the past long time ago actual voters were used to route between villains like we saw early in the screen so each VLAN was connected to different physical route Rooter interface so each VLAN had its own routing interface now if you have only a few VLANs like 2 or 3 maybe that's okay but if you have 10 15 or 20 VLANs then that's going to be a challenging for you to actually have a Rooter who's going to have those many interfaces for each VLAN packets would arrive on the router through one in through one interface and be routed and leave through another interface because the Rooter interfaces were connected to VLANs and had an IP address for the specific villains routing between regions was achieved and that's possible large network with a large number of villains like we said require many Rooter interfaces so here we have a two PC's one PC and on the left and the right they are in different VLANs and they connected through with each other through the router but the router has two interfaces for each VLAN has got in one interface and this is okay in this scenario because we only have two VLANs but if we had say 1020 VLANs then it will cause a problem ok so what are we going to do we cannot build this network just like you see in here on the screen on the packet tracer and we'll see the inter VLAN region between the two devices okay so I have my packet tracer here so I'm gonna get a Rooter to pcs unbusy se and DC on the second PC sorry then the switch and I'm going to connect these two pieces to the switch so I choose the cable connecting devices then I'll choose a straight-through cable remember two dissimilar devices straight through cable okay so straight through cable Fast Ethernet 0 on the PC then I'm going to connect to Fast Ethernet 10 on the switch and then the second PC Fast Ethernet 0 to the switch Fast Ethernet 20 I know you can't see it's a behind screen underneath it's 20 if I just hover about yep that's FA 0 20 okay so this PC is going to be on the VLAN 20 and this PC is going to be on VLAN 10 so I'm going to write that down so put here be down 10 this one and this pc on this side is going to be V done 20 right IP address for this PC is going to be 192 168 dot 20.25 24 and IP address for this PC on the left will be 1 and 2 1 6 8 10 top 10 okay now even if you leave it to as he is now they won't be able to communicate because they are in different networks one nine two one six eight ten Network and one nine two one six eight twenty network they won't be able to communicate so I will open this VC and I'll give an IP address go to desktop IP configuration and one nine two one six eight dot 10.10 and the subnet mask / 24 and gateway 191 six a 10.1 it will be this PC configure go to desktop then IP configuration one nine two one six eight dot 2020 and the Gateway subnet mask 4/20 and gateway 191 68 20.1 okay now these two pieces will not be able to communicate with each other because they own different networks so we can try that but it won't work so I can try and ping yourself pink one ninety one sixty eight dot twenty third twenty will not work okay first thing you will not work anyway because ARP address resolution protocol but soon as you see the second request timeout then there's a problem okay now for the switch this is on on port ten so up right here FA 0 10 10 and this PC is on 20 so FA 20 0 20 ok so configuration for the switch I'll open the notepad and enable Starbase config T and interface now first of all we have to create two V that's because by default we only have be done one so we can go to the switch and check that actually just go to switch CLI there's no configuration it's brand new switch I just put there so enable show wheel and briefed you can see that we have real on one and all the ports are assigned to be line one from 1 to 24 and then 0 0 1 and G 0 2 okay so what we do is we create the VLANs and then we move those ports those two ports from the VLAN 1 and we added to appropriate VLAN VLAN 10 or Finland 20 ok so first thing I'm going to do is I'm going to I'm going to change name of this switch so hostname s1 it's going to call s1 and then I'm going to create two villains VLAN 10 name sales for example done pop with the question mark there's nothing really to there's just exit change the name or remove whatever name you gave in so exit I didn't have to do that I can just continue be line 20 but for exercise purpose say exit then VLAN 20 new VLAN name I key okay exit I want you to pay attention to this now this mode here is a global configuration mode when we type VLAN 10 you can see that the mode has changed we say we are inside inside VLAN configuration mode ok so if I exit again and type show VLAN brief again now I can see they have two VLANs to brand-new VLANs VLAN 10 and VLAN 20 now I have to move those two ports the PC left on the left is connected to FA 0 10 which will be on sales and PC on the right will be is connected to FA 0 20 and it will be an IT so to do that you should know that now go to that interface or interface FA 0 10 switch port mode access and the switch fort taxes VLAN 10 ten okay exit that's done exit again and show real and brief we can see the port ten has moved now to VLAN 10 you can see that before it was it was on VLAN one default VLAN now it's moved to be nine ten because we ran this two commands next we're going to move for 20 from VLAN 1 we're going to move it to VLAN 20 so config the interface FA 0 20 switch forward mode access it's not a trunk mode its port access port and switch forward access VLAN 20 exit or I can do end to go to the privileged mode now on privilege mode I know that I'm in privilege here okay show real and brief now you can see the port 20 has moved to VLAN 20 as well so I t2 bi t be done okay excellent we have now what we're going to need to do is connect you can see this is resetting the port there connect the brutor with the switch so this route I'm going to connect port FA 0 0 to V that to port 1 and then for FA 0 1 2 port FA 0 2 here so this is just an writes making out here 0 0 and this port here is FA 0 1 here F a0 one on the switch and F a0 to on this side okay so I'm just going to bring them this close here okay so zero zero four zero zero is for the VLAN 10 and zero one is for VLAN 20 what we need to do we have to do the same things what we did for the DS villains that because these fours now they are like a switch words they not chunky no an insert not switch word access port then I've shrunken or anything they just normal port switch will treat them as access port okay so port 1 is going to be on sales VLAN and port 2 is going to be for the ITB then ok so config T interface FA 0 1 switch for mode access and switch forge access get on 10 and to go to the privilege mode and show V done brief now you can see we let port 1 and 10 or in sales be done and 2 and 20 it's going to be night TV done so config T again interface FA 0 to switch forward mode access and switch forge access VLAN 20 and show VLAN brief now you can see the port 20 and 2 is an IT VLAN which is 24 10 and 1 it's in sales be done which is in port can they don't appear here anymore because we move them they can belong long into one VLAN so that's why you don't see them anymore in VLAN 1 they have moved firmly than 1 to either VLAN 10 or VLAN 20 ok great so what we have to do is now just configure the router and we are done and then we'll test it okay just want to see it right down the what I did in the switch so this is for the s1 was create the villa VLAN 10 set Dame sales then be done 20 named IT then I went to the interface interface fa0 10 it was the PC connected to switch forge mode access switch port access VLAN 10 and that port has moved from with from either one to be done 10 then we said interface FA 0 20 switch forward mode access and switch Forge access VLAN 20 done then we move to the Rooter pores so interface the force' connected to the router so interface fa 0 1 switch for mode access switch for access v10 one sorry VLAN 10 ok this month we did so I'm just showing you notepad so you can take notes here so in the then this the next month was interface FA 0 to switch forward mode access the next switch forward access VLAN 20 okay so for 10 it's going to be with port 1 in in one virtual LAN yeah those two are just on a single local area network virtual and 420 and poor 2 or in de virtual LANs as well okay so now the connection configuration we're going to do sorry on Rooter with a one enable config T then I'll go to the first port interface interface fa 0 1 just give a normal IP address IP address I'll just make some IP address that's going to be 192 168 dot 10.1 and slash 24 yeah I can move this bit here okay push it down and then interface FA 0 2 I just normal IP address 191 6 8 21 and 24 no shita I'm saying 24 because 255 255 255 is forward slash 24 yeah it's 8 bits there at the 8 bits 16 nother 8 bits that's 24 bits ok done I'm going to highlight all this copy go to the router configure with the configuration dialog yes or no here Rooter has gone through didn't find the startup configuration file now it's asking us do we want to start the wizard now we don't want to start the wizard nope give it a name config T hostname or one I just like the name and right click and paste okay well we make a mistake there wasn't FA 0 1 and FA 0 2 on the router ok so it's just 0 0 I'm going to do no here no remove that because the router had FA 0 0 and FA 0 1 so interface FA 0 0 IP address 192 168 or 10.1 no shutdown I have to say no IP address here because when I do this command is going to give me error because it's conflicting with this one so this one can be first ok no IP address say that when I give the next IP address is going to remove the old one anyway so now if you address 192.168.1.1 to zero in the end okay every 0 1 and 0 0 the reason I notice that because I saw here it was giving me errors yeah so you need to pay attention to these errors so I saying the IP address there's error well because it's invalid invalid interface type in number because there's no interface FA 0 2 if you don't know what interface that you have you can go show IP interface brief if you get these messages invalid interface type and number I'll say okay let me see show IP interface brief and I can see I don't have FA 0 2 right I just have 0 0 and 0 1 so conflict again right click and paste these commands ok no IP address fine find everything fine let's have a look and show IP interface brief we can see that 0 0 is 1 9 2 1 6 8 10 1 and 0 1 is 1 9 2 1 6 8 20.1 and they both layer 1 up they are 2 up so everything seems to work and find this is what we wanted 0 1 get rid of that to have one 92168 20.1 this is for VLAN 20 and this is for VLAN 10 right so what we're going to do now is go to the PCs and see if you can ping him if he goes orange or something and even you don't wait because sometimes you have to wait 50 seconds you can just fast-forward the time so you can see there that we have one minute and nine seconds you can just go boom boom boom done so it's fast forwarding okay PC zero got there type ipconfig now early we try to ping it we couldn't ping it so now IP config sorry IP config and that's my gateway so first thing I need to do before I can ping your new try and ping your gateway 191 68 10.1 and I'll go reply that's good I can go to PC to to this PC on the right the numbers are PC PC on the right IP config see 192 168 22 1 is a gateway so what ping 192 168 dot 20.1 and yes I can ping the gateway so now if I go to the PC on the left here so one trying to do is ping from PC to the left to the PC to the right so this is my IP address so if I say IP config I can see the my V dress is one nine two one six eight dot ten to ten here same as this so one I'm going to try and ping is this so ping 190 168 to 2020 and voila I have replied so this is how legacy interviewed and what routine was happening the packet was going to the Rooter and coming back to the other interface on the rotor so each interface on the router is belong to individual VLANs so if you have 10 B lands and you will need 10 interfaces ok if you want to see how it's actually packet going I can go to the simulation mode so here you have a real-time and a simulation simulation mode is like you can see how the packets are you can see that all the packets are visible at the moment I can remove it by this clicking here so no packets are visible and then I can just select the package that I want to see so edit filters and I want to see ICMP is only version 4 i simpiy yep then I click an envelope here click the first PC and then click the second busy ok the packet is ready now but it will not go anyway until we move because the time stay still and simulation nothing moves it's like the world stand is dead for you until you capture for it or you can also capture so one one move at the time ok app or to capture the package is going to the switch then from the switch it's going to wall it left interface by showing the right interface really then it's going to go down to the second interface and to the VC you see that it's going to the switch well the packet rate is not displaying that exactly the way I would want it but it's good enough so you can see this it's going through to the right interface first and then it's going to come back through left interface nice try anything this is back at race maybe need update okay so we have we see here the successful routine excellent so we show the inter VLAN routing legacy into read and written thank you very much on the next video we'll talk about a Rooter on the stick the second part
Info
Channel: Astrit Krasniqi
Views: 100,338
Rating: 4.8910084 out of 5
Keywords: Configure legacy inter-VLAN routing, Configure router-on-a-stick inter-VLAN routing, Configure inter-VLAN routing using Layer 3 switching, Troubleshoot inter-VLAN routing, Legacy Inter-VLAN Routing, Router-on-a-Stick Inter-VLAN Routing, Multilayer Switch Inter-VLAN Routing, Demonstration: Configuring Legacy Inter-VLAN routing, Demonstration: Configuring Router-on-a-Stick Inter-VLAN Routing, Troubleshooting Inter-VLAN Routing
Id: 7st1viiP8ds
Channel Id: undefined
Length: 23min 33sec (1413 seconds)
Published: Fri Dec 05 2014
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.