
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DHCP Relay Agent Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/dhcp-relay-agent/feed/" rel="self" type="application/rss+xml" />
	<link>https://168.138.42.164/tag/dhcp-relay-agent/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Mon, 22 Mar 2021 06:28:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>DHCP Relay Agent Archives - TECHNIG</title>
	<link>https://168.138.42.164/tag/dhcp-relay-agent/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>How to Configure DHCP on Cisco Router?</title>
		<link>https://www.technig.com/how-to-configure-dhcp-on-cisco-router/</link>
					<comments>https://www.technig.com/how-to-configure-dhcp-on-cisco-router/#comments</comments>
		
		<dc:creator><![CDATA[Shais]]></dc:creator>
		<pubDate>Wed, 01 Feb 2017 06:35:17 +0000</pubDate>
				<category><![CDATA[CCNA]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[CCNA Certification]]></category>
		<category><![CDATA[CCNA Lab]]></category>
		<category><![CDATA[CCNA Packet Tracer Lab]]></category>
		<category><![CDATA[Cisco Packet Tracer]]></category>
		<category><![CDATA[Cisco Router Configuration]]></category>
		<category><![CDATA[DHCP Relay Agent]]></category>
		<category><![CDATA[DHCP Server]]></category>
		<category><![CDATA[DHCP Server Configuration]]></category>
		<category><![CDATA[How to]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=1236</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1112" height="602" src="https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="CCNA Lab - Configure DHCP Server Using Cisco Router - Technig" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig.jpg 1112w, https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig-300x162.jpg 300w, https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig-768x416.jpg 768w, https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig-1024x554.jpg 1024w" sizes="(max-width: 1112px) 100vw, 1112px" /></div>
<p>Configure DHCP on Cisco Router. Last week we published a topic about installation and configuration of DHCP Server in Windows Server 2012 R2. We have introduced the DHCP Server &#8220;Install and Configure DHCP Server on Windows Server 2012 R2&#8221; and told the necessary services and network protocols requirement if you don&#8217;t know the basic of DHCP Server? [&#8230;]</p>
<p>The post <a href="https://www.technig.com/how-to-configure-dhcp-on-cisco-router/">How to Configure DHCP on Cisco Router?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1112" height="602" src="https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="CCNA Lab - Configure DHCP Server Using Cisco Router - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig.jpg 1112w, https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig-300x162.jpg 300w, https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig-768x416.jpg 768w, https://www.technig.com/wp-content/uploads/2015/02/CCNA-Lab-Configure-DHCP-Server-Using-Cisco-Router-Technig-1024x554.jpg 1024w" sizes="(max-width: 1112px) 100vw, 1112px" /></div><p>Configure DHCP on Cisco Router. Last week we published a topic about installation and configuration of DHCP Server in <a href="https://www.technig.com/tag/windows-server-2012-r2/" target="_blank" rel="noopener noreferrer">Windows Server 2012 R2</a>. We have introduced the DHCP Server &#8220;<a href="https://www.technig.com/install-configure-dhcp-server-windows-server-2012-r2/" target="_blank" rel="noopener noreferrer">Install and Configure DHCP Server on Windows Server 2012 R2</a>&#8221; and told the necessary services and network protocols requirement if you don&#8217;t know the basic of DHCP Server? you must read the article first.</p>
<h3>Create and Configure a CCNA Lab within Cisco Packet Tracer.</h3>
<p>Download the DHCP configuration in Cisco router lab of packet tracer from the end of this post or try to create your own network lab with two routers and their LAN networks and then configure it with the following step by step guide.</p>
<figure id="attachment_14601" aria-describedby="caption-attachment-14601" style="width: 915px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/02/How-to-Configure-DHCP-on-Cisco-Router-Technig.jpg"><img decoding="async" class="wp-image-14601 size-full" src="https://www.technig.com/wp-content/uploads/2017/02/How-to-Configure-DHCP-on-Cisco-Router-Technig.jpg" alt="How to Configure DHCP on Cisco Router - Technig" width="915" height="482" srcset="https://www.technig.com/wp-content/uploads/2017/02/How-to-Configure-DHCP-on-Cisco-Router-Technig.jpg 915w, https://www.technig.com/wp-content/uploads/2017/02/How-to-Configure-DHCP-on-Cisco-Router-Technig-300x158.jpg 300w, https://www.technig.com/wp-content/uploads/2017/02/How-to-Configure-DHCP-on-Cisco-Router-Technig-768x405.jpg 768w" sizes="(max-width: 915px) 100vw, 915px" /></a><figcaption id="caption-attachment-14601" class="wp-caption-text">How to Configure DHCP on Cisco Router &#8211; Technig</figcaption></figure>
<p>Configure the <strong>Router 1</strong> with below IP address and initial configuration. I assume you know and understand the basic router and Switch configuration clearly. So no need to explain the functions of the basic router and switch commands line.</p>
<p style="padding-left: 60px;">Router&gt;<strong>enable</strong><br />
Router#<strong>configure terminal</strong><br />
Enter configuration commands, one per line. End with CNTL/Z.</p>
<p style="padding-left: 60px;">Router(config)#<strong>hostname R1</strong><br />
R1(config)#<strong>interface serial 0/0/0</strong><br />
R1(config-if)#<strong>ip address 10.10.10.1 255.255.255.252</strong><br />
R1(config-if)#<strong>no shutdown</strong></p>
<p style="padding-left: 60px;">R1(config-if)#clock rate 64000<br />
R1(config-if)#</p>
<p>For <strong>Router 2</strong>, configure the same interface <strong>serial 0/0/0</strong> and <strong>FastEthernet 0/0</strong> with the following commands.</p>
<p style="padding-left: 60px;">Router&gt;<strong>enable</strong><br />
Router#<strong>configure terminal</strong><br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
Router(config)#<strong>hostname R2</strong><br />
R2(config)#<strong>interface serial 0/0/0</strong><br />
R2(config-if)#<strong>ip address 10.10.10.2 255.255.255.252</strong><br />
R2(config-if)#<strong>no shutdown</strong></p>
<p style="padding-left: 60px;">R2(config-if)#</p>
<p style="padding-left: 60px;">R2(config)#<strong>interface fastEthernet 0/0</strong><br />
R2(config-if)#<strong>ip address 192.168.10.1 255.255.255.0</strong><br />
R2(config-if)#no shutdown</p>
<h3>Configure DHCP on Cisco Router Using Packet Tracer</h3>
<p>Let&#8217;s configure Router 2 as DHCP Server and set the clients to get their IP address from DHCP Server in Cisco Router.</p>
<p>In the R2 while you are in the config mode, type the command &#8216;<strong>IP DHCP excluded-address 192.168.10.1 192.168.10.20</strong>&#8216; and then press enter. This command &#8216;<strong>ip dhcp excluded-address&#8217; will </strong>create an exclusive range of IP addresses which reserved for Network Servers and DHCP Server will not assign them to clients.</p>
<p>The &#8216;<strong>ip dhcp pool</strong>&#8216; command creates a pool for a network. You can create many pools on a router for all Local area network that connected to the router.</p>
<figure id="attachment_1246" aria-describedby="caption-attachment-1246" style="width: 870px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/02/How-to-Configure-DHCP-on-Cisco-Router-Technig.jpg"><img decoding="async" class="wp-image-1246 size-full" src="https://www.technig.com/wp-content/uploads/2015/02/How-to-Configure-DHCP-on-Cisco-Router-Technig.jpg" alt="How to Configure DHCP on Cisco Router - Technig" width="870" height="297" srcset="https://www.technig.com/wp-content/uploads/2015/02/How-to-Configure-DHCP-on-Cisco-Router-Technig.jpg 870w, https://www.technig.com/wp-content/uploads/2015/02/How-to-Configure-DHCP-on-Cisco-Router-Technig-300x102.jpg 300w, https://www.technig.com/wp-content/uploads/2015/02/How-to-Configure-DHCP-on-Cisco-Router-Technig-768x262.jpg 768w" sizes="(max-width: 870px) 100vw, 870px" /></a><figcaption id="caption-attachment-1246" class="wp-caption-text">How to Configure DHCP on Cisco Router &#8211; Technig</figcaption></figure>
<p style="padding-left: 60px;">R2&gt;<strong>enable</strong><br />
R2#<strong>configure terminal</strong><br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
R2(config)#<strong>ip dhcp excluded-address 192.168.10.1 192.168.10.20</strong><br />
R2(config)#<strong>ip dhcp pool Technig_Clients</strong><br />
R2(dhcp-config)#<br />
R2(dhcp-config)#<strong>network 192.168.10.0 255.255.255.0</strong><br />
R2(dhcp-config)#<strong>default-router 192.168.10.1</strong><br />
R2(dhcp-config)#<strong>dns-server 192.168.10.100</strong><br />
R2(dhcp-config)#</p>
<p>Now go to client setting and set the IP Configuration to DHCP and see the client get a new IP address from DHCP Server.</p>
<figure id="attachment_1247" aria-describedby="caption-attachment-1247" style="width: 659px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/02/Get-IP-From-DHCP-Server.jpg"><img loading="lazy" decoding="async" class="wp-image-1247 size-full" src="https://www.technig.com/wp-content/uploads/2015/02/Get-IP-From-DHCP-Server.jpg" alt="Get IP From DHCP Server" width="659" height="286" srcset="https://www.technig.com/wp-content/uploads/2015/02/Get-IP-From-DHCP-Server.jpg 659w, https://www.technig.com/wp-content/uploads/2015/02/Get-IP-From-DHCP-Server-300x130.jpg 300w" sizes="(max-width: 659px) 100vw, 659px" /></a><figcaption id="caption-attachment-1247" class="wp-caption-text">Get IP From DHCP Server</figcaption></figure>
<p>So that&#8217;s it, configure DHCP on Cisco router within a minute! Simple and easy.</p>
<h3>DHCP Relay on Cisco Router</h3>
<p>Remember some DHCP options (DHCP Relay Agent) when you need to provide IP addresses from a DCHP server to clients that are outside of your network or are not in the same Local Area Network. You must use the &#8216;<strong>ip helper-address</strong>&#8216; to forward the DHCP client requests to the remote host.</p>
<figure id="attachment_1251" aria-describedby="caption-attachment-1251" style="width: 606px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/02/DHCP-Options-IP-Helper-address.jpg"><img loading="lazy" decoding="async" class="wp-image-1251 size-full" src="https://www.technig.com/wp-content/uploads/2015/02/DHCP-Options-IP-Helper-address.jpg" alt="DHCP Options - IP Helper-address" width="606" height="429" srcset="https://www.technig.com/wp-content/uploads/2015/02/DHCP-Options-IP-Helper-address.jpg 606w, https://www.technig.com/wp-content/uploads/2015/02/DHCP-Options-IP-Helper-address-300x212.jpg 300w" sizes="(max-width: 606px) 100vw, 606px" /></a><figcaption id="caption-attachment-1251" class="wp-caption-text">DHCP Options &#8211; IP Helper-address</figcaption></figure>
<p>Configure the <strong>R1</strong> to relay the DHCP client request. It does not work without routing. So configure Routers with static or dynamic routing. Here I&#8217;m testing with RIP.</p>
<p style="padding-left: 30px;">R1&gt;<strong>enable</strong><br />
R1#<strong>configure terminal</strong><br />
Enter configuration commands, one per line. End with CNTL/Z.<br />
R1(config)#<strong>interface fastEthernet 0/0</strong><br />
R1(config-if)#<strong>ip helper-address 10.10.10.2</strong><br />
R1(config-if)#<strong>exit</strong></p>
<p style="padding-left: 30px;">R1(config)#<strong>router rip</strong><br />
R1(config-router)#<strong>network 10.10.10.0</strong><br />
R1(config-router)#<strong>network 192.168.30.0</strong><br />
R1(config-router)#<strong>exit</strong></p>
<p>Go to the client IP configuration setting and see the forwarded request by DHCP Server.</p>
<figure id="attachment_1252" aria-describedby="caption-attachment-1252" style="width: 579px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2015/02/Forward-DHCP-client-request-on-Cisco-Router.jpg"><img loading="lazy" decoding="async" class="wp-image-1252 size-full" src="https://www.technig.com/wp-content/uploads/2015/02/Forward-DHCP-client-request-on-Cisco-Router.jpg" alt="Forward DHCP client request on Cisco Router" width="579" height="197" srcset="https://www.technig.com/wp-content/uploads/2015/02/Forward-DHCP-client-request-on-Cisco-Router.jpg 579w, https://www.technig.com/wp-content/uploads/2015/02/Forward-DHCP-client-request-on-Cisco-Router-300x102.jpg 300w" sizes="(max-width: 579px) 100vw, 579px" /></a><figcaption id="caption-attachment-1252" class="wp-caption-text">Forward DHCP client request on Cisco Router</figcaption></figure>
<p>Hope you learn the configuration of the DHCP Server on the Cisco Router and Download the <a href="https://www.technig.com/wp-content/uploads/2017/02/CCNA-Lab-DHCP-Configuration-on-Cisco-Router-Technig.zip" target="_blank" rel="noopener noreferrer" data-wplink-edit="true">DHCP on Cisco Router</a> Packet Tracer.</p>
<h3><span style="color: #808080;">Related Search: </span></h3>
<p>Configure DHCP on cisco router interface<br />
Configure DHCP on cisco router in packet tracer<br />
What is DHCP pool<br />
Configure DHCP on cisco switch 2960<br />
How to configure DHCP pool on cisco switch<br />
IP DHCP excluded-address<br />
Cisco DHCP lease command<br />
IP DHCP server</p>
<p>The post <a href="https://www.technig.com/how-to-configure-dhcp-on-cisco-router/">How to Configure DHCP on Cisco Router?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/how-to-configure-dhcp-on-cisco-router/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1236</post-id>	</item>
	</channel>
</rss>
