1 00:00:08,740 --> 00:00:11,390 Hello everyone they just might have that here again. 2 00:00:11,710 --> 00:00:17,280 And this first lab I'm going to speak about DHC so why it's important to understand what this issue 3 00:00:17,320 --> 00:00:19,670 is when you are in Ashby. 4 00:00:19,690 --> 00:00:22,690 You may be providing internet service using the DST. 5 00:00:22,730 --> 00:00:28,940 OK that means that when a customer would like to get Internet service from you then you have your DST 6 00:00:28,960 --> 00:00:31,890 server configured on your router on the ISP. 7 00:00:32,060 --> 00:00:37,900 And from this router you will send an IP address with the subnet mask and the gateway and everything 8 00:00:38,260 --> 00:00:41,860 to the domestic life which is in this case the customer. 9 00:00:41,860 --> 00:00:45,090 And then he's able to be connected to the Internet. 10 00:00:45,100 --> 00:00:49,260 So understanding what the issue should be is and how it works is very important. 11 00:00:49,260 --> 00:00:53,620 Before we start implementing this on our real ISP. 12 00:00:53,950 --> 00:01:00,130 So in this first lap I'm going to explain to you what are the packets that are sent between the DCP 13 00:01:00,190 --> 00:01:01,150 server and the. 14 00:01:01,220 --> 00:01:07,320 There should be clients and then we're going to make the lab and show you how we can create and configured 15 00:01:07,500 --> 00:01:13,860 to be sober and how with the router which is normally should be the customer wrapper can get that either 16 00:01:13,990 --> 00:01:17,230 from your Mike Crapo which is the DHP server. 17 00:01:17,410 --> 00:01:22,870 So as you can see here we have six months to follow but before following those spots let me just make 18 00:01:22,870 --> 00:01:28,750 for you a brief explanation of what you are going to do and that what are the type of package that are 19 00:01:28,750 --> 00:01:33,530 used in the dish to be in order to understand it better than we would do them actually. 20 00:01:33,640 --> 00:01:38,770 So as you can see that is my network diagram I have my computer which is connected to Router one on 21 00:01:38,770 --> 00:01:45,370 the interface you can get one and router one has it and connectivity with the router to using the interfaces 22 00:01:45,510 --> 00:01:47,630 and two on each of the routers. 23 00:01:47,860 --> 00:01:52,540 Ok now I'm going to use as I said Janissary for the slap. 24 00:01:52,720 --> 00:01:58,480 I'm not going to tell you how you can shut up tree and that it work with my critic because that's out 25 00:01:58,480 --> 00:01:59,860 of the scope of this course. 26 00:02:00,040 --> 00:02:05,840 But of course if you would like to know more than you can check I have some other course that is only 27 00:02:05,860 --> 00:02:10,240 speaking about how you can set up my critique on janissary. 28 00:02:10,450 --> 00:02:10,950 OK. 29 00:02:11,050 --> 00:02:12,440 So the idea is the following. 30 00:02:12,460 --> 00:02:18,190 I've connected now from my PC to router 1 and 2 router to our inbox. 31 00:02:18,190 --> 00:02:18,880 OK. 32 00:02:19,060 --> 00:02:23,440 So the idea is I want to configure the D should be server on that either. 33 00:02:23,470 --> 00:02:29,160 So this kind of the dish to the server and on the router to go to country to speak live. 34 00:02:29,410 --> 00:02:34,930 And when I finish the configuration what will happen that when I configured there should be server router 35 00:02:34,950 --> 00:02:40,270 one I would create the pool of IP addresses so the IP addresses will be for example because we're using 36 00:02:40,270 --> 00:02:41,610 one I don't to say that one. 37 00:02:41,620 --> 00:02:44,480 So there's going to be one or two and take that one to. 38 00:02:44,560 --> 00:02:49,750 Who want it or say that one two the three four until two five four. 39 00:02:49,750 --> 00:02:54,340 So this is the people that I with great insight there should be shover in my cases. 40 00:02:54,380 --> 00:03:02,420 The one that one rattled to when I got the router to I will enable the should be client on the net too. 41 00:03:02,490 --> 00:03:05,260 So when I enabled the should be Can I go on the internet too. 42 00:03:05,280 --> 00:03:13,040 And as both are connected to the same cable then in this case the router to get an IP address on the 43 00:03:13,040 --> 00:03:20,500 Internet do from the range of IP addresses that I have created on the server and the pool of the server 44 00:03:20,560 --> 00:03:21,570 on top that one. 45 00:03:21,850 --> 00:03:22,390 OK. 46 00:03:22,480 --> 00:03:24,810 So this is the idea what I'm going to do with this. 47 00:03:24,820 --> 00:03:26,800 But before I start doing the boss. 48 00:03:26,800 --> 00:03:33,300 Let me just explain to you the communication that happens between the server and indeed the client in 49 00:03:33,310 --> 00:03:38,420 the background so thats something we don't see that's only happening in the background between the should 50 00:03:38,450 --> 00:03:40,860 be sure and they should be. 51 00:03:40,960 --> 00:03:47,710 So let's consider that we have created the HTP server on the router one and we created the there should 52 00:03:47,710 --> 00:03:50,060 be client on router. 53 00:03:50,520 --> 00:03:51,050 OK. 54 00:03:51,160 --> 00:03:58,800 So when you make enable of the dish decline or out to on the Internet to then hear the process stop 55 00:03:58,840 --> 00:04:01,590 of the communication between Rothera one another. 56 00:04:01,810 --> 00:04:10,190 So first thing the router do will send something called there should be this call. 57 00:04:10,630 --> 00:04:11,590 OK. 58 00:04:12,220 --> 00:04:14,040 They should be discovered. 59 00:04:14,770 --> 00:04:17,940 So rather do we send it to Rothera. 60 00:04:17,980 --> 00:04:19,500 So you say hey hello. 61 00:04:19,540 --> 00:04:27,220 I am now asking for an IP address and that is I discover I'm sending this to anyone in the network in 62 00:04:27,220 --> 00:04:29,640 our case is directly connected to the router. 63 00:04:29,830 --> 00:04:34,470 But it may happen that this router and all that is connected to a switch. 64 00:04:34,700 --> 00:04:39,280 And on the switch there are many PCs and one of them as an author. 65 00:04:39,350 --> 00:04:45,780 OK so we sending these to be discovered to this point and then it is broadcasted to or other parts of 66 00:04:45,790 --> 00:04:51,260 it will go from here from here or from here from here from here from here and from here and this should 67 00:04:51,260 --> 00:04:55,340 be Discovery say hey I'm now live I would like to have an app out there. 68 00:04:55,360 --> 00:04:58,590 So if there is any there should be server in this network. 69 00:04:58,780 --> 00:05:04,040 Please send me an IP address to be able to put it on my interface to the net. 70 00:05:04,060 --> 00:05:16,490 So the first step is we call it the the second one the Router one was send back a D should be offer. 71 00:05:17,440 --> 00:05:19,630 OK this should be an offer. 72 00:05:19,690 --> 00:05:26,630 So the dish too and this there should be offer to one with say okay I have received your request that 73 00:05:26,660 --> 00:05:31,690 this should be discovered that you would like to have and I found this and I'm offering you an IP address. 74 00:05:31,900 --> 00:05:32,440 OK. 75 00:05:32,590 --> 00:05:34,780 And that is the IP address that I'm giving to you. 76 00:05:34,780 --> 00:05:42,410 So for example he would say I would give you one night to 6 say 1 2 2 5 4. 77 00:05:42,700 --> 00:05:47,260 And then it should be from the range of the pool that he created on that one. 78 00:05:47,260 --> 00:05:51,730 So remember when we said we create a pool of five others is about the Lonzo. 79 00:05:51,820 --> 00:05:53,900 This IP should be from that board. 80 00:05:54,310 --> 00:05:56,120 So that is number two. 81 00:05:56,260 --> 00:06:06,290 Number three then the router to send back the ship the request OK. 82 00:06:06,680 --> 00:06:10,410 This should be a request and we will send it to route through one. 83 00:06:10,570 --> 00:06:12,380 So step number three. 84 00:06:12,850 --> 00:06:18,450 And then it will say OK I have received this IP address and I would like nicely to ask you that. 85 00:06:18,520 --> 00:06:24,170 Can I have it and put it on my Internet too so I can use it and I lose it from you. 86 00:06:24,190 --> 00:06:29,230 So this is exactly what they should be requesting I suggest you say that I received from you the offer 87 00:06:29,680 --> 00:06:36,020 and it looks fine for me and I would like to ask you that I can lose it and put it on my interface. 88 00:06:36,370 --> 00:06:42,090 Then in this case Router one would assume which is the server answering to the supply. 89 00:06:42,340 --> 00:06:48,590 And then he would say the SGP acknowledge OK. 90 00:06:48,740 --> 00:06:53,520 And number four and with all this you say OK fine. 91 00:06:53,650 --> 00:06:54,960 You have asked for me. 92 00:06:55,030 --> 00:06:57,690 The eyebrow that is to be these to the interface. 93 00:06:57,810 --> 00:07:01,050 Ok I will leave it for you and then disappear over. 94 00:07:01,060 --> 00:07:10,210 He put on his pool that he has this IP address which is 1 2 and 6 they don't want to fight for it's 95 00:07:10,280 --> 00:07:14,600 these to this interface which is the two of them. 96 00:07:14,800 --> 00:07:19,660 So all this communication is happening in the background and we don't see that. 97 00:07:19,870 --> 00:07:24,700 But of course it's really important that we understand how this works in case we have problems when 98 00:07:24,700 --> 00:07:28,420 we want to do something of the shooty that we know how we can solve the problem. 99 00:07:28,420 --> 00:07:29,980 We see where the problem is. 100 00:07:29,980 --> 00:07:36,580 So in case any problem is happening on a router or one or router do we know which packets of this should 101 00:07:36,580 --> 00:07:41,410 be responsible coming from the one and which buckets are coming from Robert. 102 00:07:41,590 --> 00:07:49,160 So this is in brief how the propers works together or we can be also router to can be maybe a PC and 103 00:07:49,160 --> 00:07:52,680 so it doesn't need to be rather rather PC or rent or anything. 104 00:07:52,690 --> 00:07:54,460 It's just a hostel OK. 105 00:07:54,550 --> 00:08:00,360 So it can't be any type of network devices which is connected to the DHP server which is Router one 106 00:08:00,700 --> 00:08:01,940 as a server. 107 00:08:02,080 --> 00:08:07,060 And then this complication what happened between the day should be server and the DST line no matter 108 00:08:07,060 --> 00:08:12,660 what the client is it can be a printer or a PC or anything. 109 00:08:12,700 --> 00:08:13,220 OK. 110 00:08:13,390 --> 00:08:15,760 So this is what I wanted to show you. 111 00:08:15,760 --> 00:08:21,000 So these are the four type of communication between the DST server and the device to be fly. 112 00:08:21,220 --> 00:08:25,960 And it is there should be discovered from Rathod to track the one that rather one asked about there 113 00:08:25,960 --> 00:08:28,580 should be offer to give him an IP. 114 00:08:28,720 --> 00:08:33,810 And then thereafter to reply back with there should be guest asking that if he can use it. 115 00:08:33,820 --> 00:08:40,240 And then the one thing I noticed was that there should be calls all those type of traffic are made via 116 00:08:40,420 --> 00:08:41,430 broadcast. 117 00:08:41,480 --> 00:08:44,090 OK all three lasering. 118 00:08:44,350 --> 00:08:45,770 And on broadcasts. 119 00:08:45,910 --> 00:08:52,090 So we will see now when we make the capturing that there will be those four type of traffic that's happening 120 00:08:52,420 --> 00:08:53,190 and or both. 121 00:08:53,230 --> 00:08:56,410 And all those graphics are broadcasting to each other. 122 00:08:56,590 --> 00:08:57,050 OK. 123 00:08:57,160 --> 00:09:03,890 The protocol that is used inside the DSP for ways of communication is called Bootstrap. 124 00:09:03,940 --> 00:09:04,440 OK. 125 00:09:04,600 --> 00:09:11,950 So bootstrap is the protocol which has the port 67 and 68 is responsible for this communication that 126 00:09:11,950 --> 00:09:16,300 happens between the server and the district. 127 00:09:16,540 --> 00:09:18,810 So now we know how this should be worked. 128 00:09:18,970 --> 00:09:24,400 Let's now do the lab and then we will capture the traffic and we will see you all those four package 129 00:09:24,400 --> 00:09:29,650 that we just have seen now that it will be shown for us when we want to do the capturing and see how 130 00:09:29,650 --> 00:09:31,140 the day should be as well. 131 00:09:31,300 --> 00:09:36,180 So phone number want Genest we love is already set spirit so to make it easy. 132 00:09:36,430 --> 00:09:42,240 Always the graph here on the top of that page so you can follow that up in the usual way. 133 00:09:42,460 --> 00:09:42,970 OK. 134 00:09:43,060 --> 00:09:49,010 So the ministry has already set a paragraph so if you want to see that I can open janissary. 135 00:09:49,150 --> 00:09:55,060 So the Janissary I have router 1 and I have routed to that connected on the Internet to interfaces so 136 00:09:55,060 --> 00:09:56,870 it's the same as you can see on the graph. 137 00:09:57,070 --> 00:10:02,410 And then that is my PC cloud is representing my PCs so I'm now able to connect from my PC to router 138 00:10:02,410 --> 00:10:04,490 1 and 2 router. 139 00:10:04,590 --> 00:10:05,230 OK. 140 00:10:05,360 --> 00:10:11,620 So as I said before that in this course I'm not going to explain how we can set my critique on Janissary 141 00:10:11,800 --> 00:10:13,680 because it's out of scale from the score. 142 00:10:13,710 --> 00:10:20,370 OK so if you want to know how to do that there's some other course that I have on you that you can register 143 00:10:20,670 --> 00:10:24,990 and then you have the full dispensation of how you can set up with it on. 144 00:10:25,040 --> 00:10:25,880 Yes. 145 00:10:26,140 --> 00:10:26,480 OK. 146 00:10:26,500 --> 00:10:27,520 So Phone number one. 147 00:10:27,520 --> 00:10:34,430 It has done both number to put an IP address on it and it of the long ass paragraph. 148 00:10:34,730 --> 00:10:40,420 OK so before I do this then you just explained to you that it's very important that the one you want 149 00:10:40,420 --> 00:10:42,010 to make a dish to the server. 150 00:10:42,010 --> 00:10:47,860 For example in this case either one the first thing that you need to do is to put an IP address on the 151 00:10:47,860 --> 00:10:51,370 interface which is going to connect to the internal LAN. 152 00:10:51,390 --> 00:10:54,620 In our case we have all the throttles to connect to the net. 153 00:10:54,640 --> 00:11:00,180 So it's very important that you always put the night gravitas on it and that to or rather one. 154 00:11:00,250 --> 00:11:01,330 Why is that. 155 00:11:01,330 --> 00:11:06,030 Because this IP address was going to be written that too is going to be get away. 156 00:11:06,410 --> 00:11:08,720 OK the gateway off dropped it too. 157 00:11:08,810 --> 00:11:15,620 So think for example if you have we don't have this thing here if you have here and a switch and you 158 00:11:15,620 --> 00:11:20,630 have a lot of PCs printers laptops routers whatever you have here. 159 00:11:20,840 --> 00:11:27,040 So when they want to get either of us from router one they recover from the internet too and then either 160 00:11:27,090 --> 00:11:29,100 two should be gateway. 161 00:11:29,300 --> 00:11:29,780 OK. 162 00:11:29,840 --> 00:11:35,240 So it's very important that you put the iPad just because if you don't have fathers on the gateway then 163 00:11:35,240 --> 00:11:38,450 in this case they are not able to communicate with either one. 164 00:11:38,660 --> 00:11:42,920 And for example the cash out of one has here internet. 165 00:11:42,920 --> 00:11:45,800 Then they know those costs which are here. 166 00:11:45,920 --> 00:11:50,300 They know that if they want to go to the Internet they have to send all that traffic to their gateway 167 00:11:50,630 --> 00:11:52,260 which is in this case Internet. 168 00:11:52,280 --> 00:11:57,040 And then the router will be able to forward it to the Internet and bring it back. 169 00:11:57,290 --> 00:11:59,270 OK so it's really important that you put first. 170 00:11:59,300 --> 00:12:01,400 And I found this on the gateway. 171 00:12:01,400 --> 00:12:04,080 In this case we have Internet to the gateway. 172 00:12:04,310 --> 00:12:08,480 So we go back to point number to put an IP address on it and that two of frother one. 173 00:12:08,480 --> 00:12:13,550 So if you look through the graph here now that is sort of the one we haven't I fathers of one have to 174 00:12:13,550 --> 00:12:16,480 say that one to the phone on the Internet to do that. 175 00:12:16,490 --> 00:12:26,210 And we'll go to IP others and then from here I will put the IP which is 1 9 2 1 6 8 to 1 on last 24. 176 00:12:26,270 --> 00:12:27,710 It used to be on the 177 00:12:32,010 --> 00:12:40,360 cell phone number two is Don one of these reconfigured router want to become a dish server and provide 178 00:12:40,510 --> 00:12:43,630 IP from the range of one or two and say the phone to this. 179 00:12:43,870 --> 00:12:49,150 So again now we have to make the conversation of want to be a server and then it will have a range of 180 00:12:49,150 --> 00:12:49,360 life. 181 00:12:49,380 --> 00:12:54,890 I wanted to save this one too dark for example to an iPhone to be able to provide. 182 00:12:54,910 --> 00:12:56,720 I gather from this range. 183 00:12:57,010 --> 00:13:05,310 It will go to Iraq and one on our closes and then from here I have to go to the there should be server. 184 00:13:05,370 --> 00:13:07,430 So that is where I have to go. 185 00:13:07,800 --> 00:13:11,800 And then on the issue here you have something called This should be set up. 186 00:13:11,820 --> 00:13:17,670 And that's really much easier to make it from here that you create yourself the pool and the network 187 00:13:17,670 --> 00:13:20,320 and so forth because it can create everything for you. 188 00:13:20,580 --> 00:13:27,520 So there should be stuff and from here they ask you OK you want upgraded the SEP server on which of 189 00:13:27,530 --> 00:13:32,540 the interfaces you want to create the DCP server remember you have to think on the interface which is 190 00:13:32,540 --> 00:13:38,080 the gateway in our case if we look through the graph that is not true and that's where I would die fathers 191 00:13:38,200 --> 00:13:40,200 one I don't say that one to do one. 192 00:13:40,510 --> 00:13:46,300 So I will select the next two and then I'll say next directly it will say OK I see all these and do 193 00:13:46,330 --> 00:13:48,630 you have an IP address from this rash. 194 00:13:48,830 --> 00:13:51,740 So that is the other space that you want to provide. 195 00:13:51,740 --> 00:13:52,520 I would say yes. 196 00:13:52,530 --> 00:13:59,130 Next and they ask you that you want to get to be one or two and take that one to that one which is the 197 00:13:59,240 --> 00:14:03,530 other side of it and two then I will say of course yes next. 198 00:14:03,840 --> 00:14:06,830 And here they ask you what is the range that you want. 199 00:14:07,080 --> 00:14:11,940 So you want the rush the staff for one or two that once you said that one to the two until one or two 200 00:14:11,940 --> 00:14:15,590 and say this one to that to 5 4 then you can say here. 201 00:14:15,690 --> 00:14:16,810 Yes. 202 00:14:16,890 --> 00:14:24,900 Or if you say well I want the first IP address that say from 1 to 2 I say that 1 to 2 1 and 2 and say 203 00:14:24,900 --> 00:14:25,910 that 1 to do that. 204 00:14:25,950 --> 00:14:32,280 I want them to be out of this range of pool and I want to assign for example I have a print printer 205 00:14:32,580 --> 00:14:39,600 that I have it that's like and that's what I want to put the picture before I have to jump or VoIP a 206 00:14:39,630 --> 00:14:41,890 server that I want to put that fixed IP to it. 207 00:14:42,000 --> 00:14:44,200 So you can choose for example. 208 00:14:44,250 --> 00:14:49,320 The idea is that you don't want to be provided and then you leave it for you for yourself to be able 209 00:14:49,320 --> 00:14:55,950 to assign it manually to some of the services that you have and be sure of a file server whatever you 210 00:14:55,950 --> 00:14:56,390 have. 211 00:14:56,550 --> 00:14:57,360 You can do that. 212 00:14:57,540 --> 00:14:58,920 But in my case I don't have that. 213 00:14:58,920 --> 00:15:01,190 I only have one property that I'm doing. 214 00:15:01,200 --> 00:15:03,920 As for the law now so I'll keep everything the same. 215 00:15:04,170 --> 00:15:10,940 And if you want also what you can do if you want if this IP you see that those IPs are all already fooled 216 00:15:11,200 --> 00:15:16,110 and you don't have any more space then you can create also another area and you can put another pool 217 00:15:16,110 --> 00:15:18,050 of IP addresses as well. 218 00:15:18,440 --> 00:15:18,840 OK. 219 00:15:18,900 --> 00:15:22,210 So in my case I will do this now as it is next. 220 00:15:22,530 --> 00:15:26,270 And the DNS servers in case you have to provide the Internet. 221 00:15:26,550 --> 00:15:31,380 And that's really all that you put the DNS server in my case I would add that they that they don't. 222 00:15:31,500 --> 00:15:35,930 So that's public the answer is that you can use on the internet I will you can't put them on again then 223 00:15:35,970 --> 00:15:38,580 has a folder to look up to. 224 00:15:38,610 --> 00:15:44,720 That's an idea also probably DNS server so you have DNS one and DNS to one day customer receive a dish 225 00:15:44,840 --> 00:15:50,150 B from the router one and then I'll say next time. 226 00:15:50,250 --> 00:15:56,210 So how long do you want the IP to be provided in this case for 10 hours. 227 00:15:56,340 --> 00:16:01,110 So the IP will stay for 10 hours and after 10 hours the process will start to get together. 228 00:16:01,110 --> 00:16:04,540 Another idea that is you can make it longer you can make it shorter. 229 00:16:04,560 --> 00:16:09,150 So I leave it as it is by default so I'll say next and that's it. 230 00:16:09,210 --> 00:16:16,860 So in this case what happens if I go to I'd be all against that. 231 00:16:16,940 --> 00:16:22,630 There is a day should people that has been created one or two once say that want to do something one 232 00:16:22,630 --> 00:16:29,680 or two and say they want to fight for and that's all of the others that will be provided to the customers 233 00:16:29,680 --> 00:16:33,770 when they connect to the DST the server requesting for a night out. 234 00:16:34,030 --> 00:16:34,810 OK. 235 00:16:34,840 --> 00:16:38,110 And here you can see the network as you can see here. 236 00:16:38,120 --> 00:16:44,860 These are the settings that I have just done now and one that we see that router to connect to the dish 237 00:16:44,950 --> 00:16:48,630 should be sure and get an eye for others to see that he would get these. 238 00:16:49,210 --> 00:16:55,480 OK now that is no communication between one of the two because we still need to set that out because 239 00:16:55,630 --> 00:16:56,550 that there should be one.