DHCP Server Configuration on Routers | Configuring the Cisco IOS DHCP Server

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
of you today the video as you can see is titled DHCP server configuration on Reuters for those of you in America you color routers I'm in England we call the Reuters and Harvey pronounce it they are one and the same thing so on the right hand side you see a subject that called subnets - dot-com and I have a DHCP server which sits here and on the left hand side I've got a DNS server and I've got a DHCP relay agents we will get to what that means in a moment and I've got a machine here which supposedly has an IP address of the 51 of this subnet and have another machine here supposedly have an IP address over dot 131 and this ECM a server has my p address of top five this has an imperial top 20 I do have connectivity between these two routers or routers let's head over and have a quick look for a moment so I'll open area so Rooter T on my left hand side and one on the right hand side now the IP address is dot one for e 2t the IP address is - I think that is the other way around so this show IP interface brief occurs rigid to steal move it across and this mislabeling - and then confirm that show IP interface okay it's aces up and up but a quicker way to do that is they can do show interface and you can do a summary and when you see a star it tells that interface is up an app okay so so type in show interface brief app interface briefings licking that up and up here you can go down here and do show interface summary and you can see that's up okay so let's find out this is up and up enough pink 10.10 bartender one which is the other side and I saw every seat I just finished you got some opinions excessively so it's just one pink okay so that's up that's up for good measure little pink ten top ten top ten don't cheer okay bring your tender tender tender too and we have connectivity however from reaching one here there's a DNS server which is gonna be part of my teas if you screw up can I get to it pink one seven 2.16 don't 1.20 and it says no I can't get to it but can I ping the CC server just on my site so richer one is on this side so you can see there can I ping the easy server on the side which is 170 you 16.2 and at five pinged one swing to the city energy and the 500g banks guys and it says nada okay so just woodrick energy first I will leave you to find out why this is not working in a moment and I'm not so he already know which is great I'm not gonna show the run yet but let's go ahead and configure DHCP server a dhcp server is virtual one or router one and these are the information we have here we are screwed in these IP addresses in this subnet and IP range and we're excluding this IP addresses in this subnet might be range now before we do this let's explain less a bit why we have a TCP seven one side and not on both sides in the olden days maybe a long time before you and I were born we used to have a lot of switches everywhere and different brokers domains everywhere and we didn't have the intelligence in those days to spin up one server a sec in the data center and be able to get a TCP server to supply DHCP scopes or IP addresses to all machines which are different subnets but Cisco and all those big clever guys came up with an idea of getting a dismiss server which could sit anywhere on a network be the one that says you know IP addressing for the whole network so you see Microsoft GCB servers are very popular but of course Cisco makes it possible and novel vendors like HP now just make it possible for you to crazy on DHCP scopes even on their Reuters okay in enterprise you find that it's more mostly done on service which is liquid which is shaped like this but today we're gonna do that on a Cisco router here as you can see so for one scope which was served as 172 16 the one that's just a 24 network will have TCP scope excluding one to 15 so I suspect the first machine to be 51 and then this one or the screwed one 200ms raid the first machine to be 101 it's the least it would get to be 101 so this is all just speculated but of course once it's working we will see that works fine so I've connectivity between these two different metric segments routed to and reach one rigid to is a really agent and like I said from before a real agent says I don't have they operated to be the TCP server the district server is somewhere and know where it is but because this is layer 3 and I can't layer 3 and I cannot afford brokers long I'll convert they request from these devices which are looking for an IP address for something like this one convert the request into a unicast which is a must-read by routing or layer 3 devices and this DHCP would give an address back in that way which will now be converted into a broadcast response to this device here which is going through the door process find out what the process is do are a you can look that up later ok so it's a process that's a device which appears in network uses to get an IP address for the sake of time do much more research into that and but by the time I'm done with this you appreciate this more ok so let's go to root of one like I said before and on roots of one them up a bit more what I need to do is I need to exclude some addresses let's find out what I must do dinner so don't forget is TCP server configuration on a router or on routers or routers however it works why so over here the first thing you need to do is I need to go into the global configuration mode configure terminal or comfort T and in this mode I would first start with IP I will assume the address 172 the sistine don't 101 and you don't put a 2 here like that now you just leave a space in there and then you type 170 the sistine dot one and then I'm doing dot 50 and on the other side here they also want to scope to be excluded so once they're into sixteen the to the one two hundred so I'll do the same one here and I'm like just one hundred and I make this two and it is one empty so of Cueva inscriptions why do you create solutions because you could have service which was set in here and you don't want any device to gather IP address to the server which across conference and network and of course performance issues so this you see m7 s dot v of 172 16 to the 0th network so 116 2.5 is at 7 and that is in this range - 1 2 3 4 5 6 7 8 9 10 11 to the hundreds so it falls within this range so you can stake a lot of service printers whatever it doesn't need to change a likely user machine it gets taken in there with fixed or static IP addressing and that would save you from having to worry about conflicts of IP address and networking and we'll save it performance issues so make sure that you always exclude where necessary and then do from there so now that you've done that why don't you go ahead and create this subnet which is on the Rooter to site and then we do the subnet on the IP addressing or scope for the subnets on route to one side okay so I'm gonna go ahead and do 16 but one network which is just one here so to do that what you do is you give it a scope name so I would go ahead and call its IP the command is IP THC and of course it's a DCP but I never do poo and then I called it subnet 16 1 0 y 61 0 16 1 the zoo network which is it's one of zero Machoke EXO 61 0 and then I'll say the network amped I'm covering for the 61 0 is 1 so into the 16.1 of course the 0 network and the /t 24 so 255.255.255.0 now machines need dns to resolve IP addressing or resolve names to IP addressing so my dns server you just type DNS seven and it's 172 16.1 enters the 20 ok which still falls within its one 10.50 exclude as exclusive ranges so 20 then i'll say my default rupture AIDS and the fortress is your gateway to your gateway to the network yeah and I'm using default route sir 1.1 beautiful and the leaves you know the least over here say 0 days 20 hours and 30 minutes of 0 days 20 hours and 30 minutes so the lease is going to be 0 20 and 30 0 days 20 hours and 30 minutes and all you do is press enter create a domain and the domain name have called it subnet 1.com ok and then if for example had a TFTP server somewhere i can use the command nest server and maybe we should just one put one day for good measure 174 16 and let's take the one over the one summits area so let's do one and then let's do ten and that could be your TFTP server if you had one so the same thing we've done now we're gonna do the same thing for the other sublet which is subnet 16 to 0 so again IP ESCP yes I need to get out again comedy IP and the name is and I called it submit 1620 then let's work for that subnets pool is network is 1 7 0 16 the t20 255.255.255.0 okay it covers a big big Network was just 252 devices really used to available 254 really and the DNS server it's 172 16.1 not 2 and 20 because that's a DNS server over here 420 420 so I'll do that in immediately going to default route a - also until the 16th at 0 1 and worry about my lease now the Lisa Javier says it's one day 5 hours 7 minutes so the lease is 1 5 or 7 it speed us before that's that simple and on the way about TFTP server here but I can stick it in for good measure so best server 170 love 16 announcer it's put in the one and there was one more time okay copy run start so I've configured my TCP server and because of comedy sip server I can do show IP dhcp and let's make lots of available I can see the pool and the gives me some last 1600 it gives me seven sixteen twenty gives me one two two five four one two five four and it tells me total dresser 22 four and then if I want to see if there's any any device that's trying to get my appeared ress and one Lisa spice there's none at the moment because it's not it's not enabled to do that yet okay so what I need to do now is this interface first eight net10 over here I'll put my IP helper on the interface the upper on that interface now is that correct is it really what you want to do if I do have the DHCP server sitting here do I need to put IP helper here well let's find out because this interface is here but then this is the root sir there's an interface and every interface depict the subnets okay so that subnet need to know how to get to TCP server and give the lease across so I'll leave this there for now and if you don't need it we take it off but to get thinking about how this works so let's head over again and let's configure this interface is to do what is supposed to be so rich a one show IP interface brief so first it in a zero has that sure one interface to first get new Syria and how does that be dressed clumsy interface for speech in the zero zero I beheld one well who is for TCP server but it's ever really is the same Ruta there Peters of this Reuter what are we going for okay so the IP address of this Reuter it's gonna be an interesting one are we gonna use 10 - 10 - 10 or 100 or the interface IP addressing for F 1 star 0 hmm it's good for you and I to think about it so let's for example say we're gonna use tender tender 10.1 start oh no no no no no something went wrong yes wrong interface that's quite less question go back so interface now I'd be helpful come see the interface facing the subnet is f not not the description [Music] yeah f1 f1 0 guys it's good to pay attention to that okay so you don't get you don't trip over so of course I'm gonna get you up now so quality interface f10 description down link to submit 16 try ok IP address comes into the 16 dots put 0 1 255.255.255.0 no shots happy helpful and want to achieve the 16.2 on the safe I can get to any of these metrics devices yeah alright so once went you 16.2 and dot five can I get to it and yes I can so that the ECM seller she beauty gets you that gates were typing 101 is one a wild live it is it alive yet is alive yet is it alive yet is alive it is alive it let us know why let's find out where do I pee there's nothing there but what anti create some IP for DHCP so IP and DHCP let's see it's doing a dollar process we got an IP address and the IP address is like I predicted once them into 16 to the 101 and the Gateway is that indeed so that works so you could happy healthy here and you specify the IP address of the router and after the fight the 10 the 10 but 10 but one so what we need to do now is go over to the other side and Ruta tube and see if we can do the same over there so widget to call T to show run interface f1 plus zero and there's nothing there so interface f1 plus zero description down link to submit 16 1 0 hi P address which is the which is the default route it's 1 7 0 16 to 1 that's 1 3 5 5 to 55 out of 0 no shots IP helper address is 10% of 10 dot what we do who's the one that's work 10 to 10 is this one so that one just like the other one okay copy from start now can I pink once I meet you does his team got one for twenty with your DNS server I can play the other way now this guy got two GCP Elia I got my dress coming check what it has so far so far they show IP DNS is there how can we pick the DNS think one seven to the 16 the one dot we guessed it twenty and still we can't reach it say destination hosts unreachable why I will explain why in a moment but let's just do this side as well let's come to get us but here so now should be hits CP by oh sorry show IP dhcp binding and I already see that one okay 101 which is that guy over there and now I need to see 51 in this subnet okay so go over here and our consoling you know what I did show IP it's empty so do I pee DHCP and let's see what happens here I'm going to stick I'm gonna see this traffic is trying to go across yeah kind of what runway shackle via but that no i so why should i could tell us if this device it's touching to look for an IP address okay the moment i press enter so leave that running here for now and go to 53 so don't went i press enter let's put over here for a second keep an eye out some just wash it okay when i press enter in fact I need to run another one here because the traffic don't go go across here okay sure Oh all right so one two three it's doing the door DCP this one is asking for an IP address the discovery is coming on somebody's asking for an IP address it's coming from this network want some 216 from that gateway here there's nothing that's cut in there there are something but it's not giving anything it's it it's getting nothing yeah those guys still asking it's been asking how's it mean given any IP address yet mm the destination tender tender one and the devoted my papers show IP no joy so you see all the zeros here yeah these are the zeros that you find you don't get any IP address at all so you don't see it over here so something has gone wrong what has gone wrong well it's not something that's gone wrong it's something doesn't reconfigure from the beginning but I thought I'll leave you guys to find out so what I'm going to do is I'm going to fix this problem have you guessed what it is really are you still thinking about it okay so I'll tell you what it is we have an inter link between this dish Chiru cheese this has a link into the subnets and this has a link to the subnets over here as you can see so interlink link to the subnets here and interlink again and linked to the subnets here okay but this Rita doesn't know this network doesn't know how to get here and it doesn't not to get there so for you to be able to request an IP address these not be helpful you need to establish connectivity that gets you there to that server for DHCP now having a connectivity this way it's good but it's not enough because he needs to know about how to get to the subnet if it's sending traffic back ok so it's all good in the traffic across this way but if he needs to central back like we saw enjoy shacks on the Y Shack you know he the requests are going across but if just care phone them back who is it a committee how does it get it back doesn't have to give back so this we're gonna we're gonna say on route 1 ok IP [Music] compte IP route see the 170th of 16.1 2 0 0 5 2 3 4 5 3 4 5 network 0 go bye I can take off I need to face oh I can see go by 10 10 10 - and copy from the start now when I do show IP dhcp brandon you receive that immediately our data there's now has an IP address can I ping the IP address' pink 170 and those 16 dot 1.51 let's see so it's attempting to go there and the wyshak will reveal that to us - they replace them and but then this is not responding why because when you quit around ten to get to this network go through this guy you need to secret or are saying and whenever this guy's responding please go use this guy that's my way to the network so who knows what its network the scanners what is natural here this guy knows what a network there so you need to tell this routes are to get to this network please clover my friend here alright so Richard to this gets routed tea and coffee tea and I'll say IP route she wants to achieve the 16.000 535i GT 5 5 0 that's what please kill by at end of 10 to 10 doctor one and Audi copy and once it's done let's go back and do a pings from way so first you saw it said 0 nothing is happening now let's finger again and wait and see what happens whole time okay if I can't get to the device can I get to his gateway so ping that I can get to the gateway so why can I get why Cannot I get to the device so sometimes with gns3 the device could fail so let's pick something else we made a DNS at 20 you can't get at the dns either oh we can yeah so the device has issues okay so it was 50 oh hang on what have I been typing so far do you want okay how's the IP address change maybe so let's check again it's pc3 so sure okay so this is interesting okay okay perfect perfect this is this a very good sign so when you look at route 1 and read it said show IP dhcp binding I first assure the 51 but it tried to send it across because there's no route at all it's released it ok so now let me make this guy look for it again press Enter let's let us do it Dora that's all again and it gets through to now when I do treat you to carry get to it now did you see that yeah so that's how it works okay so always create your routes of cause we're gonna change another feature t Vickers it's 52 now powers create your rounds so there's network notes about that and it's not took notes about that now the DNS can sit anywhere as long as you put information in the configuration and let's have a look again at the configuration on Route one so you can take a screenshot of it'll save this video or share this video whatever you want to do you know you feel free to do that and it's route what you want so just go has this command [Music] section IP so that's the whole configuration for the TCP as you can see here and across hook it up and I'm gonna stick them let's make it bigger so that's the configuration over there okay so IP helper on the interface of facing the subnets you want to get an IP address for from the TCP server IP help on that interface now some other vendors like HP you will not be able to give an IP address to the interfaces so what you do is you create a VLAN in between these two and you put that be help for another villain same way yeah okay so I hope you've learned a lot today so a broadcast domain in those days would have a TCP server which could serve them but Microsoft and Cisco and all those big boys decided to put together away and mechanism she gets the DC we said was centralized somewhere but yet devices anywhere else could request for an IP address using adora the DHCP process and get some an IP addressing which is a broadcast but I'm Detroiters are converted to unicast get the IP address bring it back and send it back to the device which asks for words like you saw earlier when I check it show IP dhcp binding is sure that awesome address that attempted to go out and that was a dress that i had speculated that it would be but in the end you saw that because it could not get to that network it dropped that route okay and so it's very important that you make sure there is a route existing between the two networks okay and that helps a lot so I hope this has been good for you I'll see you on the next one but before you go why don't you look at one more a few DHCP verifications I think one mole will do so we list so to do that just to show IP dhcp question mark and I see relay and see seis you know this relay and information trusted sources there's nothing that but the information is anything you barely use this command so what you really need is you look at anything that is least now see if there is any country at all there's no conflict it title now should we cause a conflict and see what she gets here maybe we good for us to do it before we end the video so I head over here go down here if you serve us it's all the way there but I want to see if we can take a conflict from here so come back here [Music] so let's go fifty two so wanna read you IP once I've until the sistine don't wonder 52 searching for once we see the system load 1 1 and the first enter ok this actually says this there's a duplicate IP address the King because it knows that there is a detection of of an IP address that's in there when I go to over here imma do that because the device will not allow me to configure it at home you know so it doesn't share it here but if it did before at any other one off for example and I was able to put his IP address on then you know you see that the computation over here so the commands are nominee show IP dhcp and you can look at the binding which is what you use the most you can click a tcp server statistics so received memory usage now if it's necessary easily office you know it's measurement and then good replies what have you so but I would always use DHCP binding DHCP conflict that's all ok so thanks so much for watching and I'll see you on the next video now this lab have created create an appliance which you can use some imports into chemistry which you can go and do import import portable projects I will stick stick the location of data plans in a description below so you can go download it download is full and practice your DCP however much want why shucks is a very good tool it helps for you to see what's happening a network and earlier on when I did a TCP or phone they can see it breaks it down okay so what frame is received it sent it's time to broadcast to all left saying hey guys I'm here and the IP address okay and then yes it says so much to everyone there okay and you have an IP address it was all serious times everyone me and then so that that one CD a DHCP server which actually sits on the other side and it is you server who said okay you know what that's okay if you want to come along that's fine now why don't we have watch your life one let me stop this for me and close and Chris without saving this this one definitely is gonna give me what's happening because it's a it's it's very close to where the the deceiver sets so I'm gonna if I list of that [Music] it's the picture stuck culture all right and now finally let's just go ahead and give this guy an IP address so he's PC chief but gonna give an IP address the Kurds want to give an IP address we're gonna go an issue a DCP so I want the wide shot so yeah so let's go alright so keep an eye I P DHCP and there you go already yeah and it got my Peters 253 there it is yeah let's go back to where the one break it down a bit more so it made a request tourist gates way to tender tender chain to one which is at the air phone chatter have one received a fifty three to give it back so that's that's it it sauce it destination they didn't know where it is gone from before anyway it came back with an IP address 16 to 1 2 to 5 3 and when I go to you it's a 1 and I look on winding we have the 3 yeah so this is really helpful so enjoy the love of available in description download have fun you know let me know what you've done with it at uni and I thank you for viewing and I'll see you on the last one have a good one
Info
Channel: Samuel Oppong
Views: 886
Rating: undefined out of 5
Keywords: configure dhcp on cisco router for vlan, configure dhcp on cisco router in gns3, configure dhcp on cisco router in packet tracer, cisco dhcp configuration example, how to configure dhcp pool on cisco switch, cisco dhcp options, configure dhcp on cisco switch 2960, how to check dhcp configuration on cisco router, cisco dhcp lease command
Id: X_H267HmnrU
Channel Id: undefined
Length: 47min 10sec (2830 seconds)
Published: Sat Apr 25 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.