<?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>Aaron&#039;s Worthless Words &#187; dhcp</title>
	<atom:link href="http://aconaway.com/tag/dhcp/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>It&#039;s possible that someone somewhere needs to see this.</description>
	<lastBuildDate>Wed, 01 Feb 2012 02:07:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>DHCP ACK Error on Avaya Phones</title>
		<link>http://aconaway.com/2010/12/27/dhcp-ack-error-on-avaya-phones/</link>
		<comments>http://aconaway.com/2010/12/27/dhcp-ack-error-on-avaya-phones/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 16:05:14 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[voice]]></category>
		<category><![CDATA[ack]]></category>
		<category><![CDATA[avaya]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=1272</guid>
		<description><![CDATA[We&#39;re an Avaya voice shop (for now if I have my way) and have Avaya systems of various sizes and shapes all around the Enterprise.&#160; I was at one of our remote locations a few weeks back and helped the guys there replace a non-PoE switch so they could get the old power injector panel out of their rack.&#160; When we moved stuff around, the phones didn&#39;t come back and had the dreaded DHCP Ack Error. In the environment, we have the usual data and voice VLANs on every switch port, and PCs are connected through the built-in switch in Avaya 4610SW IP phones.&#160; The DHCP server is a Windows something-something-something server (maybe 2008) serving both VLANs.&#160; When the phones boot, they come up on the data VLAN, get DHCP option 176 (remember it&#39;s Avaya and not Cisco), reboot onto the voice VLAN, and wait for an address; after a few seconds, they get the DHCP Ack Error displayed on the phone.&#160; Thanks for that very descriptive error, Avaya.&#160; The data VLAN was working fine, and, when I put my switch port into the voice VLAN natively, I got an address on my laptop.&#160; It&#39;s just the phones. A quick [...]]]></description>
			<content:encoded><![CDATA[<p>We&#39;re an Avaya voice shop (for now if I have my way) and have Avaya systems of various sizes and shapes all around the Enterprise.&nbsp; I was at one of our remote locations a few weeks back and helped the guys there replace a non-PoE switch so they could get the old power injector panel out of their rack.&nbsp; When we moved stuff around, the phones didn&#39;t come back and had the dreaded DHCP Ack Error.<span id="more-1272"></span></p>
<p>In the environment, we have the usual data and voice VLANs on every switch port, and PCs are connected through the built-in switch in Avaya 4610SW IP phones.&nbsp; The DHCP server is a Windows something-something-something server (maybe 2008) serving both VLANs.&nbsp; When the phones boot, they come up on the data VLAN, get DHCP option 176 (remember it&#39;s Avaya and not Cisco), reboot onto the voice VLAN, and wait for an address; after a few seconds, they get the DHCP Ack Error displayed on the phone.&nbsp; Thanks for that very descriptive error, Avaya.&nbsp; The data VLAN was working fine, and, when I put my switch port into the voice VLAN natively, I got an address on my laptop.&nbsp; It&#39;s just the phones.</p>
<p>A quick search showed a solution that I&#39;ve seen a thousand times but keep forgetting (another in a long list).&nbsp; If the DHCP server is in the data VLAN and is also tagged in the voice VLAN, the phones won&#39;t get an address.&nbsp; Huh?&nbsp; We didn&#39;t change the DHCP server.&nbsp; Well, it turns out that the server was in the original non-PoE switch, and we had moved it to a port configured for a workstation (a fact I left out in the original edit of this post).&nbsp; As soon as I took the <em>switchport voice vlan X</em> off of the server port, the phones started getting addresses, and we could finally hear the sweet sound of dial tone.&nbsp; Problem solved.</p>
<p>According to <a href="http://avayausers.com/showthread.php?t=3251&amp;highlight=dhcp+ack+error">this Avaya users group post</a>, this happens because the DHCP server receives a DHCP request in a tagged packet; the server doesn&#39;t like it and NAKs it.&nbsp; The fix works, but I&#39;m not really satisfied with the answer of &quot;it doesn&#39;t like it&quot;.&nbsp; I may take a day and test this myself in my home lab.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/12/27/dhcp-ack-error-on-avaya-phones/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>IIUC Notes &#8211; Getting Phones on the LAN</title>
		<link>http://aconaway.com/2010/09/29/iiuc-notes-getting-phones-on-the-lan/</link>
		<comments>http://aconaway.com/2010/09/29/iiuc-notes-getting-phones-on-the-lan/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 01:49:06 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[voice]]></category>
		<category><![CDATA[640-460]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cert]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[dtp]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[iiuc]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[over]]></category>
		<category><![CDATA[poe]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[switchport]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[trunk]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=1078</guid>
		<description><![CDATA[Today we cover some things we have to do to get the phones up and running on the LAN.]]></description>
			<content:encoded><![CDATA[<p>More study notes.&nbsp; Correct if wrong, though I hope I get some of it right since I already since I&#39;m an R&amp;S guy. &nbsp;:$</p>
<p><strong>Switchport Configuration<br />
	</strong></p>
<ul>
<li><strong>switchport mode access</strong>:&nbsp; This config makes the port an access port that carries the primary and voice VLAN traffic</li>
<li><strong>switchport mode trunk</strong>:&nbsp; This config akes the port a trunk unconditionally, but it will still send DTP messages</li>
<li><strong>switchport nonegotiate</strong>:&nbsp; This config keeps the port from sending DTP messages.</li>
<li><strong>switchport mode dynamic auto</strong>:&nbsp; If the port receives DTP messages, it will become a trunk.&nbsp; If not, it will be an access port.</li>
<li><strong>switchport mode dynamic desirable</strong>:&nbsp; The port actively sends DTP messages trying to become a trunk.&nbsp; This is the default configuration on a Cisco switch.</li>
</ul>
<p><strong>Cisco IP Phone Boot Process</strong></p>
<ol>
<li>Phone connects to an Ethernet switch and gets power if needed</li>
<li>Switch tells the phone the correct voice VLAN through CDP</li>
<li>Phone sends DHCP request for its voice VLAN</li>
<li>DHCP offer includes the TFTP server from which to download the config</li>
<li>Phone downloads the config from the TFTP server</li>
<li>Phone contacts the call processing server as dictated in the config file</li>
</ol>
<p><strong>DHCP Settings on a Cisco Router or L3 Switch</strong></p>
<blockquote>
<p>R1(config)#ip dhcp pool MYPOOL<br />
		R1(dhcp-config)#network 192.168.0.0 255.255.255.0<br />
		R1(dhcp-config)#default-router 192.168.0.1<br />
		R1(dhcp-config)#dns-server 192.168.0.10<br />
		R1(dhcp-config)#option 150 ip 192.168.0.20&nbsp; &lt;&#8211; Tells the phone to download the config from this TFTP server<br />
		R1(dhcp-config)#exit<br />
		R1(config)#ip dhcp excluded-address 192.168.0.1 192.168.0.100&nbsp; &lt;&#8211; Don&#39;t use these IPs when handing out DHCP</p>
</blockquote>
<p><strong>NTP</strong></p>
<p>Why should you use NTP for a CME setup?</p>
<ul>
<li>Phones display correct time</li>
<li>Voicemails have the correct time</li>
<li>CDRs are timestamped accurately</li>
<li>Router logs are timestamped accurately</li>
<li>Time-based access worked predictably</li>
</ul>
<blockquote>
<p>R1(config)#ntp server 1.1.1.1<br />
		R1(config)#clock timezone MYTZ -5&nbsp; &lt;&#8211; Sets the timezone to a zone called MYTZ that&#39;s 5 hours behind UTC</p>
</blockquote>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/09/29/iiuc-notes-getting-phones-on-the-lan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ACLs and HSRP, BGP, OSPF, VRRP, GLBP&#8230;</title>
		<link>http://aconaway.com/2008/06/12/acls-and-hsrp-bgp-ospf-vrrp-glbp/</link>
		<comments>http://aconaway.com/2008/06/12/acls-and-hsrp-bgp-ospf-vrrp-glbp/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 13:18:03 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acls]]></category>
		<category><![CDATA[bgp]]></category>
		<category><![CDATA[bootps]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcpd]]></category>
		<category><![CDATA[eigrp]]></category>
		<category><![CDATA[glbp]]></category>
		<category><![CDATA[hsrp]]></category>
		<category><![CDATA[ospf]]></category>
		<category><![CDATA[RIP]]></category>
		<category><![CDATA[vrrp]]></category>
		<category><![CDATA[vrrp-e]]></category>

		<guid isPermaLink="false">http://aconaway.com/2008/06/12/acls-and-hsrp-bgp-ospf-vrrp-glbp/</guid>
		<description><![CDATA[Here&#8217;s a handy list of ACL entries to allow your devices to speak routing protocols, availability protocols, and some other stuff. We&#8217;ll assume you have ACL 101 applied to your Ethernet inbound; your Ethernet has an IP of 192.168.0.1. BGP : Runs on TCP/179 between the neighbors access-list 101 permit tcp any host 192.168.0.1 eq 179 EIGRP : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.10 access-list 101 permit eigrp any host 224.0.0.10 OSPF : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.5; also talks to 224.0.0.6 for DR/BDR routers access-list 101 permit ospf any host 224.0.0.5 access-list 101 permit ospf any host 224.0.0.6 HSRP : Runs on UDP/1985 from the source interface IP to the multicast address of 224.0.0.2. I&#8217;ve seen in the past that it runs on UDP/1985, but I didn&#8217;t find any evidence of that in a quick Google for it. Can someone verify? access-list 101 permit udp any host 224.0.0.2 eq 1985 HSRP version 2 : Runs on UDP/1985 from the source interface IP to the multicast address of 224.0.0.102. access-list 101 permit udp any host 224.0.0.2 eq [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a handy list of ACL entries to allow your devices to speak routing protocols, availability protocols, and some other stuff.  We&#8217;ll assume you have ACL 101 applied to your Ethernet inbound; your Ethernet has an IP of 192.168.0.1.</p>
<ul>
<li>BGP : Runs on TCP/179 between the neighbors</li>
</ul>
<p><code>access-list 101 permit tcp any host 192.168.0.1 eq 179</code></p>
<ul>
<li>EIGRP : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.10</li>
</ul>
<p><code>access-list 101 permit eigrp any host 224.0.0.10</code></p>
<ul>
<li>OSPF : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.5; also talks to 224.0.0.6 for DR/BDR routers</li>
</ul>
<p><code>access-list 101 permit ospf any host 224.0.0.5<br />
access-list 101 permit ospf any host 224.0.0.6</code></p>
<ul>
<li>HSRP : Runs on UDP/1985 from the source interface IP to the multicast address of 224.0.0.2.  <span style="text-decoration: line-through;">I&#8217;ve seen in the past that it runs on UDP/1985, but I didn&#8217;t find any evidence of that in a quick Google for it. Can someone verify?</span></li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.2 eq 1985<br />
</code></p>
<ul>
<li>HSRP version 2 : Runs on UDP/1985 from the source interface IP to the multicast address of 224.0.0.102.</li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.2 eq 1985<br />
</code></p>
<ul>
<li>RIP : Runs on UDP/520 from the source interface IP to the multicast address of 224.0.0.9</li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.9 eq 520</code></p>
<ul>
<li>VRRP : Runs on its own protocol number from the source interface IP to the multicast address of 224.0.0.18</li>
</ul>
<p><code>access-list 101 permit 112 any host 224.0.0.18</code></p>
<ul>
<li>VRRP-E : This is a Foundary thing according to readers, and runs on UDP/8888 from the source interface IP to the multicast address of 224.0.0.2</li>
</ul>
<p><code>access-list 101 permit 112 any host 224.0.0.2 eq 8888<br />
</code></p>
<ul>
<li>GLBP : Runs on UDP from the source interface IP to the multicast address of 224.0.0.102</li>
</ul>
<p><code>access-list 101 permit udp any host 224.0.0.102</code></p>
<ul>
<li>DHCPD (or bootps) : Runs on UDP/67 from 0.0.0.0 (since the client doesn&#8217;t have an address yet) to 255.255.255.255 (the broadcast).</li>
</ul>
<p><code>access-list 101 permit udp any host 255.255.255.255 eq 67</code><br />
If anyone else has one to add, do so in the comments.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2008/06/12/acls-and-hsrp-bgp-ospf-vrrp-glbp/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>DHCP on the ASA 5505</title>
		<link>http://aconaway.com/2008/04/02/dhcp-on-the-asa-5505/</link>
		<comments>http://aconaway.com/2008/04/02/dhcp-on-the-asa-5505/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 02:01:21 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[asa]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[lan]]></category>

		<guid isPermaLink="false">http://aconaway.com/2008/04/02/dhcp-on-the-asa-5505/</guid>
		<description><![CDATA[Let&#8217;s keep going with our example setup on the ASA 5505 and set up DHCP on this guy. You can set it up to either forward (relay) DHCP requests to a DHCP server somewhere or have it be the DHCP server. Let&#8217;s do it. To set up DHCP forwarding, you have to configure where the DHCP server is and then enable the relaying on the proper interfaces. Let&#8217;s say we have a DHCP server on the inside interface at 192.168.14.11 and we want it to serve IPs to the guests network. Setting up the DHCP server is beyond the scope here, so you&#8217;ll have to look elsewhere on how to set that up. dhcprelay server 192.168.14.11 inside dhcprelay enable guests Another piece of cake, right? Setting up the 5505 to be the DHCP server requires a few more lines, but, again, it&#8217;s easy. In the simplest setup, you only have to define your DHCP scopes and enable it on an interface. Let&#8217;s set up a DHCP scope for the inside interface of 192.168.14.101 &#8211; 120. dhcpd address 192.168.14.101-120 inside dhcpd enable inside You probably want to serve a DNS server to the DHCP clients as well. You have two options [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s keep going with <a href="http://aconaway.com/2008/04/01/setting-up-vlans-on-an-asa-5505/" title="AConaway.com -- Setting Up VLANs on an ASA 5505">our example setup on the ASA 5505</a> and set up DHCP on this guy.  You can set it up to either forward (relay) DHCP requests to a DHCP server somewhere or have it be the DHCP server.  Let&#8217;s do it.</p>
<p>To set up DHCP forwarding, you have to configure where the DHCP server is and then enable the relaying on the proper interfaces.  Let&#8217;s say we have a DHCP server on the inside interface at 192.168.14.11 and we want it to serve IPs to the <em>guests </em>network.  Setting up the DHCP server is beyond the scope here, so you&#8217;ll have to look elsewhere on how to set that up.</p>
<blockquote><p>dhcprelay server 192.168.14.11 inside<br />
dhcprelay enable guests</p></blockquote>
<p>Another piece of cake, right?</p>
<p>Setting up the 5505 to be the DHCP server requires a few more lines, but, again, it&#8217;s easy. In the simplest setup, you only have to define your DHCP scopes and enable it on an interface.  Let&#8217;s set up a DHCP scope for the inside interface of 192.168.14.101 &#8211; 120.</p>
<blockquote><p>dhcpd address 192.168.14.101-120 inside<br />
dhcpd enable inside</p></blockquote>
<p>You probably want to serve a DNS server to the DHCP clients as well.  You have two options &#8212; you can provide your own DNS server or have the 5505 serve the DNS servers it got from the upstream provider (like your cable modem provider) via DHCP.  To serve out your DNS server at 192.168.14.12, just do this.</p>
<blockquote><p>dhcpd dns 192.168.14.12</p></blockquote>
<p>Serving the same DNS servers that the firewall got from the provider via DHCP is a little weird.  Who puts underscores in commands?  Assuming your outside interface is toward your ISP, just do this.</p>
<blockquote><p> dhcpd auto_config outside</p></blockquote>
<p>There&#8217;s the basics, but you can do all sorts of stuff with it.  Change the lease time.  Set the default search domain.  Set a WINS server.  Notice one thing, though; there&#8217;s no way to configure a default gateway.  The ASA 5505 (and the rest of the 5500 series) only serve their own IPs as the default gateway, so be aware.</p>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2008/04/02/dhcp-on-the-asa-5505/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

