DHCP IPv4 Lab

14 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€96.05
List Price:  €134.47
You save:  €38.42
£78.28
List Price:  £109.60
You save:  £31.31
CA$143.28
List Price:  CA$200.59
You save:  CA$57.31
A$160.13
List Price:  A$224.20
You save:  A$64.06
S$135.03
List Price:  S$189.05
You save:  S$54.02
HK$777
List Price:  HK$1,087.84
You save:  HK$310.83
CHF 88.49
List Price:  CHF 123.89
You save:  CHF 35.40
NOK kr1,126.80
List Price:  NOK kr1,577.57
You save:  NOK kr450.76
DKK kr717.22
List Price:  DKK kr1,004.14
You save:  DKK kr286.92
NZ$176.87
List Price:  NZ$247.63
You save:  NZ$70.75
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,929.84
List Price:  ৳16,702.26
You save:  ৳4,772.41
₹8,538.94
List Price:  ₹11,954.85
You save:  ₹3,415.91
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,544.52
List Price:  ₦216,368.52
You save:  ₦61,823.99
₨27,792.76
List Price:  ₨38,910.97
You save:  ₨11,118.21
฿3,416.65
List Price:  ฿4,783.45
You save:  ฿1,366.80
₺3,519.17
List Price:  ₺4,926.99
You save:  ₺1,407.81
B$637.56
List Price:  B$892.61
You save:  B$255.05
R1,874.85
List Price:  R2,624.87
You save:  R750.01
Лв188
List Price:  Лв263.20
You save:  Лв75.20
₩145,711.39
List Price:  ₩204,001.77
You save:  ₩58,290.38
₪364.90
List Price:  ₪510.87
You save:  ₪145.97
₱5,865.41
List Price:  ₱8,211.81
You save:  ₱2,346.40
¥15,715.92
List Price:  ¥22,002.92
You save:  ¥6,286.99
MX$2,016.21
List Price:  MX$2,822.78
You save:  MX$806.56
QR363.08
List Price:  QR508.32
You save:  QR145.24
P1,386.50
List Price:  P1,941.15
You save:  P554.65
KSh12,902.70
List Price:  KSh18,064.30
You save:  KSh5,161.60
E£5,082.90
List Price:  E£7,116.27
You save:  E£2,033.36
ብር12,710.92
List Price:  ብር17,795.80
You save:  ብር5,084.87
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$98,919.10
List Price:  CLP$138,490.70
You save:  CLP$39,571.60
CN¥729.82
List Price:  CN¥1,021.78
You save:  CN¥291.96
RD$6,081.12
List Price:  RD$8,513.82
You save:  RD$2,432.69
DA13,508.78
List Price:  DA18,912.83
You save:  DA5,404.05
FJ$231.84
List Price:  FJ$324.58
You save:  FJ$92.74
Q768.97
List Price:  Q1,076.59
You save:  Q307.62
GY$20,886.35
List Price:  GY$29,241.72
You save:  GY$8,355.37
ISK kr13,953.60
List Price:  ISK kr19,535.60
You save:  ISK kr5,582
DH1,006.73
List Price:  DH1,409.47
You save:  DH402.73
L1,841.91
List Price:  L2,578.75
You save:  L736.83
ден5,908.74
List Price:  ден8,272.47
You save:  ден2,363.73
MOP$798.63
List Price:  MOP$1,118.11
You save:  MOP$319.48
N$1,856.28
List Price:  N$2,598.86
You save:  N$742.58
C$3,673.45
List Price:  C$5,142.98
You save:  C$1,469.52
रु13,596.38
List Price:  रु19,035.48
You save:  रु5,439.09
S/371.74
List Price:  S/520.45
You save:  S/148.71
K405.18
List Price:  K567.27
You save:  K162.09
SAR375.47
List Price:  SAR525.68
You save:  SAR150.20
ZK2,762.82
List Price:  ZK3,868.06
You save:  ZK1,105.23
L478.38
List Price:  L669.75
You save:  L191.37
Kč2,417.95
List Price:  Kč3,385.23
You save:  Kč967.27
Ft39,478.73
List Price:  Ft55,271.81
You save:  Ft15,793.07
SEK kr1,088.11
List Price:  SEK kr1,523.40
You save:  SEK kr435.29
ARS$102,698.50
List Price:  ARS$143,782.01
You save:  ARS$41,083.50
Bs689.84
List Price:  Bs965.80
You save:  Bs275.96
COP$441,236.66
List Price:  COP$617,748.98
You save:  COP$176,512.31
₡50,688.88
List Price:  ₡70,966.47
You save:  ₡20,277.58
L2,536.46
List Price:  L3,551.14
You save:  L1,014.68
₲778,577.57
List Price:  ₲1,090,039.75
You save:  ₲311,462.17
$U4,443.67
List Price:  $U6,221.32
You save:  $U1,777.64
zł409.39
List Price:  zł573.17
You save:  zł163.77
Already have an account? Log In

Transcript

Well welcome everyone to the DHCP IP version four, switch live. So now we're not doing a DHCP server on the router, but on a layer three switch, always pretty much the same. So a couple things you got to do, as you can see, yeah, you can see, I have a combination of layer three and layer two switches. So those are a couple things that we got to do in order for the two PCs below. For them to receive an IP address, now want to make sure that these PCs as we knew their addresses, that they get people's. Alright.

And the ACP is not new to us, at least for now, for some of us, I mean, if you're in the ccmp switch, you've gone through the CCNA you've gone to the ccmp route. I'm sure you've done DHCP on routers before. So it's pretty much Fiddler is pretty much similar on the layer three switch. Now obviously, the way that we're going to create this gonna be through VLANs. So we have separate broadcast domains. And we need to eyes as usual, we're going to create the VLANs on the core router, then we need that means that we need to have we need to trunk ports 22 and 23.

Right. And then we need to turn the, which is your car called the corporate as well. It could be your core distribution, what have you. They're both together now anyway. And then on your access layer switches, there'll be turned into VTP client mode, it'll turn the BGP into client mode. So we'll take it a step at a time.

We'll start with the core switch first. So let's go ahead and do this. I want to click on the course which I'm going to maximize this so you can see. All right, so Alright, so first, give it a name. So we know what we're dealing with. So hostname Core.

Okay, and our core core doesn't matter are just the hostname. So one of the first things I want to do, or enable IP routing, in case you want to use any routing protocols or what have you, even though that wouldn't be the case here, because it's directly connected anyway. But for whatever reason we need to route IP routing is on. Now let's go ahead and create the VLANs. So we're going to create the BNF we're gonna have VLAN 100. And we're gonna name it CLR 100 for classroom 100 VLAN 200.

Name CLR 200. Pretty simple, pretty straightforward. Not a big deal. I would do show VLAN brief. And it's a good you know, social and VLAN and they start seeing every last thing on there. Just take a look there, your VLANs right there.

So what we're going to do now is we're going to create the VTP domain VTP This domain was okay, so that's the VTP domain. And then we need to trunk the ports. In this case we're, we're trunking the ports going down to the access switches. Now remember, this is a layer three switch, so it's not normally switch port trunk. So when you do the in range command, F Zero slash 22 through 23. You're going to do switch port trunk encapsulation dot one Q, I not remember I'll give you an error.

And then you can do your switch port mode. trunk, and then your port the trunk. So what did we do? We created the VLANs. We created a VTP domain, and then we actually trunk the ports. Now let's go ahead and let's configure the DHCP server.

So it's no big deal. Just like normal IP DHCP pool, and we will pool for the VLAN 100. Okay, and you have your usual commands that you will for DHCP. So the default router for this is going to be 192 dot 168 dot 100 dot 253. And the network is going to be 192 dot 168 dot 100 dot 0255255255 dot zero. Now you're probably saying where's this guy getting all these numbers wrong?

Hey allows for the top of my head, whatever, you know it's easy slash 24 network, so it's no big deal. So we created the pool. So let's create the pool for at least for the 100 Let's do a pool now. For the hours let's go back and go forwards again. No, I'm just saying all the way I guess. The ACB the HCP DHCP Wow, such a good real time type DHCP pool And that's called VLAN 200.

I same exact thing befall router 192 dot 168 dot 200 253 and then the network is going to be 192 dot 168 dot 200 dot 02552552550 Okay, and that's done so we're gonna do is now is the exclusions, the exclusions, exclusions first you can do it you know afterwards like I'm doing right now so it really doesn't really matter IP DHCP was put see first TCP IP address of course is gonna be the router 192168 or the layer three right acting as a router when I 2168 or 100 253 it's going to all barrel and do 100 200 dot 253 now I haven't put in any of the IP addresses for These particular VLANs so you need to go into the VLAN interface a VLAN 100. Okay, and then put IP address. This is the default gateway 192 dot 168 192 dot 168 dot 102 532-552-5525 to zero, right and then we're gonna go into a notion even though I said it turned on, I'm gonna do a no show anyway, just in case it's VLAN 200.

Okay, and we'll do the same thing IP address and we look at the 104 hundred percents, we're going to go back and change that 192168 that's 4125 202 5325 525-255-2550. All right. So let's go back into VLAN 100. And we're just going to Take it out, just in case in the lobby for any house one. Who's gonna take it out? One No, no problem.

Really? Okay. IP address 192 dot 168 dot 102 53255255255 dot zero, enter. Do Wr. So that's the DHCP server. Let's take a look at our configurations.

Just do a show start or short run whatever makes you happy. Okay, here are extra addresses 100, that 253 and 253. Here's our pool, the 100 dot zero, the whole entire network, and there's a gateway address right there. All right, and we've enabled IP routing. Doo doo doo doo doo doo doo doo doo. You go down, you go down, you go down.

Oh, we see our two trunk ports right there. And he Here we go, we have VLAN 100, we have the IP address a 1253 is what it should be. And VLAN 200. There's the IP address there, and we've turned them on. So we should be good to go. Alright, but now just because we did that in layer three doesn't mean it's automatically gonna magically going to come down.

Now we got to configure these switches down here. Alright, because we got tournament two clients. So let's maximize that. All right, and as I saw down, down it goes with a trunk. So we're going to do is name this VLAN 100 config T. Host? host name.

VLAN 100. All right, so we're gonna do VTP mode for client, right? And let's see what happens. Show. VLAN do show VLAN. Brief.

All right, and there's our two VLANs that came down. Awesome. Do show VTP That you see the work line, there's Laz, right? That's our domain. All right, so now we're gonna assign ports, assigned that VLAN to those ports is the 100. So we're gonna go int range, F Zero slash one, dash 15.

And I want to do switch, Port mode, access, and then switch. Port Access VLAN 100. Okay, but when I done, even though they're part of that VLAN, they're still not gonna get an IP address, because they need a default gateway. There's no IP address on this switch. So we need to make sure there's an IP address on here. So we're gonna put the IP default gateway as 192 dot 168 dot 100 253 correct for VLAN 100 Which is this particular switch, that's what it's for.

We're going to put in an IP address to make it part of the same network IP address 192 dot 168 dot 100 252 255-255-2550. Now some of you might be wondering, hey, why didn't you then put that as an excluded dress? I should have, I should have but I know the ACP started by 1234. Why have you so I know that if I assign a 250 tour dress, I'm not concerned about that. Now in the end VLAN 100 I am going to do a no shot even though I said it, did it. I'm just like that.

Okay, so I believe we should be good to go. So we should take a look at our let's go do it. Let's do w our probably our stuff. Always, always remember to copy, copy, run, start right or w or whatever the ledger doing the test. And then things change day to day. she'll start All right here we got our VLANs on our ports.

Awesome, awesome, awesome. Nothing, nothing. There we go. You know what this IP address, there's our IP address for VLAN 100. And here we got the default gateway. Awesome.

All right, and we do a show in trunk. And we see that we're trying to we wouldn't be strong, none of that stuff will come down. So let's see here. This guy's getting an IP address. And you got 106 Okay, wow, okay. 100 105 by receiving an IP address, and you see the default gateway is 253.

So we're good to go there. So let's go to the other one. Now that she always makes sure he has no IP address, let's get rid of that. Oh, he's got it people Cool. Cool, or sad? You can network with people.

I don't know what happened there. You don't know what were the people. Okay. enabled config T, false name. This VLAN 200 members switch the VTP mode to clients so VTP mode client Okay, let's do show VLAN brief There's our VLANs right there are some so we're going to do end range F Zero slash one i mean you know by now these this ports I was used I so switch port mode access, switch port access VLAN 200 in this case Okay, so now they're part of that so now we're going to give the IP address correct IP default gateway 192 dot 168 dot 200 dot 253 and then int VLAN 200 All right, and as your IP address one IP address the network when I choose 168 dot 202 522 552-552-5550 and we're not sure anyway, I will make sure that nothing goes wrong. We don't do our Ctrl Z.

So we should be good to go. We assign the VLANs as you can see here. Alright, there's a solid VLANs. Okay. And there's our IP address right there for the VLAN 200. There's our default gateway.

And we do a show in trunk because I know you didn't see that port trunk. There's the four of those automatically trunk for the one above. We should be receiving an IP address or an ipv4 address from that DHCP server on top. And let's renew it. And there you go. He gave a little one about that.

One it wants to say 200 dot one, and then you got the right default gateway. Cool. And that's all Is this pretty much the same, there's only a couple extra steps because of the trunk and the way that I do the VLANs, which is on the central switch, let the VLANs come down because I created VTP domain, I sought out a trunk the ports, and then you want to put the access layer switches on the same network and give it a default gateway, which in this case, is that layer three switch. That's it, you're good to go and your IP addresses, obviously, you know, always as well to the switch. Well that's it. Very simple, very easy to do.

There's a couple more steps here in there. But as far as the creating the DHCP server for IP version four, same deal, same deal, not just on a switch See you in the next

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.