Hello everyone they just might have that here again.
And this first lab I'm going to speak about DHC so why it's important to understand what this issue
is when you are in Ashby.
You may be providing internet service using the DST.
OK that means that when a customer would like to get Internet service from you then you have your DST
server configured on your router on the ISP.
And from this router you will send an IP address with the subnet mask and the gateway and everything
to the domestic life which is in this case the customer.
And then he's able to be connected to the Internet.
So understanding what the issue should be is and how it works is very important.
Before we start implementing this on our real ISP.
So in this first lap I'm going to explain to you what are the packets that are sent between the DCP
server and the.
There should be clients and then we're going to make the lab and show you how we can create and configured
to be sober and how with the router which is normally should be the customer wrapper can get that either
from your Mike Crapo which is the DHP server.
So as you can see here we have six months to follow but before following those spots let me just make
for you a brief explanation of what you are going to do and that what are the type of package that are
used in the dish to be in order to understand it better than we would do them actually.
So as you can see that is my network diagram I have my computer which is connected to Router one on
the interface you can get one and router one has it and connectivity with the router to using the interfaces
and two on each of the routers.
Ok now I'm going to use as I said Janissary for the slap.
I'm not going to tell you how you can shut up tree and that it work with my critic because that's out
of the scope of this course.
But of course if you would like to know more than you can check I have some other course that is only
speaking about how you can set up my critique on janissary.
OK.
So the idea is the following.
I've connected now from my PC to router 1 and 2 router to our inbox.
OK.
So the idea is I want to configure the D should be server on that either.
So this kind of the dish to the server and on the router to go to country to speak live.
And when I finish the configuration what will happen that when I configured there should be server router
one I would create the pool of IP addresses so the IP addresses will be for example because we're using
one I don't to say that one.
So there's going to be one or two and take that one to.
Who want it or say that one two the three four until two five four.
So this is the people that I with great insight there should be shover in my cases.
The one that one rattled to when I got the router to I will enable the should be client on the net too.
So when I enabled the should be Can I go on the internet too.
And as both are connected to the same cable then in this case the router to get an IP address on the
Internet do from the range of IP addresses that I have created on the server and the pool of the server
on top that one.
OK.
So this is the idea what I'm going to do with this.
But before I start doing the boss.
Let me just explain to you the communication that happens between the server and indeed the client in
the background so thats something we don't see that's only happening in the background between the should
be sure and they should be.
So let's consider that we have created the HTP server on the router one and we created the there should
be client on router.
OK.
So when you make enable of the dish decline or out to on the Internet to then hear the process stop
of the communication between Rothera one another.
So first thing the router do will send something called there should be this call.
OK.
They should be discovered.
So rather do we send it to Rothera.
So you say hey hello.
I am now asking for an IP address and that is I discover I'm sending this to anyone in the network in
our case is directly connected to the router.
But it may happen that this router and all that is connected to a switch.
And on the switch there are many PCs and one of them as an author.
OK so we sending these to be discovered to this point and then it is broadcasted to or other parts of
it will go from here from here or from here from here from here from here and from here and this should
be Discovery say hey I'm now live I would like to have an app out there.
So if there is any there should be server in this network.
Please send me an IP address to be able to put it on my interface to the net.
So the first step is we call it the the second one the Router one was send back a D should be offer.
OK this should be an offer.
So the dish too and this there should be offer to one with say okay I have received your request that
this should be discovered that you would like to have and I found this and I'm offering you an IP address.
OK.
And that is the IP address that I'm giving to you.
So for example he would say I would give you one night to 6 say 1 2 2 5 4.
And then it should be from the range of the pool that he created on that one.
So remember when we said we create a pool of five others is about the Lonzo.
This IP should be from that board.
So that is number two.
Number three then the router to send back the ship the request OK.
This should be a request and we will send it to route through one.
So step number three.
And then it will say OK I have received this IP address and I would like nicely to ask you that.
Can I have it and put it on my Internet too so I can use it and I lose it from you.
So this is exactly what they should be requesting I suggest you say that I received from you the offer
and it looks fine for me and I would like to ask you that I can lose it and put it on my interface.
Then in this case Router one would assume which is the server answering to the supply.
And then he would say the SGP acknowledge OK.
And number four and with all this you say OK fine.
You have asked for me.
The eyebrow that is to be these to the interface.
Ok I will leave it for you and then disappear over.
He put on his pool that he has this IP address which is 1 2 and 6 they don't want to fight for it's
these to this interface which is the two of them.
So all this communication is happening in the background and we don't see that.
But of course it's really important that we understand how this works in case we have problems when
we want to do something of the shooty that we know how we can solve the problem.
We see where the problem is.
So in case any problem is happening on a router or one or router do we know which packets of this should
be responsible coming from the one and which buckets are coming from Robert.
So this is in brief how the propers works together or we can be also router to can be maybe a PC and
so it doesn't need to be rather rather PC or rent or anything.
It's just a hostel OK.
So it can't be any type of network devices which is connected to the DHP server which is Router one
as a server.
And then this complication what happened between the day should be server and the DST line no matter
what the client is it can be a printer or a PC or anything.
OK.
So this is what I wanted to show you.
So these are the four type of communication between the DST server and the device to be fly.
And it is there should be discovered from Rathod to track the one that rather one asked about there
should be offer to give him an IP.
And then thereafter to reply back with there should be guest asking that if he can use it.
And then the one thing I noticed was that there should be calls all those type of traffic are made via
broadcast.
OK all three lasering.
And on broadcasts.
So we will see now when we make the capturing that there will be those four type of traffic that's happening
and or both.
And all those graphics are broadcasting to each other.
OK.
The protocol that is used inside the DSP for ways of communication is called Bootstrap.
OK.
So bootstrap is the protocol which has the port 67 and 68 is responsible for this communication that
happens between the server and the district.
So now we know how this should be worked.
Let's now do the lab and then we will capture the traffic and we will see you all those four package
that we just have seen now that it will be shown for us when we want to do the capturing and see how
the day should be as well.
So phone number want Genest we love is already set spirit so to make it easy.
Always the graph here on the top of that page so you can follow that up in the usual way.
OK.
So the ministry has already set a paragraph so if you want to see that I can open janissary.
So the Janissary I have router 1 and I have routed to that connected on the Internet to interfaces so
it's the same as you can see on the graph.
And then that is my PC cloud is representing my PCs so I'm now able to connect from my PC to router
1 and 2 router.
OK.
So as I said before that in this course I'm not going to explain how we can set my critique on Janissary
because it's out of scale from the score.
OK so if you want to know how to do that there's some other course that I have on you that you can register
and then you have the full dispensation of how you can set up with it on.
Yes.
OK.
So Phone number one.
It has done both number to put an IP address on it and it of the long ass paragraph.
OK so before I do this then you just explained to you that it's very important that the one you want
to make a dish to the server.
For example in this case either one the first thing that you need to do is to put an IP address on the
interface which is going to connect to the internal LAN.
In our case we have all the throttles to connect to the net.
So it's very important that you always put the night gravitas on it and that to or rather one.
Why is that.
Because this IP address was going to be written that too is going to be get away.
OK the gateway off dropped it too.
So think for example if you have we don't have this thing here if you have here and a switch and you
have a lot of PCs printers laptops routers whatever you have here.
So when they want to get either of us from router one they recover from the internet too and then either
two should be gateway.
OK.
So it's very important that you put the iPad just because if you don't have fathers on the gateway then
in this case they are not able to communicate with either one.
And for example the cash out of one has here internet.
Then they know those costs which are here.
They know that if they want to go to the Internet they have to send all that traffic to their gateway
which is in this case Internet.
And then the router will be able to forward it to the Internet and bring it back.
OK so it's really important that you put first.
And I found this on the gateway.
In this case we have Internet to the gateway.
So we go back to point number to put an IP address on it and that two of frother one.
So if you look through the graph here now that is sort of the one we haven't I fathers of one have to
say that one to the phone on the Internet to do that.
And we'll go to IP others and then from here I will put the IP which is 1 9 2 1 6 8 to 1 on last 24.
It used to be on the
cell phone number two is Don one of these reconfigured router want to become a dish server and provide
IP from the range of one or two and say the phone to this.
So again now we have to make the conversation of want to be a server and then it will have a range of
life.
I wanted to save this one too dark for example to an iPhone to be able to provide.
I gather from this range.
It will go to Iraq and one on our closes and then from here I have to go to the there should be server.
So that is where I have to go.
And then on the issue here you have something called This should be set up.
And that's really much easier to make it from here that you create yourself the pool and the network
and so forth because it can create everything for you.
So there should be stuff and from here they ask you OK you want upgraded the SEP server on which of
the interfaces you want to create the DCP server remember you have to think on the interface which is
the gateway in our case if we look through the graph that is not true and that's where I would die fathers
one I don't say that one to do one.
So I will select the next two and then I'll say next directly it will say OK I see all these and do
you have an IP address from this rash.
So that is the other space that you want to provide.
I would say yes.
Next and they ask you that you want to get to be one or two and take that one to that one which is the
other side of it and two then I will say of course yes next.
And here they ask you what is the range that you want.
So you want the rush the staff for one or two that once you said that one to the two until one or two
and say this one to that to 5 4 then you can say here.
Yes.
Or if you say well I want the first IP address that say from 1 to 2 I say that 1 to 2 1 and 2 and say
that 1 to do that.
I want them to be out of this range of pool and I want to assign for example I have a print printer
that I have it that's like and that's what I want to put the picture before I have to jump or VoIP a
server that I want to put that fixed IP to it.
So you can choose for example.
The idea is that you don't want to be provided and then you leave it for you for yourself to be able
to assign it manually to some of the services that you have and be sure of a file server whatever you
have.
You can do that.
But in my case I don't have that.
I only have one property that I'm doing.
As for the law now so I'll keep everything the same.
And if you want also what you can do if you want if this IP you see that those IPs are all already fooled
and you don't have any more space then you can create also another area and you can put another pool
of IP addresses as well.
OK.
So in my case I will do this now as it is next.
And the DNS servers in case you have to provide the Internet.
And that's really all that you put the DNS server in my case I would add that they that they don't.
So that's public the answer is that you can use on the internet I will you can't put them on again then
has a folder to look up to.
That's an idea also probably DNS server so you have DNS one and DNS to one day customer receive a dish
B from the router one and then I'll say next time.
So how long do you want the IP to be provided in this case for 10 hours.
So the IP will stay for 10 hours and after 10 hours the process will start to get together.
Another idea that is you can make it longer you can make it shorter.
So I leave it as it is by default so I'll say next and that's it.
So in this case what happens if I go to I'd be all against that.
There is a day should people that has been created one or two once say that want to do something one
or two and say they want to fight for and that's all of the others that will be provided to the customers
when they connect to the DST the server requesting for a night out.
OK.
And here you can see the network as you can see here.
These are the settings that I have just done now and one that we see that router to connect to the dish
should be sure and get an eye for others to see that he would get these.
OK now that is no communication between one of the two because we still need to set that out because
that there should be one.