Hello everyone.
Welcome to this lecture.
In this lecture we are learning networking basics.
Let's get started.
Understanding network components in war before we go ahead an understanding this infrastructure we will
understand what is network IP subnet IP classes.
Put protocol service name on private IP public IP private subnet and public subnet understanding.
These analogies are really important to understand the interest section in obvious
let's say you have software which is named as a that is of a more server which is named as B if the
server A and B needs to be communicated each other to access that data.
These missions should be configured to the IP address if the machines are able to communicate each other
to actions.
The data is called as the network that both machines will be identified as the IP address in the given
network
in the same way.
Let's say you have another server which is named as C. That is it.
One more server which is named as d if C. under the machines needs to be a communicator each other to
access the data.
These two systems also should be configured to give an IP address when both machines are in a communication
is called as a network which is named as network to
192 168 were not an IP is mentioned in the book networks the IP addresses should be in school in the
given network but the same IP can be used in the other networks as there is no communication between
the network one on a network to the IP addresses can be duplicated in the other networks but make sure
that the IP is not duplicated in a given network that mentioned IP addresses are in a decimal format.
This is called IP watching for IP before IP addresses are having four octaves.
It's octet is the range of 0 to 254 in the decimal format that given decimal IP will be converted into
the binary format by the server automatically in the back and
when we look at the IP address in the binary format the link to the IP address is 32 bit hence we call
this IP address is the latter be linked of ip for ip address
listed under this scenario.
We have a few more systems which are named as E F G H.
And when you look at the IP addresses of these machines emission is identified as one entry to 168 or
not them and G machine is identified as one entry to 168.
10
when we look at these servers each server is identified to the IP address on the given network name.
Let's say the emission is identified as 190 to 168 was not done in network 1 C. missing is identified
as 190 to 168 were not done in network 2.
That means having the IP address is not enough to identify the server it is also required the network
name or network already to identify the server.
As because IP addresses might be duplicated in other networks in order to reach the server e we need
to reach the network one then reached the one ninety two 168 were not an IP that the calling that network
as a name.
Let's get started understanding the network I.D. the machines are in the network name called 1 9 2 2
168 1 not Judo in the same way G and.
Machines are identified in the given network on that network idea is one entity 168 2.0 when we call
the network idea as 192 168 1.0 the first three octaves are having the numbers and the lost octet is
having digital that means in the given IP address the first three octaves are used to identify the network
name and last octet is used to to identify the hostname
hence the first network IP is labeled as one ninety two 168 wondered Judas less 24 24 cluster to what
a presence that in a given IP address how many a number of which are used to identify the network already
the rest of the bits are used to identify the system in the given network in the same way the second
network is identified as one.
168.
Not good.
Judas restaurant 24 is mean that the starting 3 optics of the IP address is used to identify the network
name and the lost octet is used to identify the system name.
That means that 192 dot 168 not ten is the IP which is in one entry to dot 168.
Not to that due to network in the same way one entry to dot 168 dot not due to is the IP which is in
one ninety two not 168 not one not due to network
without understanding the server is in which network systems cannot become the greater
how many number of octaves are usually or how many number of bits are used to identify the network portion
is mentioned as SLAs 24 here when we look at the different examples if the given IP in SLAs 24 network
is called as it plus the IP address if the given IP address is in SLAs 16 range then is called as a
class B IP address if the given IP address is in just a network then is called as a plus a network here
the slash 24 or less sixteen or less it is call as a SCADA notation see the transfer clusters enter
domain voting system when we understand the communication between G on machines one machine has to initiate
a connection to the other party the server or the system which is initiating that connection is called
as a cloud machine and the server which is receiving the request and establishing the connection is
called as a server if planned on servers has to be communicated each other then the plant has to send
the request in a specified protocol protocol is just a set of rules follow in order to send the messages
from the plant machine to the server machine which is in an understandable way by the server
when the client is sending a request to the server using the specified set of rules is called as a protocol
then a server said there should be a process which is consuming this particular request unprocessed
also there are multiple processes are available in the server said to handle various other requests
hence the client has to specify the request should be delivered a set of asset on which put number when
the client is sending the request to the port number 22 then the server said the service which is running
which is responsible for the port number twenty two will be receiving the request and it will respond
back to the plant accordingly that means when the client is initiating the connection to the server
it is the client responsibility to send the misses having a request plus destination IP address and
the protocol and the port number as well so that the client the question will how the request details
on the destination IP and the misses is sending in which protocol and that message has to be good deliver
to the which port number so that in the server side the process of the service the demo on which we
call it as who is responsible for the port number twenty two will be receiving the request and will
respond back to the client
let's say we have a server in USA but the client was accessing this server is in Bangalore then the
client has to connect to the server hatch which is an ESU over the Internet.
If the client has to connect to the server which isn't you see over the Internet and then the server
should have a public IP.
The client also should have your public IP public IP is the IP address which is accessible over the
Internet.
So that the plane can connect to the head server using the public IP.
This is the time to understand the table as well.
Let's say the server is connected with two of the daughters.
Each order is identified to the specified IP address which are called as 192 168 to rock 1 and 192 168
2 2
if the server wants to communicate with the clan machine the head server has to deliver the packet to
one of these rotors.
But how the server will know that the data has to be get delivered to which it alters available to the
authors connected to the same server.
Hence we need to have a table in place on the table make sure that access to the server then when server
wants to communicate to the destination server it will look at the raw table which is attached to the
server.
And if the destination is 190 to 168 to that then then the packet will be delivered to the 192 168 2.0
rotor
if the destination is not three not 92 dot 181 dot 95 which is the plant IP of the good location then
the server will deliver the packet to the 192 168 correct one daughter aspect that all table rota is
also treated as a gateway in this example one entry to 168 to rotten and 192 168 to the county or call
as a private APIs as because these two APIs can be reachable over the local network through the gateway
190 to 168 do that too but the IP is not three dot 91 dot 180 dot on our tree and one of three dot 92
dot 181 dot 95 are called as a public APIs as these APIs require internet connectivity to communicate
each other this is differentiating what is the meaning of private IP and what is the meaning of public
IP
on one entry to dot 168 not good our judo is called as a private network or private subnet if there
are multiple servers in the same private network then even we can have a table operated with the destination
as a network already in this case it is possible to mention the destination as one entry to dot 168
dot dot Judas last twenty four as a destination on the packet will be get delivered to the target gateway
to 192 dot 168 not to the to.
That means if the server wants to delivery any packet to the server which is falling under 192 168 2.0
network it will use the gateway call one entry to dot one sixty eight dot to the two
this examples are making more understandable what network IP subnet IP pluses port protocol service
private IP public IP private subnet public subnet that table
if you have any questions still feel free to explore further and make sure you have a good understanding
of these networking basics before we head over to the networking section in the area please.
That's it for this election we'll see you in the next exit.
Thank you.