1 00:00:12,830 --> 00:00:15,230 So here's the Estrada. 2 00:00:20,230 --> 00:00:22,600 Show IP interface brief. 3 00:00:27,210 --> 00:00:30,330 No IP address is configured on this interface. 4 00:00:30,990 --> 00:00:37,080 So interface gigabit 00/1 IP address DHCP. 5 00:00:38,560 --> 00:00:40,210 I'll save the config. 6 00:00:40,420 --> 00:00:45,610 Notice the writer has been assigned an IP address through DHCP. 7 00:00:46,630 --> 00:00:49,420 So show IP interface brief. 8 00:00:50,600 --> 00:00:52,760 Radha has got this IP address. 9 00:00:54,220 --> 00:00:59,090 So can the router ping google 82.82.8.8. 10 00:00:59,110 --> 00:01:00,070 Yes it can. 11 00:01:00,220 --> 00:01:02,380 Can it ping cisco dot com? 12 00:01:04,440 --> 00:01:06,450 And the answer is yes, it can. 13 00:01:07,200 --> 00:01:11,850 It's been allocated a default route to the Internet. 14 00:01:12,700 --> 00:01:22,120 Through DHCP and it can ping swisscom because it's been told the DNS server through DHCP. 15 00:01:22,750 --> 00:01:29,740 But what we now need to do is configure Nat on the router to allow devices on the internal network to 16 00:01:29,740 --> 00:01:31,030 access the internet. 17 00:01:31,990 --> 00:01:40,630 So to do that, I'm going to configure gigabyte zero, slash zero, slash one as the outside NAT interface 18 00:01:41,290 --> 00:01:47,290 and gigabit 00/0 as the Nat inside interface. 19 00:01:48,940 --> 00:01:55,600 And then we need to use the command IP net inside source list. 20 00:01:55,900 --> 00:02:04,960 We're going to point it to an access list, access list one and we're going to NAT all traffic to interface 21 00:02:04,960 --> 00:02:09,550 gigabit is 001 and we're going to overload it. 22 00:02:09,580 --> 00:02:18,220 Don't forget to enable overloading or pat and then I'm going to create an access list, one which will 23 00:02:18,220 --> 00:02:20,230 permit all traffic. 24 00:02:20,350 --> 00:02:24,430 So anyone in the internal network will be netted. 25 00:02:24,670 --> 00:02:27,760 You could limit that in the exam. 26 00:02:27,760 --> 00:02:32,220 Read carefully to see what they ask you to net. 27 00:02:32,230 --> 00:02:37,000 They may say only net the subnet or net another subnet. 28 00:02:37,090 --> 00:02:40,810 So be careful which subnets they tell you to net. 29 00:02:42,140 --> 00:02:43,460 On PC one. 30 00:02:44,480 --> 00:02:50,750 I previously configured this PC to use Google as the DNS server. 31 00:02:53,370 --> 00:02:55,600 So can we ping Cisco qcom. 32 00:02:55,920 --> 00:02:57,300 It's taking its time. 33 00:02:57,630 --> 00:02:59,370 Doesn't look like it at the moment. 34 00:02:59,820 --> 00:03:02,520 So let's test connectivity. 35 00:03:03,320 --> 00:03:06,290 On coal to. 36 00:03:08,340 --> 00:03:13,020 So what I'll do on code two is configure IP domain lookup. 37 00:03:16,380 --> 00:03:20,760 And I'll specify the name server as Google. 38 00:03:23,630 --> 00:03:25,040 Show IP rant. 39 00:03:25,220 --> 00:03:27,230 We don't have a default route. 40 00:03:28,210 --> 00:03:30,970 So we can't ping the Internet. 41 00:03:35,180 --> 00:03:37,190 But back on the Estrada. 42 00:03:39,860 --> 00:03:45,650 We can inject a default route now on OSPF and other routing protocols. 43 00:03:45,740 --> 00:03:53,540 You would use the command default information originate, but configuring default gateways in air copy 44 00:03:53,600 --> 00:03:55,430 can be a bit more complex. 45 00:03:56,590 --> 00:04:02,920 It's out of the scope of the CCNA course, but I'm going to show it to you here so that you can see 46 00:04:02,920 --> 00:04:06,130 how to inject a default route into the network. 47 00:04:06,520 --> 00:04:11,440 We need to do that because the two core switches don't know how to get to the Internet. 48 00:04:11,680 --> 00:04:16,930 They need to be configured to use the ISR as the default gateway. 49 00:04:18,350 --> 00:04:24,350 Now the way to do this in ERP is to redistribute a default route. 50 00:04:24,710 --> 00:04:34,250 We do have this route showing up that was allocated via DHCP as the route is acting as a DHCP client. 51 00:04:34,700 --> 00:04:41,690 So I'm going to use the command redistribute static and I have to specify a seed metric and you can 52 00:04:41,690 --> 00:04:43,820 specify sort of any values here. 53 00:04:44,240 --> 00:04:46,100 But I'm going to specify. 54 00:04:47,030 --> 00:04:51,080 Common values used in a lot of redistribution examples. 55 00:04:51,960 --> 00:04:58,350 So show IP route on the local router shows this a default gateway. 56 00:04:59,390 --> 00:05:04,070 Show IPR, GOP database or topology. 57 00:05:06,550 --> 00:05:12,630 Shows us that we have that default route in the topology database. 58 00:05:12,640 --> 00:05:20,290 The values that we need to specify are bandwidth delay, reliability load and empty you. 59 00:05:20,680 --> 00:05:28,240 So you have to specify a seed value or a starting value for routes that are redistributed into IGP or 60 00:05:28,240 --> 00:05:31,330 taken from other writing protocols into IGP. 61 00:05:33,430 --> 00:05:36,160 So on, call to the call switch. 62 00:05:36,160 --> 00:05:39,180 We didn't have a static default route. 63 00:05:39,190 --> 00:05:41,440 We didn't have a gateway of last resort. 64 00:05:42,070 --> 00:05:50,170 But now we do notice we suddenly have a default route and a gateway of last resort configured. 65 00:05:51,130 --> 00:05:57,340 So previously, before we redistributed static routes, this course which didn't have a default gateway, 66 00:05:57,550 --> 00:06:01,720 didn't know about a static default route, but now it does. 67 00:06:02,170 --> 00:06:04,600 So can it ping the DNS server now. 68 00:06:04,600 --> 00:06:05,710 Yes, it can. 69 00:06:05,710 --> 00:06:07,960 Can it ping Cisco dot com? 70 00:06:07,960 --> 00:06:09,100 Yes, it can. 71 00:06:09,820 --> 00:06:11,800 What about on core one. 72 00:06:12,460 --> 00:06:17,050 So in call one ping cisco dot com. 73 00:06:17,770 --> 00:06:20,200 We need to configure a DNS server. 74 00:06:21,530 --> 00:06:23,120 So firstly IP. 75 00:06:25,000 --> 00:06:31,240 Domain lookup to tell the router to do domain name resolutions or domain lookups. 76 00:06:32,140 --> 00:06:33,490 IP Name Server. 77 00:06:33,580 --> 00:06:36,490 The DNS server that will use is Google. 78 00:06:37,120 --> 00:06:40,720 So can the switch now ping cisco dot com? 79 00:06:40,750 --> 00:06:41,800 Yes, it can. 80 00:06:42,730 --> 00:06:49,320 That's because it's learnt the default route through ERP. 81 00:06:49,510 --> 00:06:53,440 The default gateway or gateway of last resort is the ESR. 82 00:06:53,890 --> 00:07:00,340 We also configured it to use domain lookup and a DNS server. 83 00:07:00,730 --> 00:07:05,770 Domain lookups may be turned off in your lab or in the exam. 84 00:07:06,130 --> 00:07:13,360 Make sure that you use the command IP domain lookup if required and a name server so that you can test 85 00:07:13,360 --> 00:07:14,740 name resolutions. 86 00:07:15,040 --> 00:07:17,110 So on PC two is an example. 87 00:07:17,200 --> 00:07:18,550 Go to command prompt. 88 00:07:18,910 --> 00:07:23,020 Can the pc ping cisco dot com? 89 00:07:23,680 --> 00:07:27,400 Now the PC is configured with a default gateway. 90 00:07:29,570 --> 00:07:31,820 So ping Cisco dot com. 91 00:07:32,570 --> 00:07:34,400 It did resolve which is great. 92 00:07:34,490 --> 00:07:37,400 And notice the PC can ping cisco dot com. 93 00:07:37,700 --> 00:07:40,040 What about PC three? 94 00:07:44,170 --> 00:07:46,180 Can it ping Cisco dot com. 95 00:07:48,370 --> 00:07:51,220 We do have a DNS server configured. 96 00:07:52,410 --> 00:07:57,600 It took it a while but it did resolve and it can ping Cisco dot com. 97 00:07:58,860 --> 00:08:03,300 Now this is a complicated setup and there are a lot of steps to make it work. 98 00:08:03,900 --> 00:08:12,150 But hopefully you've learnt a practical example of how to configure networks for the CCNA exam. 99 00:08:12,600 --> 00:08:19,110 We configured many things here, we configured VLANs, we configured IP addressing, we configured HSP, 100 00:08:19,110 --> 00:08:22,020 we configured ERP, we configured NAT. 101 00:08:22,740 --> 00:08:28,080 This is hopefully a very comprehensive lab that has allowed you to use multiple technologies working 102 00:08:28,080 --> 00:08:32,220 together to see how it actually works in a live environment.