DHCP Relay Agent

  Рет қаралды 48,670

ITFreeTraining

ITFreeTraining

Күн бұрын

In this video from ITFreeTraining, I will look at the DHCP Relay Agent. A DHCP Relay Agent allows devices on the network that are not connected directly to the same network as the DHCP server to access the DHCP server. Let’s have a closer look.
DHCP Relay Agent
In this example, the main network has its one and only DHCP server. This DHCP server distributes network configuration to devices on the network. This works well, however, what happens when you have a smaller network on a different subnet connected by a router.
By default, broadcasts do not travel between networks. When a devices requests configuration from a DHCP server, the first message that it sends on the network is a broadcast packet. All devices on that network will hear the broadcasts, however, the router will not retransmit the broadcast between networks. For this reason, the DHCP server will not hear the broadcast.
The administrator has two choices when this occurs. The administrator will either deploy a DHCP server on the network or configure a DHCP Relay Agent. Later in the video I will look at why the administrator may choose to deploy a relay agent, but before that, I will first look at how a DHCP Relay Agent works.
How a DHCP Relay Works
Consider that the main network has the DHCP server. On a second network is a device. The network is connected by a router that is not configured to forward broadcasts; I will look into this more later in the video.
The device on the network wants to obtain network configuration, so it will send a DHCP request message on the network. This message is a broadcast so all devices on that network will hear it.
Since the DHCP server is on a different network it will not hear the broadcast and this is where the DHCP Relay comes into play. The DHCP Relay is installed on the same network as the device. Since it is on the same network it will hear the broadcast.
The DHCP Relay Agent simply forwards the DHCP request to the DHCP server. The DHCP server on receiving the request will send an offer back to the DHCP Relay Agent. The offer once received by the DHCP Relay Agent will be forwarded to the device.
Essentially the DHCP Relay Agent passes messages between the device and the DHCP server, thus allowing the DHCP messages to be transmitted to different networks. This requires a device to be configured for this purpose. The question is, could you also configure a router to perform this task?
Router Working as DHCP Relay
The answer is, yes you can. If your router supports it, the router can act as a DHCP Relay Agent forwarding DHCP messages on the network to the network with the DHCP server. The big question remains is, why would you do this? Most routers nowadays have DHCP server support, or a device could be set up on the network to provide this service. There are even lightweight free DHCP servers that can be installed on a desktop computer very easily and if all that failed you could configure the device with a static IP Address. The answer is, it comes down to control and cost.
Why Deploy a DHCP Relay?
In the first instance, if cost is not an issue, in a Windows environment you would deploy a Windows Server with DHCP. In some cases, this may not be feasible. Maybe your company does not want to pay the cost of deploying a Windows Server. For example, on a small network with only a few devices there is not much return on investment for the cost of the server and the license.
However, the administrator may still want to use a Windows Server to manage DHCP. The administrator is free to use other DHCP solutions. However, using Windows Server does integrate better with other services. For example, using services like Network Access Protection. At the end of the day, DHCP Relay nowadays generally gets deployed when the administrator has a need to save costs but still wants to integrate DHCP with other services.
That covers it for DHCP Relay. I hope to see you in other videos, from the DHCP course and other free courses from us. Until the next video, I would like to thank you for watching.
References
“Dynamic Host Configuration Protocol” en.wikipedia.org/wiki/Dynamic...

Пікірлер: 27
@PRASAD8499
@PRASAD8499 4 жыл бұрын
Best IT trainer in World
@santhoshshetty3900
@santhoshshetty3900 4 жыл бұрын
Glad to see new videos ..many thanks team!!
@itfreetraining
@itfreetraining 4 жыл бұрын
Glad you like them!
@majidmozaffari4867
@majidmozaffari4867 3 жыл бұрын
Teaching is great. I think That would be more awesome if you guys add a lab about what you are teaching here and show us practically... Thanks a lot for your hard work.
@Ruebzzz
@Ruebzzz 2 жыл бұрын
It will depend on your router configuration but this helps for me at least understand the concept and apply to my own
@ricardogonzalezespinoza6177
@ricardogonzalezespinoza6177 3 жыл бұрын
Great explanation!
@itfreetraining
@itfreetraining 2 жыл бұрын
Glad it was helpful!
@htema16
@htema16 3 жыл бұрын
Thanks for uploading this content.
@itfreetraining
@itfreetraining 2 жыл бұрын
Glad you enjoy it!
@noname-dl4qu
@noname-dl4qu 2 жыл бұрын
thanks for this great Vid!
@itfreetraining
@itfreetraining 2 жыл бұрын
Glad you liked it!
@RazzleJazzle420
@RazzleJazzle420 21 күн бұрын
thank you
@itfreetraining
@itfreetraining 3 күн бұрын
Thanks for watching.
@priyankaburela5357
@priyankaburela5357 4 жыл бұрын
can you please post some videos on SCOM monitoring if possible.
@PRASAD8499
@PRASAD8499 3 жыл бұрын
Hi Sir, Could you please make a video for DHCP cluster ?
@adriannb6210
@adriannb6210 2 жыл бұрын
good video
@enrikDR
@enrikDR 2 жыл бұрын
shut up men
@itfreetraining
@itfreetraining 2 жыл бұрын
Thanks
@malcador
@malcador 3 жыл бұрын
Is the broadcast forwarded as a unicast?
@itfreetraining
@itfreetraining 2 жыл бұрын
This, once the broadcast reaches the router it will be forwarded as a unicast.
@matricksengineers8699
@matricksengineers8699 2 жыл бұрын
I have 7 Vlans in my network, all they use DHCP , in last two years they were all working well, but nowdays in one Vlan , some connected computers get valid ip addresses automatically others get invalid IP address and it require me to assign a static IP address, how can I solve that issue , inorder to make all the connected computers get valid ip addresses automatically? I'm using Cisco Router and Switch
@itfreetraining
@itfreetraining 2 жыл бұрын
What do you mean invalid IP Address? If it is getting an IP Address for a different network it probably a problem with how the vlans were configured. If the client is getting the wrong DHCP configuration it is properly a problem with the DHCP server.
@ImAnonymous433
@ImAnonymous433 3 жыл бұрын
what if 2 router present between dhcp client and sever
@itfreetraining
@itfreetraining 8 ай бұрын
You can set to routers. The device will use one and if it fails switch to the other one.
@PapiBauby
@PapiBauby 3 жыл бұрын
I ve been reading about dhcp relay , for weeks , and network concepts, I still don't understand shit
@Django4g
@Django4g 3 жыл бұрын
Great explanation!
@itfreetraining
@itfreetraining 2 жыл бұрын
Thank you.
DHCP Relay Agent Lab
18:47
The Networking Doctors
Рет қаралды 70 М.
TCP Fundamentals Part 1 // TCP/IP Explained with Wireshark
1:17:24
Chris Greer
Рет қаралды 421 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 58 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 49 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 116 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 54 МЛН
DHCP and PXE
5:43
ITFreeTraining
Рет қаралды 27 М.
DHCP Relay Agent in Cisco Router
13:54
Build Your Tech Base
Рет қаралды 21 М.
Протокол DHCP | Курс "Компьютерные сети"
12:29
DHCP Relay - Mikrotik
21:08
Wilmer Almazan / The Network Trip
Рет қаралды 5 М.
DHCP Leases
8:55
ITFreeTraining
Рет қаралды 29 М.
How to Configure DHCP Relay Agent in Windows Server 2016
10:10
Must be Noob
Рет қаралды 27 М.
Installing & Configuring DHCP - Windows Server 2019
17:17
ittaster
Рет қаралды 66 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 58 МЛН