WEBVTT

00:09.230 --> 00:10.580
Friends will come back.

00:10.580 --> 00:17.360
Welcome to another important section of discourse series in this section to talk about Nick good management

00:17.420 --> 00:18.210
in Linux.

00:18.230 --> 00:18.710
OK.

00:18.880 --> 00:19.150
OK.

00:19.160 --> 00:25.370
But for now in this lesson we're going to talk about how to configure the network interface.

00:25.370 --> 00:25.620
OK.

00:25.640 --> 00:30.760
We're going to talk about the network interface to a different IP address classes.

00:30.800 --> 00:32.430
All these basic things.

00:32.660 --> 00:34.150
So what is a netbook.

00:34.190 --> 00:34.740
OK.

00:34.940 --> 00:42.590
Then two or more computers are connected to each other to share in information so this is called as

00:42.590 --> 00:48.830
the network or given me connect two or more computers that each other to share information that is in

00:48.830 --> 00:50.230
a file folder.

00:50.270 --> 00:50.820
OK.

00:51.050 --> 00:52.500
That is called as a network.

00:52.520 --> 00:58.280
So there are different types of network that is lan than man.

00:58.410 --> 00:58.830
OK.

00:58.970 --> 01:06.710
So when we connect two or three four computers or any devices that is mobile device or any laptop with

01:06.710 --> 01:09.740
the network it's called as LAN.

01:09.740 --> 01:18.920
When two or more lines are connected to each other to share the information then this group or network

01:18.920 --> 01:24.050
is called lets van and insert different vans are connected to each other.

01:24.140 --> 01:32.220
It is called as man man stands for metropolitan area network LAN stands for local area network Canavan

01:32.260 --> 01:34.420
stands for Weidner.

01:34.520 --> 01:42.260
OK so in this very different computers are connected with each other with different types.

01:42.380 --> 01:48.030
OK so in the whole field all the computers are connected to each other.

01:48.050 --> 01:55.140
Why are such network to share information so such group of network is called as the Internet.

01:55.340 --> 02:01.940
Computers are identified on the internet with the help of an IP address given that the computers are

02:01.970 --> 02:05.050
on local network or they are on the Internet.

02:05.090 --> 02:07.930
They are identified with the help of an IP address.

02:07.940 --> 02:10.740
They are not identified based on their names.

02:10.820 --> 02:14.020
So IP addresses are used quite undefined.

02:14.020 --> 02:18.010
Computers are a device in the network.

02:18.200 --> 02:21.710
So here we're going to talk about the IP addresses.

02:21.740 --> 02:24.290
There are two types of veggies.

02:24.310 --> 02:24.830
OK.

02:25.010 --> 02:29.650
Number one is public IP address and number two is private IP address.

02:29.870 --> 02:36.960
So public IP addresses or do they pay addresses which are actually available on the internet means of

02:36.980 --> 02:42.170
any type of anymore by law or any computer you connected to the Internet.

02:42.200 --> 02:49.130
Then there is an public IP address with the help of which you are sharing the information or accessing

02:49.130 --> 02:51.080
an information with the world.

02:51.270 --> 02:51.730
OK.

02:51.930 --> 02:57.930
And it has happened to public IP address and private IP addresses local IP addresses.

02:57.950 --> 03:04.730
When you when you get an IP address or in connection from your internet service provider and you connect

03:05.180 --> 03:08.530
different devices different devices.

03:08.540 --> 03:14.900
Suppose you get an Internet connection from my internet service provider and you can take that connection

03:14.970 --> 03:22.200
to and routers so on the mobile devices that you are connecting to the router are assigned an private

03:22.340 --> 03:23.470
IP address.

03:24.080 --> 03:28.700
Those IP addresses are not accessible to the outside world.

03:28.790 --> 03:30.910
They are local to your network.

03:30.910 --> 03:31.280
OK.

03:31.430 --> 03:36.900
So thats how private IP addresses works and there are two types also.

03:37.040 --> 03:45.260
That is or you can call it as an protocol that is IPV for an IP This is so IPV for stands for Internet

03:45.260 --> 03:51.420
Protocol version for ok due to lack of IP addresses IP V-6 is interesting.

03:51.420 --> 03:54.760
OK so in this lesson we're going to talk about IPV for.

03:55.070 --> 04:00.260
So there are five classes of IPV for public IP addresses.

04:00.290 --> 04:03.560
OK here I'm going to show you all the IP address classes here.

04:03.800 --> 04:06.260
So the number one is class.

04:06.560 --> 04:16.960
So this class of course can range from one dot 0.0 got 1 1 2 6 4 2 5 5 5 2 5 4.

04:17.090 --> 04:17.690
OK.

04:17.750 --> 04:25.350
So this is how an IP address looks OK with these kinds of IP addresses you can connect to the world.

04:25.640 --> 04:36.620
And with glass you can support this range and it supports up to 16 million host on 127 networks.

04:36.650 --> 04:37.120
OK.

04:37.220 --> 04:40.180
So here you can see the number in the bracket.

04:40.280 --> 04:42.780
It supports that number of host.

04:42.830 --> 04:43.320
OK.

04:43.490 --> 04:45.700
On one the networks.

04:45.860 --> 04:49.700
So this is how the class in IP address works.

04:49.750 --> 04:50.270
OK.

04:50.480 --> 04:54.450
So there are different concepts of IP addressing networking.

04:54.530 --> 04:57.360
Those concepts are belonging to any classes.

04:57.360 --> 04:59.290
Again it is not an CCMA class.

04:59.480 --> 05:07.220
So I'm trying to teach you everything possible in a brief about all the networking concepts OK that

05:07.610 --> 05:11.130
will help you understand this section Okay.

05:11.390 --> 05:14.420
So here let's talk about the next class.

05:14.510 --> 05:18.230
Let this class be so Class B it support center.

05:18.290 --> 05:26.770
Range from one to got 1.0 not one up to 1 9 1 2 5 2 5 5 4.

05:27.020 --> 05:37.510
And this class supports up to 65000 Hurlstone 16000 net locks 16000 different networks.

05:37.520 --> 05:44.270
Now let's talk over the next class that is GLASSIE the class supports an IP range from 1 9 2.0.

05:44.270 --> 05:50.670
Not one not one you'll get to 3.5 are not too far forward of before.

05:50.790 --> 05:51.380
OK.

05:51.500 --> 05:57.180
And it's a pool subgroup good 2:54 who is up to two million networks.

05:57.220 --> 05:57.630
OK.

05:57.710 --> 06:01.480
In this way these three classes works.

06:01.520 --> 06:04.360
Let's talk about the next class that is Class D.

06:04.640 --> 06:13.260
This class supports an IP range from 2.2 4.00 or 0 2 2 3 9 2 5 5 5 5.

06:13.330 --> 06:13.810
OK.

06:13.940 --> 06:19.340
Separated by dots and these IP addresses are reserved for multicasting purposes.

06:19.490 --> 06:23.850
These IP addresses can not be used for home users.

06:23.900 --> 06:24.530
OK.

06:24.860 --> 06:37.410
Now glass in this glass of water an IP range from 2 4 0 0 0 0 0 to $54 255 or 255 254.

06:37.670 --> 06:44.510
And these IP addresses are reserved for future or experimental deals and these also cannot be used for

06:44.630 --> 06:47.800
home purposes or any kind of business purpose.

06:47.910 --> 06:48.380
OK.

06:48.500 --> 06:55.060
So in this way this public IP address is what the difference is that the number of force they support.

06:55.250 --> 06:55.990
OK.

06:56.420 --> 06:59.630
After discussing the public IP addresses.

06:59.630 --> 07:03.680
Now it's time to discuss something about private IP addresses.

07:03.830 --> 07:07.450
So these IP addresses are swiping three classes.

07:07.460 --> 07:16.850
That is classic private IP address GLASSIE supports this range that is then not zero got 0.0 and Dot

07:16.900 --> 07:20.130
255 are 255 not 255.

07:20.300 --> 07:20.810
OK.

07:21.060 --> 07:23.110
And the next class is Clasby.

07:23.120 --> 07:32.590
It supports a range from 1 7 2 door to 1 6 0 0 to 1 turn to dot 3 1 dot 255 not 255.

07:32.740 --> 07:45.760
And the next class C this class supports the IP range from 1 9 2 1 6 8 0 8 0 2 1 9 2 1 6 8 dot 255 255.

07:46.080 --> 07:46.550
OK.

07:46.760 --> 07:52.700
These IP addresses are assigned to the local devices by the Nikolic administrators.

07:52.910 --> 07:59.950
That means by you you can assign these IP addresses to your local devices to access the Internet.

08:00.170 --> 08:00.680
OK.

08:01.010 --> 08:07.210
And after learning about this private IP addresses there are loop back IP addresses.

08:07.310 --> 08:17.710
And these are having the range from 1 2 7 0 0 up to 1 2 7 2 5 5 5 5 5 5.

08:17.870 --> 08:24.550
And these are reserved for self-testing purpose means so you can bring it to your local host with the

08:24.550 --> 08:34.390
help of these IP addresses and a 1 2 7 0 0 1 IP address which is reserved on Windows or Linux machines.

08:34.620 --> 08:35.050
OK.

08:35.150 --> 08:37.130
For bringing in the host.

08:37.240 --> 08:37.630
OK.

08:37.760 --> 08:39.930
It is sort of by default.

08:40.020 --> 08:47.660
Now we're talking about loop back and there is a concept of subject must so subnet mask is used to convert

08:47.660 --> 08:55.640
an IP address into network and recent host address it is in 32 bit number which is used to convert an

08:55.640 --> 08:57.760
IP address into network address.

08:58.100 --> 08:58.600
OK.

08:58.670 --> 09:01.650
So there are three different subnet mask.

09:01.790 --> 09:02.350
OK.

09:02.570 --> 09:03.510
Which are used.

09:03.680 --> 09:04.000
OK.

09:04.010 --> 09:11.720
According to the classes so far Placide the subnet mask is two firefighters 0.0 got zero for class B

09:11.720 --> 09:21.320
it is 2 5 5 2 5 5 0 0 and 4 class C it is 2 firefighter 2 5 5 5 5 0 0 0 get in this way.

09:21.520 --> 09:26.840
This subnet must be used for dividing the IP address Internet and host.

09:26.930 --> 09:27.330
OK.

09:27.500 --> 09:35.660
So after learning all these things here I would like to show you how to manage the network interface

09:35.690 --> 09:38.000
in the Linux environment practically.

09:39.220 --> 09:46.830
OK here you can see we are logging here on or 2:59 was seventeen point four.

09:47.380 --> 09:54.250
So there is a network card which is present on you early next month and so we're going to see here how

09:54.250 --> 09:58.350
to configure that network card which is having an IP address.

09:58.360 --> 09:58.660
OK.

09:58.660 --> 10:05.410
We share all the information with the world or access the internet with the help of this network address.

10:05.440 --> 10:11.280
So here to show you how to identify the global interfaces on your network.

10:11.530 --> 10:11.850
OK.

10:11.860 --> 10:20.260
So if config is a command which is use to identify the available interfaces so here when I die it will

10:20.260 --> 10:22.380
reveal this information.

10:22.510 --> 10:30.190
Here you can see at the first line here it shows the interface name that is ENP zero history.

10:30.330 --> 10:36.460
And then it really is the IP address its network Moskva broadcast IP address here.

10:36.700 --> 10:40.310
Display them to you that is Magsman transmission unit.

10:40.510 --> 10:41.140
OK.

10:41.350 --> 10:43.320
It really is their hardware address.

10:43.330 --> 10:47.010
It really is lots of information here about the interface.

10:47.010 --> 10:50.800
Ok at the bottom it really is to look back interface OK.

10:51.130 --> 11:01.840
So after I define all this information if you want to know all the EC2 deactivate their interfaces then

11:01.840 --> 11:04.760
just type hyphen in and hit enter.

11:04.780 --> 11:08.690
This will reveal all the interfaces which are active and inactive.

11:08.920 --> 11:16.930
OK that will come on shows the EC2 interfaces modren your type hyphenate then it triggers all the interface

11:16.930 --> 11:17.930
information.

11:18.130 --> 11:20.950
OK you can already Sybylla interface.

11:20.960 --> 11:29.510
So in order to be civil just type here if config interface name it can be zero.

11:30.450 --> 11:31.530
OK.

11:31.800 --> 11:32.690
Done.

11:33.280 --> 11:38.550
OK you need sudo X sudo OK.

11:38.670 --> 11:45.010
And now can get here you and see it does not showing us the interface.

11:45.300 --> 11:45.600
OK.

11:45.600 --> 11:52.940
In this way you can disable an interface and if you wan to a new interface just type up OK.

11:53.250 --> 11:57.200
In this way can hit enter again.

11:57.340 --> 11:58.270
Config.

11:58.530 --> 12:02.170
OK and here ENP zero is reasonable.

12:02.260 --> 12:05.520
Ok now how to set an IP address.

12:05.550 --> 12:09.300
OK here you can see is having an IP address then not zero.

12:09.410 --> 12:14.880
You got 15 or so you said IP address flossed here.

12:15.030 --> 12:22.650
Sudo then ifconfig an interface name that is in the 0 3.

12:22.810 --> 12:25.270
OK here they perjuries that one.

12:25.440 --> 12:27.090
So I want to change it.

12:27.090 --> 12:31.330
Good God I was going to go again and again.

12:31.870 --> 12:39.990
Now see here you can see the IP addresses change these IP address that is said you can't change the

12:39.990 --> 12:43.360
network mossed with the help of the system on.

12:43.370 --> 12:45.530
So just type Nic mosque.

12:45.600 --> 12:46.250
OK.

12:46.530 --> 12:51.270
And we learn that a homemade mosque can be set.

12:51.270 --> 12:54.130
So 10.0 not good but aren't too easy.

12:54.140 --> 12:56.680
Class one level IP address.

12:56.750 --> 13:02.630
Ok but here I want to set it class C level subnet mask here.

13:03.120 --> 13:07.570
2:55 got to define.

13:07.950 --> 13:09.870
Got zero OK here.

13:10.100 --> 13:17.490
Above you can see it is a classical one or class Eliel subnet mask and that is 2:55 not zero not 0.0.

13:17.510 --> 13:19.300
What I am going to set here.

13:19.320 --> 13:20.850
Class C.

13:21.190 --> 13:29.250
Now if config and here again see class C level subnet mask is set and there you can see at the next

13:29.250 --> 13:35.730
stop they must broadcast IP addresses there you can also sit and broadcast IP address just replace the

13:35.740 --> 13:42.260
subnet mask with broadcast and you consider IP address here.

13:42.500 --> 13:51.930
OK in this way you can use ifconfig come on to a certain IP mask broadcast IP address hooking all these

13:51.930 --> 13:52.820
things.

13:52.920 --> 13:55.060
You can also say I can give you.

13:55.080 --> 13:59.600
That is the maximum transmission unit of your network.

13:59.610 --> 14:06.200
So here I want to set it to 4000 here against your will.

14:06.610 --> 14:07.670
Fifteen hundred.

14:07.790 --> 14:08.230
OK.

14:08.340 --> 14:10.770
So I want to set it to 4000.

14:11.020 --> 14:13.200
And now lets see if Confect.

14:13.320 --> 14:20.090
OK now it's set to 4000 in this way you can set the maximum transmission unit.

14:20.270 --> 14:20.720
OK.

14:20.810 --> 14:22.750
Now let's talk about probably small.

14:22.910 --> 14:28.860
OK here let me show you how to enable the problem is more when you enable the promise more your network

14:28.860 --> 14:31.440
card is going to receive all the packets.

14:31.470 --> 14:35.250
OK you can learn online about promised more in detail.

14:35.360 --> 14:35.840
OK.

14:36.030 --> 14:39.960
So here let me show you how to enable it if you want to.

14:40.060 --> 14:54.710
Well they promised more just type ifconfig is can be zero history and then promise OK here spelling

14:54.710 --> 14:55.930
mistake.

14:56.300 --> 14:57.430
Now I don't know.

14:57.440 --> 14:59.530
Our problem is more reasonable.

14:59.840 --> 15:05.640
And if you want to disable this small just here iPhone and hit enter.

15:05.690 --> 15:12.090
Now the problem is more is discovered and this way you can enable and disable the promise more.

15:12.440 --> 15:16.620
OK the next thing that I would like to show you is how to set the McAndrews.

15:16.850 --> 15:19.390
What does mac address Mac stands for.

15:19.390 --> 15:23.200
Media Access Control and design hardware address.

15:23.320 --> 15:27.060
How get this off your network card and it is permanently mounted.

15:27.070 --> 15:28.340
You cannot change it.

15:28.490 --> 15:33.660
You can't change it completely but you cannot turn this at risk permanently.

15:33.920 --> 15:39.530
So you can set the hardware address here with the help of this ifconfig come on.

15:39.530 --> 15:45.220
So here what you need to do is you need to provide this information like this.

15:45.260 --> 15:50.460
That is Seurat configured for interface name then which w what hardware.

15:50.720 --> 15:53.020
The tower and there.

15:53.020 --> 15:57.700
Here you need to set this hardware address so here.

15:57.880 --> 16:08.090
Sabol you can see there is it here 0 8 0 0 2 7 3 0 6 9 is it is the hardware grids of our local.

16:08.090 --> 16:09.410
What a tool that will gag.

16:09.560 --> 16:32.350
So I want to play this 0 2 0 0 2 7 8 8 3 1 and here 6 5 0 and it's confect now here and see our hardware

16:32.410 --> 16:34.940
address is replaced with the new one.

16:35.080 --> 16:35.540
OK.

16:35.680 --> 16:39.530
So in this way you can see it in hardware Aggers of your network card.

16:39.610 --> 16:39.870
OK.

16:39.880 --> 16:43.010
But it is changed it temporarily not permanently.

16:43.180 --> 16:43.710
OK.

16:43.960 --> 16:51.870
After performing on the operations I would like to show you some other commands that is if open it down.

16:51.910 --> 16:55.610
These are used to enable and disable an interface.

16:55.960 --> 17:02.010
So to stay sudo if it is used to up an interface.

17:02.080 --> 17:03.220
OK.

17:03.360 --> 17:11.660
If you don't use use to download interface so you're in the zero state.

17:11.890 --> 17:19.470
And he didn't no ordinary cookies down here you can say OK.

17:20.240 --> 17:25.080
And if you want to abandon that goal just type folk and the interface name

17:28.310 --> 17:28.730
OK.

17:28.770 --> 17:36.080
Now let's take it this way you can and it will end miscible the interfaces.

17:36.150 --> 17:37.560
Well for this to come on.

17:37.590 --> 17:38.090
OK.

17:38.310 --> 17:42.890
So we learn how to manage the network interface in this.
