1 00:00:00,580 --> 00:00:01,330 Great. 2 00:00:01,330 --> 00:00:05,410 So we attach Carly to our network physically. 3 00:00:05,770 --> 00:00:10,570 Now we have to make the configurations to make Carly a part of Vlan ten. 4 00:00:12,940 --> 00:00:17,500 So as you can see here, my collie is not running at the moment. 5 00:00:17,590 --> 00:00:21,520 I'll go to switches console to configure the connection. 6 00:00:22,520 --> 00:00:25,430 It'll be similar to the configurations of the VPC. 7 00:00:26,650 --> 00:00:28,240 Type conf. 8 00:00:28,270 --> 00:00:28,810 T. 9 00:00:30,050 --> 00:00:32,240 To enter the configured terminal mode. 10 00:00:33,060 --> 00:00:42,390 And then int F13 to configure the interface fast Ethernet 1/3, which is used for Kali. 11 00:00:43,350 --> 00:00:47,010 We have seen these before, so I'll just go through it quickly. 12 00:00:47,040 --> 00:00:47,940 Switchport. 13 00:00:47,940 --> 00:00:48,990 Mode access. 14 00:00:50,920 --> 00:00:53,290 Switchport Access Vlan ten. 15 00:00:54,960 --> 00:00:55,320 No. 16 00:00:55,320 --> 00:00:57,060 Shut down Exit. 17 00:00:57,570 --> 00:00:58,920 Exit again. 18 00:00:58,950 --> 00:01:03,750 Go to the route and to write the configuration to make it persistent. 19 00:01:04,230 --> 00:01:05,190 Okay. 20 00:01:05,310 --> 00:01:12,180 To check the current situation of the interfaces, we can now use show IP interface brief. 21 00:01:17,000 --> 00:01:20,780 Here's the interface of Kali Fast Ethernet 1/3. 22 00:01:20,960 --> 00:01:23,150 It's supposed to be up as shown here. 23 00:01:23,510 --> 00:01:29,500 However, if you've stopped the switch and started it again, your interface is probably down for now. 24 00:01:29,510 --> 00:01:36,680 As you can see here, my fast Ethernet 1/4 interface is up, which is supposed to be down because nothing 25 00:01:36,680 --> 00:01:37,890 is connected to it. 26 00:01:37,910 --> 00:01:42,350 So I added another VM and removed it while I wasn't recording. 27 00:01:42,620 --> 00:01:44,220 That's why it looks like this. 28 00:01:44,240 --> 00:01:47,480 So let's restart the switch. 29 00:01:48,080 --> 00:01:55,550 What's expected at the end is your Kali port will be up and my F14 port will be down. 30 00:01:56,360 --> 00:02:05,120 So right click on Switch, select, stop and right click again and select Start Switch is up. 31 00:02:05,360 --> 00:02:07,910 Let's look at the interfaces again. 32 00:02:08,090 --> 00:02:09,229 Open Console. 33 00:02:09,889 --> 00:02:11,720 The switch is initializing. 34 00:02:19,890 --> 00:02:21,900 Show IP Interface brief. 35 00:02:23,880 --> 00:02:26,460 And as you see fast Ethernet one three. 36 00:02:26,490 --> 00:02:29,730 The interface of my Kali is up as expected. 37 00:02:29,970 --> 00:02:37,740 F14 was up before the restart and it's down now and that's the expected result to. 38 00:02:38,530 --> 00:02:42,850 So I suppose your Carly port was down before the restart and it's up now. 39 00:02:42,850 --> 00:02:46,090 If not, just go back and do the steps again. 40 00:02:47,090 --> 00:02:50,870 So now let's go to Cali and configure it. 41 00:02:51,080 --> 00:02:57,680 Since we don't have a Dhcp in our network, we have to assign the IP addresses for the nodes of the 42 00:02:57,680 --> 00:02:59,030 network manually. 43 00:02:59,420 --> 00:03:05,690 So right click on Cali and select start and Cali is started and it's initializing. 44 00:03:09,480 --> 00:03:11,340 Log in with root user. 45 00:03:11,340 --> 00:03:16,170 My password is still t or okay. 46 00:03:16,200 --> 00:03:20,070 First, I want to check the network interface inside Kali. 47 00:03:20,840 --> 00:03:26,620 On the upper right corner, right click to the network icon and eith zero is selected. 48 00:03:26,630 --> 00:03:28,130 That's exactly what I want. 49 00:03:29,070 --> 00:03:30,570 Now to double check. 50 00:03:30,660 --> 00:03:33,660 I'll go to the network interface from VMware menu. 51 00:03:33,660 --> 00:03:37,740 And yep, there it is in custom mode, just as I wanted. 52 00:03:39,420 --> 00:03:46,780 Now, as I mentioned before, we have to assign the IP address, subnet mask, gateway, etcetera manually. 53 00:03:46,800 --> 00:03:53,790 So open a terminal and we'll use ifconfig to configure eth0. 54 00:03:54,920 --> 00:03:55,340 All right. 55 00:03:55,340 --> 00:04:03,620 So if config the interface either zero the IP address for Carly, I'll choose 192.168.10.3. 56 00:04:04,270 --> 00:04:05,470 Subnet mask. 57 00:04:05,470 --> 00:04:11,650 255.255.255.0 and hit Enter now to check the network. 58 00:04:11,650 --> 00:04:13,500 Let's ping the router first. 59 00:04:13,510 --> 00:04:19,329 It was 192.168.10.1 and yep, there it is. 60 00:04:19,329 --> 00:04:22,270 We got the reply packets and that's a good thing. 61 00:04:23,410 --> 00:04:27,730 Now you can use control C to quit the ping command. 62 00:04:28,470 --> 00:04:31,320 So let's ping another device in the same network. 63 00:04:31,350 --> 00:04:35,850 The VPC, its IP was 10.2. 64 00:04:35,880 --> 00:04:36,930 Excellent. 65 00:04:37,170 --> 00:04:37,950 Right. 66 00:04:38,870 --> 00:04:44,750 So now just to triple check, let me go to the VPC and ping Cali from there. 67 00:04:48,670 --> 00:04:50,770 The IP of Kali is 10.3. 68 00:04:50,800 --> 00:04:51,400 Perfect. 69 00:04:51,400 --> 00:04:53,890 And we've got the reply packets to prove it. 70 00:04:54,550 --> 00:04:56,890 Let's go for a quadruple check. 71 00:04:56,920 --> 00:04:59,590 Okay, so I'll go to the Router's console and ping Kali. 72 00:05:04,140 --> 00:05:06,090 The success rate is 100%. 73 00:05:06,090 --> 00:05:12,450 So as you see, the ping result is given in a different format and the router and then the result is 74 00:05:12,450 --> 00:05:14,700 again, just as we expected.