- In this video, we are going to talk about networking.
So in the end, it's all about the internet, right?
Let's say that this thing here,
cloud-like shape is the internet.
Everybody wants to go to the internet
and in order to go to the internet,
well, you need a router to be taking care of the connection.
The router is a device
in a network that exists on your local network
and behind the router, there is your local network.
Let me use a different color for the local network.
And this local network, maybe a simple network,
where your nodes are connected to directly.
A node is any device that has an IP address
and it can look like this.
A local network might also be a little bit more complicated
where another router is involved,
and where another network is connecting
with nodes by themselves as well.
Now, on these nodes, you need your IP configuration.
IP, the internet protocol.
It's the default protocol that you are going to use
to get to the network.
Now, what exactly do we need?
Well, let's say that we are configuring this node.
And on this node you would need an IP address.
The IP address would look
like 192.168.1.12/24, for instance.
The /24 in the IP address is an identifier
of the part of the IP address that is used for the network.
So /24 means that the first three digits
of the IP address are used for the network.
And that means that you can say that this node
is on the network 192.168.1.0/24.
And it would also mean that this node and this node
have an IP address that starts also with 192.168.1,
followed by anything.
The next thing that you would need
in your node configuration is the IP address of the router.
So this router here is identified as well 192.168.1.254,
for instance, very often the router
is using the last IP address that is available
in the byte, 254 is commonly used.
You might see one as well, that's the default route
or the default gateway that you need to configure.
And the last part that plays a role
is the DNS configuration.
Now, what is DNS?
DNS is about domain name resolution.
It's about using names instead of IP addresses.
And if you don't have a DNS server,
you can still communicate to nodes on the internet
but you would need to know the IP addresses of all of them.
That's not doable.
And that is why you would typically provide the IP address
of a DNS name server as well.
And if that is working successfully,
you can get access to everybody on the entire internet.