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.10
List Price:  €128.94
You save:  €36.84
£77.67
List Price:  £108.74
You save:  £31.07
CA$138.12
List Price:  CA$193.37
You save:  CA$55.25
A$152.38
List Price:  A$213.34
You save:  A$60.96
S$134.35
List Price:  S$188.10
You save:  S$53.74
HK$780.56
List Price:  HK$1,092.81
You save:  HK$312.25
CHF 88.35
List Price:  CHF 123.69
You save:  CHF 35.34
NOK kr1,098.66
List Price:  NOK kr1,538.17
You save:  NOK kr439.51
DKK kr687.32
List Price:  DKK kr962.28
You save:  DKK kr274.95
NZ$169.58
List Price:  NZ$237.42
You save:  NZ$67.84
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.91
৳11,746.62
List Price:  ৳16,445.74
You save:  ৳4,699.11
₹8,371.76
List Price:  ₹11,720.80
You save:  ₹3,349.03
RM465.70
List Price:  RM652
You save:  RM186.30
₦159,584.04
List Price:  ₦223,424.04
You save:  ₦63,840
₨27,830.93
List Price:  ₨38,964.42
You save:  ₨11,133.48
฿3,601.18
List Price:  ฿5,041.80
You save:  ฿1,440.62
₺3,299.80
List Price:  ₺4,619.86
You save:  ₺1,320.05
B$564.45
List Price:  B$790.25
You save:  B$225.80
R1,825.21
List Price:  R2,555.37
You save:  R730.15
Лв180.14
List Price:  Лв252.21
You save:  Лв72.06
₩138,584.75
List Price:  ₩194,024.19
You save:  ₩55,439.44
₪365.84
List Price:  ₪512.19
You save:  ₪146.35
₱5,843.06
List Price:  ₱8,180.52
You save:  ₱2,337.46
¥15,455.24
List Price:  ¥21,637.96
You save:  ¥6,182.71
MX$1,831.18
List Price:  MX$2,563.73
You save:  MX$732.54
QR364.64
List Price:  QR510.52
You save:  QR145.87
P1,361.94
List Price:  P1,906.78
You save:  P544.83
KSh13,073.69
List Price:  KSh18,303.69
You save:  KSh5,230
E£4,833.36
List Price:  E£6,766.90
You save:  E£1,933.54
ብር5,779.16
List Price:  ብር8,091.05
You save:  ብር2,311.89
Kz87,254.87
List Price:  Kz122,160.31
You save:  Kz34,905.44
CLP$94,704.52
List Price:  CLP$132,590.12
You save:  CLP$37,885.60
CN¥725.11
List Price:  CN¥1,015.19
You save:  CN¥290.07
RD$5,921.37
List Price:  RD$8,290.16
You save:  RD$2,368.78
DA13,436.79
List Price:  DA18,812.04
You save:  DA5,375.25
FJ$225.82
List Price:  FJ$316.16
You save:  FJ$90.33
Q775.39
List Price:  Q1,085.58
You save:  Q310.18
GY$20,916.55
List Price:  GY$29,284.01
You save:  GY$8,367.45
ISK kr13,788.62
List Price:  ISK kr19,304.62
You save:  ISK kr5,516
DH983.22
List Price:  DH1,376.54
You save:  DH393.32
L1,774.76
List Price:  L2,484.74
You save:  L709.97
ден5,676.16
List Price:  ден7,946.86
You save:  ден2,270.69
MOP$803.68
List Price:  MOP$1,125.18
You save:  MOP$321.50
N$1,847.94
List Price:  N$2,587.19
You save:  N$739.25
C$3,679.41
List Price:  C$5,151.32
You save:  C$1,471.91
रु13,388.03
List Price:  रु18,743.78
You save:  रु5,355.75
S/374.11
List Price:  S/523.77
You save:  S/149.65
K386.64
List Price:  K541.31
You save:  K154.67
SAR375.13
List Price:  SAR525.19
You save:  SAR150.06
ZK2,610.12
List Price:  ZK3,654.27
You save:  ZK1,044.15
L457.84
List Price:  L641
You save:  L183.15
Kč2,336.96
List Price:  Kč3,271.83
You save:  Kč934.87
Ft35,994.10
List Price:  Ft50,393.18
You save:  Ft14,399.08
SEK kr1,079.53
List Price:  SEK kr1,511.39
You save:  SEK kr431.85
ARS$92,940.28
List Price:  ARS$130,120.11
You save:  ARS$37,179.83
Bs690.73
List Price:  Bs967.06
You save:  Bs276.32
COP$404,134.11
List Price:  COP$565,803.93
You save:  COP$161,669.81
₡52,857.56
List Price:  ₡74,002.70
You save:  ₡21,145.14
L2,475.36
List Price:  L3,465.60
You save:  L990.24
₲758,175.48
List Price:  ₲1,061,476.01
You save:  ₲303,300.52
$U4,025.98
List Price:  $U5,636.54
You save:  $U1,610.55
zł393.60
List Price:  zł551.06
You save:  zł157.45
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.