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
€92.16
List Price:  €129.04
You save:  €36.87
£78.95
List Price:  £110.53
You save:  £31.58
CA$136.82
List Price:  CA$191.55
You save:  CA$54.73
A$150.88
List Price:  A$211.24
You save:  A$60.35
S$134.99
List Price:  S$189
You save:  S$54
HK$780.84
List Price:  HK$1,093.20
You save:  HK$312.36
CHF 92.16
List Price:  CHF 129.04
You save:  CHF 36.87
NOK kr1,065.65
List Price:  NOK kr1,491.95
You save:  NOK kr426.30
DKK kr688.26
List Price:  DKK kr963.60
You save:  DKK kr275.33
NZ$163.32
List Price:  NZ$228.66
You save:  NZ$65.33
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳11,714.86
List Price:  ৳16,401.27
You save:  ৳4,686.41
₹8,305.04
List Price:  ₹11,627.39
You save:  ₹3,322.35
RM470.40
List Price:  RM658.58
You save:  RM188.18
₦146,115.27
List Price:  ₦204,567.22
You save:  ₦58,451.95
₨27,783.57
List Price:  ₨38,898.11
You save:  ₨11,114.54
฿3,658.80
List Price:  ฿5,122.47
You save:  ฿1,463.66
₺3,219.48
List Price:  ₺4,507.41
You save:  ₺1,287.92
B$516.66
List Price:  B$723.35
You save:  B$206.68
R1,841.76
List Price:  R2,578.54
You save:  R736.77
Лв180.52
List Price:  Лв252.74
You save:  Лв72.21
₩136,656.33
List Price:  ₩191,324.33
You save:  ₩54,668
₪366.73
List Price:  ₪513.44
You save:  ₪146.71
₱5,819.86
List Price:  ₱8,148.04
You save:  ₱2,328.18
¥15,692.92
List Price:  ¥21,970.72
You save:  ¥6,277.79
MX$1,669.81
List Price:  MX$2,337.80
You save:  MX$667.99
QR364.18
List Price:  QR509.87
You save:  QR145.68
P1,356.93
List Price:  P1,899.76
You save:  P542.82
KSh13,033.20
List Price:  KSh18,247
You save:  KSh5,213.80
E£4,712.01
List Price:  E£6,597.01
You save:  E£1,884.99
ብር5,738.47
List Price:  ብር8,034.09
You save:  ብር2,295.62
Kz84,827.41
List Price:  Kz118,761.77
You save:  Kz33,934.36
CLP$90,869.43
List Price:  CLP$127,220.83
You save:  CLP$36,351.40
CN¥710.97
List Price:  CN¥995.39
You save:  CN¥284.42
RD$5,881.38
List Price:  RD$8,234.17
You save:  RD$2,352.78
DA13,438.44
List Price:  DA18,814.36
You save:  DA5,375.91
FJ$226.74
List Price:  FJ$317.44
You save:  FJ$90.70
Q775.80
List Price:  Q1,086.15
You save:  Q310.35
GY$20,895.31
List Price:  GY$29,254.27
You save:  GY$8,358.96
ISK kr13,791.40
List Price:  ISK kr19,308.52
You save:  ISK kr5,517.11
DH996.21
List Price:  DH1,394.74
You save:  DH398.52
L1,771.78
List Price:  L2,480.57
You save:  L708.78
ден5,676.40
List Price:  ден7,947.19
You save:  ден2,270.78
MOP$803.71
List Price:  MOP$1,125.23
You save:  MOP$321.51
N$1,835.52
List Price:  N$2,569.81
You save:  N$734.28
C$3,675.86
List Price:  C$5,146.35
You save:  C$1,470.49
रु13,281.76
List Price:  रु18,594.99
You save:  रु5,313.23
S/373.37
List Price:  S/522.73
You save:  S/149.36
K388.13
List Price:  K543.39
You save:  K155.26
SAR375.02
List Price:  SAR525.04
You save:  SAR150.02
ZK2,665.60
List Price:  ZK3,731.94
You save:  ZK1,066.34
L458.57
List Price:  L642.02
You save:  L183.44
Kč2,271.01
List Price:  Kč3,179.50
You save:  Kč908.49
Ft35,372.15
List Price:  Ft49,522.43
You save:  Ft14,150.27
SEK kr1,086.34
List Price:  SEK kr1,520.92
You save:  SEK kr434.58
ARS$88,911.95
List Price:  ARS$124,480.29
You save:  ARS$35,568.34
Bs690.12
List Price:  Bs966.19
You save:  Bs276.07
COP$386,435.76
List Price:  COP$541,025.52
You save:  COP$154,589.76
₡51,204.17
List Price:  ₡71,687.89
You save:  ₡20,483.71
L2,468.08
List Price:  L3,455.41
You save:  L987.33
₲751,203.84
List Price:  ₲1,051,715.43
You save:  ₲300,511.59
$U3,849.38
List Price:  $U5,389.29
You save:  $U1,539.90
zł392.63
List Price:  zł549.70
You save:  zł157.07
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.