{"id":1639,"date":"2014-10-16T12:03:49","date_gmt":"2014-10-16T12:03:49","guid":{"rendered":"https:\/\/ibex.tech\/resources\/?p=1639"},"modified":"2022-02-18T15:05:16","modified_gmt":"2022-02-18T15:05:16","slug":"dhcp-relay-agents","status":"publish","type":"post","link":"https:\/\/ibex.tech\/resources\/geek-area\/communications\/ethernet-communications\/dhcp-relay-agents","title":{"rendered":"DHCP Relay Agents"},"content":{"rendered":"<p>\nDHCP messages are generally broadcast, which means they are non routable (gateways won&#39;t pass them). &nbsp;A&nbsp;DHCP client and server therefore need to be on the same subnet. &nbsp;This restrictions would require that individual subnets each have their own&nbsp;&nbsp;DHCP server which is not practical in large networks. &nbsp;This problem is solved through the use of DHCP relay agents. &nbsp;The core function of a DHCP relay agent is to convert broadcast DHCP packets into unicast packets and forward to the DHCP server (its a specialised router providing a link between 2 networks on different subnets).\n<\/p>\n<p>\nDHCP CLIENT&nbsp;&lt;&#8212;&#8212;link_a&#8212;&#8212;&gt;DHCP RELAY &lt;&#8212;&#8212;link_b&#8212;-&gt; DHCP SERVER\n<\/p>\n<p>\n1a) DHCP CLIENT sends a &#39;DHCP Discover&#39; packet broadcast.\n<\/p>\n<p style=\"margin-left: 40px;\">\n1b) DHCP RELAY sends the packet unicast to the DHCP server.\n<\/p>\n<p style=\"margin-left: 40px;\">\n2a) DHCP SERVER sends a &#39;DHCP Offer&#39; packet unicast to the DHCP RELAY. In this packet option 54 (DHCP Server Identifier) is present and&nbsp;specifies the IP address of the DHCP SERVER.\n<\/p>\n<p>\n2b) DHCP RELAY sends the DHCP offer packet broadcast or unicast&nbsp;to the DHCP client.\n<\/p>\n<p>\n3a) DHCP CLIENT sends a &#39;DHCP Request&#39; packet broadcast. &nbsp;In this packet option 54 (DHCP Server Identifier) is present and&nbsp;specifies the IP address of the DHCP SERVER.\n<\/p>\n<p style=\"margin-left: 40px;\">\n3b) DHCP RELAY sends the packet unicast to the DHCP Server.\n<\/p>\n<p style=\"margin-left: 40px;\">\n4a) DHCP SERVER sends a &#39;DHCP Ack&#39; packet unicast to the DHCP RELAY.\n<\/p>\n<p>\n4b) DHCP RELAY sends the packet broadcast or unicast to the DHCP CLIENT.\n<\/p>\n<h5>\nIP Address Renewal<br \/>\n<\/h5>\n<p>\nThe DHCP CLIENT uses unicast to send the request directly to the DHCP SERVER.\n<\/p>\n<h4>\nGood resources<br \/>\n<\/h4>\n<p>\n<a href=\"http:\/\/www.slideshare.net\/Netmanias\/netmanias20131105-dhcp-relay-agent-overview-en\">www.slideshare.net\/Netmanias\/netmanias20131105-dhcp-relay-agent-overview-en<\/a>\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DHCP messages are generally broadcast, which means they are non routable (gateways won&#39;t pass them). &nbsp;A&nbsp;DHCP client and server therefore need to be on the same subnet. &nbsp;This restrictions would require that individual subnets each have their own&nbsp;&nbsp;DHCP server which is not practical in large networks. &nbsp;This problem is solved through the use of DHCP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1639","post","type-post","status-publish","format-standard","hentry","category-ethernet-communications"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/1639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/comments?post=1639"}],"version-history":[{"count":6,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/1639\/revisions"}],"predecessor-version":[{"id":1645,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/1639\/revisions\/1645"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/media?parent=1639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/categories?post=1639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/tags?post=1639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}