Friends will come back.
Welcome to another important section of discourse series in this section to talk about Nick good management
in Linux.
OK.
But for now in this lesson we're going to talk about how to configure the network interface.
OK.
We're going to talk about the network interface to a different IP address classes.
All these basic things.
So what is a netbook.
OK.
Then two or more computers are connected to each other to share in information so this is called as
the network or given me connect two or more computers that each other to share information that is in
a file folder.
OK.
That is called as a network.
So there are different types of network that is lan than man.
OK.
So when we connect two or three four computers or any devices that is mobile device or any laptop with
the network it's called as LAN.
When two or more lines are connected to each other to share the information then this group or network
is called lets van and insert different vans are connected to each other.
It is called as man man stands for metropolitan area network LAN stands for local area network Canavan
stands for Weidner.
OK so in this very different computers are connected with each other with different types.
OK so in the whole field all the computers are connected to each other.
Why are such network to share information so such group of network is called as the Internet.
Computers are identified on the internet with the help of an IP address given that the computers are
on local network or they are on the Internet.
They are identified with the help of an IP address.
They are not identified based on their names.
So IP addresses are used quite undefined.
Computers are a device in the network.
So here we're going to talk about the IP addresses.
There are two types of veggies.
OK.
Number one is public IP address and number two is private IP address.
So public IP addresses or do they pay addresses which are actually available on the internet means of
any type of anymore by law or any computer you connected to the Internet.
Then there is an public IP address with the help of which you are sharing the information or accessing
an information with the world.
OK.
And it has happened to public IP address and private IP addresses local IP addresses.
When you when you get an IP address or in connection from your internet service provider and you connect
different devices different devices.
Suppose you get an Internet connection from my internet service provider and you can take that connection
to and routers so on the mobile devices that you are connecting to the router are assigned an private
IP address.
Those IP addresses are not accessible to the outside world.
They are local to your network.
OK.
So thats how private IP addresses works and there are two types also.
That is or you can call it as an protocol that is IPV for an IP This is so IPV for stands for Internet
Protocol version for ok due to lack of IP addresses IP V-6 is interesting.
OK so in this lesson we're going to talk about IPV for.
So there are five classes of IPV for public IP addresses.
OK here I'm going to show you all the IP address classes here.
So the number one is class.
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.
OK.
So this is how an IP address looks OK with these kinds of IP addresses you can connect to the world.
And with glass you can support this range and it supports up to 16 million host on 127 networks.
OK.
So here you can see the number in the bracket.
It supports that number of host.
OK.
On one the networks.
So this is how the class in IP address works.
OK.
So there are different concepts of IP addressing networking.
Those concepts are belonging to any classes.
Again it is not an CCMA class.
So I'm trying to teach you everything possible in a brief about all the networking concepts OK that
will help you understand this section Okay.
So here let's talk about the next class.
Let this class be so Class B it support center.
Range from one to got 1.0 not one up to 1 9 1 2 5 2 5 5 4.
And this class supports up to 65000 Hurlstone 16000 net locks 16000 different networks.
Now let's talk over the next class that is GLASSIE the class supports an IP range from 1 9 2.0.
Not one not one you'll get to 3.5 are not too far forward of before.
OK.
And it's a pool subgroup good 2:54 who is up to two million networks.
OK.
In this way these three classes works.
Let's talk about the next class that is Class D.
This class supports an IP range from 2.2 4.00 or 0 2 2 3 9 2 5 5 5 5.
OK.
Separated by dots and these IP addresses are reserved for multicasting purposes.
These IP addresses can not be used for home users.
OK.
Now glass in this glass of water an IP range from 2 4 0 0 0 0 0 to $54 255 or 255 254.
And these IP addresses are reserved for future or experimental deals and these also cannot be used for
home purposes or any kind of business purpose.
OK.
So in this way this public IP address is what the difference is that the number of force they support.
OK.
After discussing the public IP addresses.
Now it's time to discuss something about private IP addresses.
So these IP addresses are swiping three classes.
That is classic private IP address GLASSIE supports this range that is then not zero got 0.0 and Dot
255 are 255 not 255.
OK.
And the next class is Clasby.
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.
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.
OK.
These IP addresses are assigned to the local devices by the Nikolic administrators.
That means by you you can assign these IP addresses to your local devices to access the Internet.
OK.
And after learning about this private IP addresses there are loop back IP addresses.
And these are having the range from 1 2 7 0 0 up to 1 2 7 2 5 5 5 5 5 5.
And these are reserved for self-testing purpose means so you can bring it to your local host with the
help of these IP addresses and a 1 2 7 0 0 1 IP address which is reserved on Windows or Linux machines.
OK.
For bringing in the host.
OK.
It is sort of by default.
Now we're talking about loop back and there is a concept of subject must so subnet mask is used to convert
an IP address into network and recent host address it is in 32 bit number which is used to convert an
IP address into network address.
OK.
So there are three different subnet mask.
OK.
Which are used.
OK.
According to the classes so far Placide the subnet mask is two firefighters 0.0 got zero for class B
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.
This subnet must be used for dividing the IP address Internet and host.
OK.
So after learning all these things here I would like to show you how to manage the network interface
in the Linux environment practically.
OK here you can see we are logging here on or 2:59 was seventeen point four.
So there is a network card which is present on you early next month and so we're going to see here how
to configure that network card which is having an IP address.
OK.
We share all the information with the world or access the internet with the help of this network address.
So here to show you how to identify the global interfaces on your network.
OK.
So if config is a command which is use to identify the available interfaces so here when I die it will
reveal this information.
Here you can see at the first line here it shows the interface name that is ENP zero history.
And then it really is the IP address its network Moskva broadcast IP address here.
Display them to you that is Magsman transmission unit.
OK.
It really is their hardware address.
It really is lots of information here about the interface.
Ok at the bottom it really is to look back interface OK.
So after I define all this information if you want to know all the EC2 deactivate their interfaces then
just type hyphen in and hit enter.
This will reveal all the interfaces which are active and inactive.
OK that will come on shows the EC2 interfaces modren your type hyphenate then it triggers all the interface
information.
OK you can already Sybylla interface.
So in order to be civil just type here if config interface name it can be zero.
OK.
Done.
OK you need sudo X sudo OK.
And now can get here you and see it does not showing us the interface.
OK.
In this way you can disable an interface and if you wan to a new interface just type up OK.
In this way can hit enter again.
Config.
OK and here ENP zero is reasonable.
Ok now how to set an IP address.
OK here you can see is having an IP address then not zero.
You got 15 or so you said IP address flossed here.
Sudo then ifconfig an interface name that is in the 0 3.
OK here they perjuries that one.
So I want to change it.
Good God I was going to go again and again.
Now see here you can see the IP addresses change these IP address that is said you can't change the
network mossed with the help of the system on.
So just type Nic mosque.
OK.
And we learn that a homemade mosque can be set.
So 10.0 not good but aren't too easy.
Class one level IP address.
Ok but here I want to set it class C level subnet mask here.
2:55 got to define.
Got zero OK here.
Above you can see it is a classical one or class Eliel subnet mask and that is 2:55 not zero not 0.0.
What I am going to set here.
Class C.
Now if config and here again see class C level subnet mask is set and there you can see at the next
stop they must broadcast IP addresses there you can also sit and broadcast IP address just replace the
subnet mask with broadcast and you consider IP address here.
OK in this way you can use ifconfig come on to a certain IP mask broadcast IP address hooking all these
things.
You can also say I can give you.
That is the maximum transmission unit of your network.
So here I want to set it to 4000 here against your will.
Fifteen hundred.
OK.
So I want to set it to 4000.
And now lets see if Confect.
OK now it's set to 4000 in this way you can set the maximum transmission unit.
OK.
Now let's talk about probably small.
OK here let me show you how to enable the problem is more when you enable the promise more your network
card is going to receive all the packets.
OK you can learn online about promised more in detail.
OK.
So here let me show you how to enable it if you want to.
Well they promised more just type ifconfig is can be zero history and then promise OK here spelling
mistake.
Now I don't know.
Our problem is more reasonable.
And if you want to disable this small just here iPhone and hit enter.
Now the problem is more is discovered and this way you can enable and disable the promise more.
OK the next thing that I would like to show you is how to set the McAndrews.
What does mac address Mac stands for.
Media Access Control and design hardware address.
How get this off your network card and it is permanently mounted.
You cannot change it.
You can't change it completely but you cannot turn this at risk permanently.
So you can set the hardware address here with the help of this ifconfig come on.
So here what you need to do is you need to provide this information like this.
That is Seurat configured for interface name then which w what hardware.
The tower and there.
Here you need to set this hardware address so here.
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.
What a tool that will gag.
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
address is replaced with the new one.
OK.
So in this way you can see it in hardware Aggers of your network card.
OK.
But it is changed it temporarily not permanently.
OK.
After performing on the operations I would like to show you some other commands that is if open it down.
These are used to enable and disable an interface.
So to stay sudo if it is used to up an interface.
OK.
If you don't use use to download interface so you're in the zero state.
And he didn't no ordinary cookies down here you can say OK.
And if you want to abandon that goal just type folk and the interface name
OK.
Now let's take it this way you can and it will end miscible the interfaces.
Well for this to come on.
OK.
So we learn how to manage the network interface in this.