DHCP Configuration in cisco router with VLAN 10 20 30 in packet tracer

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi myself syndra's I am going to teach you about the DHCP configurations in router using cisco packet razor with the different VLANs right so I am going to take routers and switches okay then I take on horses than Ian missions every day guarantee so each network having three systems means in devices right then maybe do the cabling rickety so like that once you connected then as I told in previous video you can label your text for identifications right so like that I connected and connect to rota right so okay know what I am going to do is going to this network as VLAN 10 the IP network is one ninety two dot one sixty eight dot one dot 0/24 I may take and for this one I will take VLAN 20 and this range is 2.0 and the this range I will take it as VLAN 30 and the network is 3.0 right so these are all the three Network India single require making three networks with different VLANs right so then this all the things becomes trunk port or not that I will tell you this port we are going to marry test trunk and why we are married a strength and all I will tell you so this is the concept so this all the three networks need to communicate all the traffic should go to this router right this router will do the routing functions right so because these are all l2 devices this one outing consents so now I will start doing in this main thing is I am creating the DHCP function in router and the N machines is going to get DHCP IP address so let me see the configuration so first thing you just you draw the diagram and let you know what are all the things you need to do so now I know what we need to do is we need to create VLAN 10 here and we need to assign this all 4 ports comes under VLAN 10 I already told you by default it will comes under VLAN 1 all the ports right so in all the switch by default it is in wheel and one so now what I am going to do is in this such I am going to create conflict terminal I am creating VLAN 10 in this so it's right I created no exit means this is the function VLAN 10 that's all okay no VLAN 10 is created then what next thing is this for ports we need to defend comes under veil and then so on one more thing you don't want to do one by one for configurations for example I already told interface fastethernet 0/1 so instead of writing like this you can write interface ray Fast Ethernet 0 by 1 to 4 means I am going to do the configurations for all this 4 ports right so 1 to 4 now we are in interfaces 0 sorry 0 by 1 2 4 so now switch for more access right then switch for access VLAN 10 correct so now the what this command is saying that we created VLAN 10 and this all four ports noise comes coming under VLAN 10 right then I already told the dude right so from any configuration you can copy this configuration and give en you will come back completely to privileged mode right so now I think then I am entering into this switch then I am creating so like this also if you type the command is correct then you can enter okay then create VLAN 20 exists then enter into interface fastethernet sorry interface range fastethernet is 0 by 1 to 4 correct then switch port more access what is the switch port mode access means the port will carry the traffic carry only one wheel entropy if the port is in access mode that is nothing but the court can able to carry one VLAN traffic that is access for ok then switch port access VLAN be okay the note then go right right then n then then enable antic terminal VLAN 30 exit interface range fastethernet 0/1 to 4 then support more access switch both axles VLAN 30 correct direct whenever you are using copying these configurations from anymore only privilege mode this command will come apart from any other mode you are writing this GU rate you need to write a complaint command because for example I told if you press any starting letter if you press the tab it won't come here see why because this command is only applicable in privilege mode but you are copying in any configuration do right so you need to write a full command see now it's done then exit correct everything we didn't know yeah then so now what I did I created VLAN 10 and I applied the VLAN 10 for these four ports and I created VLAN 20 and I apply to the VLAN 20 for this 4 ports right see even you can hedge over you can see here see Fast Ethernet 0 by 1/2 VLAN 20 and see remaining force all comes under wheel and one right you can see here that is by default it is all comes under wheel and one already I told ok then I am entering into this port here what we need to do is we need to assign this port into wheel and then this port into VLAN 20 and this port into wheel and the T and this port will be a safe rank for that I mean tell me why that is trunk port right because see this port is going to carry only wheel and 10 traffic no other valence is available here same like all this 3 but in this for all these three wheel and graphics needs to carry this forth right then only it will rings router know so far the only we are making as Frank 4c enabled config terminal sorry config terminal now we need to create three VLANs right VLAN 10 then exit then we learned only exit then VLAN 30 then exit right now we need to mention that fast ethernet 0 by 1 comes on the VLAN 10 so interface fastethernet 0/1 switch for more access switch for access VLAN 10 right then exit then enter into interface fastethernet 0 2 then switch for more access then switch both access real and Ronde right then exit then enter into the interface fastethernet is 0 by 3 then should for more access then switch for access VLAN 30 right so then exit now and also you can ask why this port is in down state because in l3 devices I already mentioned in we do that by default what will be inside on state we need to main make the port up once the same quarter then this beside will get up okay so now what I am doing I am entering PI interface fastethernet 0/0 right so I am in defining this forth as prank port I already told this one to three port is carrying only one VLAN traffic but this is the fourth port is needs to carry multiple VLAN traffic so this switch port more drunk that's all there is no villain and all you need to define once you made it a strength then it will take care all the traffic's so you know need to maintain any VLANs in here but if you create as access port then you need to mince and that access fourth comes under which we land okay now to do right then exit right so all such configurations is done here so now I am entering into router sorry oh right I am entering into router configuration you know then enable conflict terminal almost switches and router configuration is almost same like enable global configurations or sorry then like entering in Queen two phases VLANs as any IPS those are all most of the commands is same okay then what I am going to do is no first I will enable this or into ops gate okay now I am enabling this support mode in top right so interface fastethernet 0/0 see here in router you will your ports will start from 0 by 0 but from switches you will get 0 by 1 only there is no 0 by 0 okay then I enter then I told that command called no shadow see here now the port is got up right then waters we need to do yeah we did the poor thing right then exit now see here by physically here there is only one cable right but we have three networks with three default gateway need to mention right so in this physical interface we are going to create three sub B interfaces means three network but three network we are going to create three sub interfaces then how to do that I am doing please carefully watch there know what I did I just enable to the physical interface right now I am entering into interface fastethernet 0/0 or dot one means I am creating them virtual sub interfaces in the physical interface right so now you can see here the variations we are in global configuration mode sub-interface right okay know what I am going to define is I am going to define this VLAN and default gateway for this that n machines need the default gateway no so now I am going to create here I am assigning the IP address right IP address one ninety two dot one sixty eight dot one dot one is my default gateway for this network right and subnet mask is 255.255.255.0 yeah so whenever you are doing this sub interfaces configuration so you have one command called encapsulation dot1q 10 what is this 10 is nothing but you are defining the this sub interfaces comes under VLAN and so that is called anchor encapsulation dot1q 10 okay after that you type this command then it will assign then now what we need we assigned the IP address part that then you do exit rightly again enter in to pass the thermal 0 by 0.2 that is nothing but second sub interface then encapsulation dot1q 20 there is nothing but VLAN 20 right then assign IP address so if you press the arrow mark a paramour key will get the previous commands right so 2.1 right then exit then interface fastethernet 0/0 dot three third sub interface then encapsulation 30 then IP address 3.1 so you got it right now we are in router configuration in this vast eternity 0 zero we made it as a three virtual sub interfaces and we added the IP address default IP address also this IP address is nothing but the default gateway for this network right then your thing we didn't know then you and then right means we are copying the configuration right so now you ever think we did so now next thing I am going to teach how to configure the DHCP configuration in router so as we mentioned now we only Adams IP address for this no admissions needs to get the IP address from DHCP server right so now I am configuring the DHCP configuration seem router right okay then just three four line comments just IP address IP dhcp right fool fool is nothing but the how many what is the range is not range like how many networks we are going to define like IP address Degas if he pulled one so this is nothing but one range of IPs we are going to release it from this pool so this one is nothing but the name of that DHCP pool you can do numbers as well as names like you can you claim you can give like appliance or you can give like management or administration so like that variations will be they know so according to their you are departments you can give the IP addresses also right then after this we are going to mention the network what is it and network range we are going to that is nothing but 168 are 1.0 this is network we are mentioning here be careful right that this is Network right then for this network who the default router is 192.168.1.1 right here you noted something much bigger already means in the subnet mask for this then it will take so default router is given right then what else then exit and one more thing here in this range you want to lose them keep some mighty addresses out of DHCP put for example you need to assign it statically for some servers our CCTV is like that so that also you can keep some like 10 eyepieces don't use in DHCP pull from for example you as in the DAC PI addresses from 11 to 254 keep one to 10 minutes for a further IP dhcp XZ excuted address from which address to whichever's you need to mention for example 1 to 10 you don't be use so if you type like this then your Dec we will start from 11 ok then everything we did no then like that we need to create two more coats for veal and volte we need to create and we learnt 30 we need to create I will create first pass okay IP dhcp for two then network one ninety two dot one sixty eight dot zero 255.255.255.0 right then default router ninety two dot one sixty dot 2.1 right then exit then in these also i am going to keep the an IP addresses for other purpose which view their the IPA 161 to 192 dot 168 at 2.10 even how many IP addresses you need in this you can keep like 10 are right they not only how many you need you can keep in this so then enters then one more pole IP dhcp port 3 then network one ninety two dot one sixty eight dot 3.0 255.255.255.0 right then default router one ninety two dot one sixty eight dot 3.1 right then exit then this also I will keep some if you want you can see you thought keeping that at NIT star let me see from which IP is started to taking okay that also good thing to confirm them okay I copied the configuration now everything we created so we defense the sub interfaces and we can't figure the biggest CP for 3 DLC people in this router now we are going to check in the end missions whether it is getting the IP address or not and one more thing you need to know this message will get only from IP from this range and this machines will get only at me from this range same like this one how you know right as we defined at the pool we given the one line command right encapsulation dot1q 10 so according to that 10 also that interface we mention don't know so when the IP assigning is requesting from this machine it will carry the traffic with the wheel and informations so according to that the wheel and 10 informations it will release the IP address so same like but from the same like for that day right so let me see that configurations yeah they are thing I mean copy one more time okay then I will close this then let me see the end missions on will it we will taken machine one right see I congratulations we got the IP successfully right see also you can see all the things like IP address water getting from Luverne and subnet mask and default gateway everything is getting perfect right even if you mentioned in these configurations like who is a DNS server like you can do that configurations that you can try when you are giving that a default router know next to one you can write one common like DNS server who is the DNS server like Google DNS 8.8.8.8 so that also you will get okay yeah then see this DHCP yeah call then do you see me yeah 13 see here DHCP - got 11 so like that you can configure that biggest be in cisco routers given you can configure their account here the Digga CP in l3 switches also you can play that also then the ECB yeah so as I mentioned to be kept up to 1090 addresses in stock in these two networks here we didn't get any addresses in stock so let me see where we are getting Levin are who because one already assignable to default gateway right don't country see they started giving from - you don't say why didn't came one because already ponies are saying it as default route right then see when you get here 33.3 yeah then you will get here for sorry 3.4 correct so now successfully we are getting the IP addresses from DHCP server and they're all the things is working fine on the even as I mentioned it attract to this Frank port this is working fine because think that by physically this one cable me where it has three sub interface in this physical connectivity and it is carrying all the three VLAN traffic's into this right so that is the purpose we are made in this port as Frank both means need to carry multiple VLAN traffic yeah good gasps I hope you successfully understand this big ACP configurations in router with a different VLANs thank you guys I will meet you in next video bye bye
Info
Channel: chin Tips
Views: 144,356
Rating: undefined out of 5
Keywords:
Id: WKwkM1ZsNg4
Channel Id: undefined
Length: 26min 7sec (1567 seconds)
Published: Mon Apr 18 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.