1 00:00:11,430 --> 00:00:18,660 So, again, in this topology, we need to configure DHCP on router 1. Here's router 1 2 00:00:20,890 --> 00:00:29,980 IP addresses configured on router 1 are 10.1.1.254 on gigabit0/0/0 and we 3 00:00:29,980 --> 00:00:35,000 have this loopback address configured. In global configuration mode 4 00:00:35,020 --> 00:00:48,700 we need to configure a DHCP excluded range so IP DHCP excluded address range 10.1.10.1 to 10.1.10. 5 00:00:49,300 --> 00:00:49,810 10. 6 00:00:50,930 --> 00:00:57,030 That completes the exclusion of the first 10 IP addresses for VLAN 10. 7 00:00:58,010 --> 00:01:01,550 I need to do something similar for VLAN 20. 8 00:01:03,900 --> 00:01:06,840 And now we can create DHCP pools. 9 00:01:08,160 --> 00:01:11,400 The first pool is gonna be called VLAN 10. 10 00:01:13,360 --> 00:01:23,290 The network is gonna be 10.1.10.0 with a /24 mask, the default router is gonna 11 00:01:23,290 --> 00:01:24,320 be the switch. 12 00:01:25,000 --> 00:01:32,650 Now, we need to know what the IP address is of the switch. On the switch show, IP interface, brief 13 00:01:34,990 --> 00:01:36,100 scrolling down 14 00:01:36,100 --> 00:01:38,140 we can see that on VLAN 10 15 00:01:38,830 --> 00:01:42,870 this is the IP address of the switch and this is the IP address on VLAN 20. 16 00:01:43,450 --> 00:01:46,870 So we need to configure the switch as the default gateway. 17 00:01:48,210 --> 00:01:50,850 So that would be 10.1.10.1 18 00:01:53,110 --> 00:01:59,940 again, per this IP address configured on VLAN 10 on the switch. 19 00:02:00,830 --> 00:02:03,820 We're told that the DNS server needs to be the router. 20 00:02:04,240 --> 00:02:15,760 So DNS server 10.1.10.254 again do show IP interface brief shows us that this is the IP address of 21 00:02:15,790 --> 00:02:17,230 the router. 22 00:02:17,770 --> 00:02:19,180 So I've done that wrong. 23 00:02:19,930 --> 00:02:23,620 That needs to be 10.1. 24 00:02:24,700 --> 00:02:27,410 1.254. 25 00:02:28,450 --> 00:02:30,190 So let's look at our configuration. 26 00:02:31,520 --> 00:02:36,130 There's the first DHCP pool network, looks correct 27 00:02:36,970 --> 00:02:46,000 default gateway is the switch DNS server is the router. In your exam use show run 28 00:02:46,240 --> 00:02:53,560 if the command is supported in your simulations to check your work, make sure you haven't made a mistake 29 00:02:53,680 --> 00:02:54,520 like I did. 30 00:02:56,280 --> 00:03:07,260 The next DHCP pool that we need to configure is VLAN 20, the network here will be 10.1.20.0 31 00:03:09,570 --> 00:03:13,580 default router will be 10.1.20.1. 32 00:03:14,880 --> 00:03:24,060 Again, we can see that on the switch by using the show IP interface, brief command, or show run. 33 00:03:24,690 --> 00:03:29,040 Scroll down and we can see the IP address on VLAN 20. 34 00:03:31,160 --> 00:03:39,560 DNS server 10.1.1.254 which is the router once again show run allows us to check 35 00:03:39,560 --> 00:03:40,790 our configuration. 36 00:03:41,560 --> 00:03:42,750 That looks good. 37 00:03:43,580 --> 00:03:52,760 Let's make sure that we can ping the switch, which has IP address 10.1.1.1 on VLAN 1 ping 38 00:03:52,760 --> 00:03:56,640 succeeds again on the switch. 39 00:03:56,810 --> 00:03:58,370 There's the IP address on VLAN 40 00:03:58,370 --> 00:04:05,780 1 will show IP Interface Brief would allow us to see the IP address on VLAN 1. 41 00:04:06,590 --> 00:04:07,980 If you're not sure about that 42 00:04:08,000 --> 00:04:10,470 have a look at your lab topology. 43 00:04:11,300 --> 00:04:16,769 You could either use show CDP neighbors to confirm whether things are working right. 44 00:04:17,810 --> 00:04:20,089 In this example, CDP wasn't enabled. 45 00:04:22,930 --> 00:04:25,310 In the exam, you may not be able to do that. 46 00:04:25,370 --> 00:04:26,930 So have a look at your topology. 47 00:04:27,790 --> 00:04:30,460 Have a look at the running configuration. 48 00:04:30,880 --> 00:04:39,490 We can see here that that interface hasn't got VLANs configured, so it belongs to VLAN 1 49 00:04:40,390 --> 00:04:49,000 or we could use this command show interface gigabit101 switch port to see which VLAN this 50 00:04:49,000 --> 00:04:50,070 interface belongs to. 51 00:04:50,770 --> 00:04:54,820 You can see it belongs to VLAN 1 show 52 00:04:55,060 --> 00:05:00,580 CDP neighbor, hopefully at some point will show us a neighbor relationship. 53 00:05:00,580 --> 00:05:02,500 We can see on the router as an example 54 00:05:03,640 --> 00:05:15,460 that the switch is connected via gigabit101 to the router on gigabit0/0/0. 55 00:05:16,600 --> 00:05:23,290 So we've confirmed the cabling and we can ping the switch. Now 56 00:05:24,330 --> 00:05:31,510 we've configured DHCP on the router, but the router is separated by a layer 3 switch. 57 00:05:31,950 --> 00:05:39,030 We need to do some configuration on the switch to allow DHCP request messages to be forwarded to the 58 00:05:39,030 --> 00:05:39,510 router. 59 00:05:40,140 --> 00:05:43,590 So now we need to do some configuration on the switch to enable that. 60 00:05:44,310 --> 00:05:51,390 So don't forget that in some of these labs you have to do configuration on multiple devices.