<?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>FrozenReality</title>
	<atom:link href="http://frozenreality.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://frozenreality.com</link>
	<description>Mental wanderings of a lost mind</description>
	<lastBuildDate>Mon, 13 Feb 2012 21:16:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Cisco SAF and CCD</title>
		<link>http://frozenreality.com/2012/02/13/cisco-saf-and-ccd/</link>
		<comments>http://frozenreality.com/2012/02/13/cisco-saf-and-ccd/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 21:14:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[CCD]]></category>
		<category><![CDATA[IP Telephony]]></category>
		<category><![CDATA[SAF]]></category>

		<guid isPermaLink="false">http://frozenreality.com/?p=275</guid>
		<description><![CDATA[I decided to take a stab at Cisco&#8217;s Call Control Discovery (CCD) which is the first application to utilize their Service Advertisement Framework (SAF). I was fairly unhappy with the lack of information available on the web to this end. So I&#8217;m spending some time writing up what I learned. I suggest reading the Cisco [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to take a stab at Cisco&#8217;s Call Control Discovery (CCD) which is the first application to utilize their Service Advertisement Framework (SAF).<br />
I was fairly unhappy with the lack of information available on the web to this end. So I&#8217;m spending some time writing up what I learned.<br />
I suggest reading the Cisco whitepapers on SAF and CCD deployment. I&#8217;m going to assume you have a basic knowledge of what the technology does.</p>
<p>I was looking for a way to use CCD to simplify a CUCM deployment with Tail-End Hop Off (TEHO).<br />
What I found out was that, in the end, there was no real configuration savings. I just ended up defining the patterns on the router instead of the CUCM.</p>
<p>Hopefully Cisco will, in future versions, provide additional options that will increase the flexibility of this technology.</p>
<p>So, to get started we need to build our SAF network. A couple of things to keep in mind:</p>
<ul>
<li>SAF requires IOS 15.0</li>
<li>If your interconnecting network does not support SAF, you will need loopback interfaces on your SAF routers.</li>
<li>SAF is an extension of EIGRP, but you do not need to run EIGRP as your routing protocol, it will work even if you use static routing since it operates in a separate instance.</li>
</ul>
<p>&nbsp;</p>
<p>Enabling SAF on routers</p>
<p><code><br />
router eigrp saf<br />
service-family ipv4 autonomous-system 10<br />
topology base<br />
neighbor 10.0.0.10 Loopback 10 remote 10<br />
</code><br />
Take not that the eigrp instance does not have to be named saf and the AS does not have to be 10.  But keep track of these values, whatever you make them.</p>
<p>To connect to a CUCM system, you will also need to configure an external client login on the system.  This is fairly straightforward.</p>
<p><code><br />
service-family external-client listen ipv4 5050<br />
external-client CUCM<br />
username safuser<br />
password safpassword123<br />
keepalive 360000<br />
</code></p>
<p>Again, CUCM was chosen at random, you can make it whatever you want, just keep track of the value.  You should note that the external client password must be at least 14 characters long.</p>
<p>You will also need to attach it to the eigrp instance.</p>
<p><code><br />
router eigrp saf<br />
service-family ipv4 autonomous-system 10<br />
topology base<br />
external-client CUCM<br />
</code></p>
<p>So with that our SAF networking is complete.  There are some other considerations if your network has point-to-multipoint connections in it.  Please reference the Cisco whitepapers for this as I am not going into detail on it.</p>
<p>Now for the CCD portion.  Remember,if you&#8217;re running 15.1 or higher to either disable the toll-fraud feature, or configure it properly, otherwise calls will fail.</p>
<p><code><br />
voice service voip<br />
no ip address trusted authenticate<br />
</code></p>
<p>Now for the CCD portion&#8230; Really this time.</p>
<p>First we need to enable the CCD service on the router.</p>
<p><code>voice service saf<br />
</code><br />
Then we create a trunk profile.  This tells other devices what protocol to contact us with.<br />
<code><br />
profile trunk-route 1<br />
session protocol sip interface Loopback 10 transport udp port 5060<br />
</code><br />
Next we need to define the &#8220;routes&#8221; to advertise.<br />
<code><br />
profile dn-block 1<br />
pattern 1 type global 1206XXXXXXX<br />
</code><br />
Still pretty straightforward right?</p>
<p>Next step is to build a callcontrol profile to tie them all together.  Note that the numbers next to <strong>dn-block</strong> and <strong>trunk-route</strong> match the ones defined above.<br />
<code><br />
profile callcontrol 1<br />
dn-service<br />
trunk-route 1<br />
dn-block 1<br />
</code><br />
Finally we need to associate the callcontrol profile(s) to our SAF instance as a channel.  Here&#8217;swhere we need to remember what we called our EIGRP instance and what AS we used.  I know this may seem pretty obvious, but it&#8217;s not entirely clear in Cisco&#8217;s whitepapers.<br />
<code><br />
channel 1 vrouter saf asystem 10<br />
subscribe callcontrol wildcarded<br />
publish callcontrol 1<br />
</code><br />
The <strong>subscribe</strong> line tells the router to listen to all (<strong>wildcarded</strong>) advertisements.  You can set this to only listen to specific ones.</p>
<p>The <strong>publish</strong> line advertisesour callcontrol profile to the SAF network.</p>
<p>With all that done, we can go to the CUCM.</p>
<p>First setup the SAF Security Profile</p>
<p><strong>Advanced Features → SAF → SAF Security Profile</strong></p>
<p>Create a new profile, give it a name.  Enter the username and password we used in the IOS <strong>external-client</strong> config above.</p>
<p>Save it.</p>
<p><strong>Advanced Features → SAF → SAF Forwarder</strong></p>
<p>Create a new Forwarder.  Give it a name.  Again use the external client config parameters for <strong>Client Label, SAF Forwarder Address, SAF Forwarder Port</strong>.  In the above example, this would be: CUCM, 10.0.0.5 (Loopback Addr), 5050.</p>
<p>Select the security profile you just created.  Save it.</p>
<p>Now go to : <strong>Call Routing → Call Control Discovery → Hosted DN Group</strong></p>
<p>Create a group, give it a name, save it.</p>
<p>Next : <strong>Call Routing → Call Control Discovery → Hosted DN Pattern</strong></p>
<p>This is our internal extension &#8220;route&#8221;.  Add your pattern as you expect it from the PSTN.  (i.e. 1XXX).  Assign it to your Hosted DN Group.  Save it.</p>
<p>Do this for all your internal DID blocks.</p>
<p>Whew!  Almost Done!</p>
<p>Go to <strong>Device → Trunk.</strong></p>
<p>Create a new trunk.</p>
<p><strong>Trunk Type: SIP</strong></p>
<p><strong>Service Type : Call Control Discovery</strong></p>
<p>Configure this trunk as you would any other gateway.  Save it.</p>
<p>Now go to : <strong>Call Routing → Call Control Discovery → Advertising Service</strong></p>
<p>Give it a name, select your SIP trunk (or H323) and the Hosted DN group you configured.</p>
<p>Save it.</p>
<p>Now we&#8217;ve advertised our routes into the SAF network, we just need to receive routes now.</p>
<p><strong>Call Routing → Call Control Discovery →Requesting Service</strong></p>
<p>Set the name and move the trunk from the Available box to the Selected box.</p>
<p>Save it.</p>
<p>All done!</p>
<p>You won&#8217;t see any of the learned routes in the CUCM.  But you can verify that it&#8217;s working by using RTMT.</p>
<p>There&#8217;s a lot more that can be done, but this is the basic configuration to get you going.  On most dial-plans you will want to make sure the patterns are placed into a certain partition, or take advantage of the AAR/PSTN failover features.</p>
<p>Good luck in your endeavors.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2012/02/13/cisco-saf-and-ccd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco IP Phone Remote Control</title>
		<link>http://frozenreality.com/2011/12/08/cisco-ip-phone-remote-control/</link>
		<comments>http://frozenreality.com/2011/12/08/cisco-ip-phone-remote-control/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 23:55:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[IP Telephony]]></category>
		<category><![CDATA[phoneremote]]></category>

		<guid isPermaLink="false">http://frozenreality.com/?p=254</guid>
		<description><![CDATA[Necessity, being the mother of invention, has caused me to develop a PHP application that can be used to remote control a Cisco IP phone.  I thought it might be of assistance to others, so here it is. If any of you find this helpful and wish to make a donation to the support and [...]]]></description>
			<content:encoded><![CDATA[<p>Necessity, being the mother of invention, has caused me to develop a <a href="http://php.net" target="_blank">PHP</a> application that can be used to remote control a Cisco IP phone.  I thought it might be of assistance to others, so here it is.</p>
<p>If any of you find this helpful and wish to make a donation to the support and further development of this software, please use the donation button on the right sidebar.</p>
<p>If you have any questions or requests or ideas for future releases, you may post them here.</p>
<p>Thank you,</p>
<p><a href="http://frozenreality.com/blog/wp-content/uploads/2011/12/IPRC.png"><img class="alignnone size-medium wp-image-261" title="IPRC" src="http://frozenreality.com/blog/wp-content/uploads/2011/12/IPRC-296x300.png" alt="" width="296" height="300" /></a></p>
<p><a href='http://frozenreality.com/blog/wp-content/uploads/2011/12/phoneremote.zip'>Download</a></p>
<p>Just add the files to your existing (or new) PHP enabled web server, update the creds.php file to your liking and you&#8217;re ready to go.  The software is not particularly secure, so make sure it&#8217;s behind a firewall please.</p>
<p>You will need to configure a user on your Communications Manager and associate it to all phones you want to be able to control.</p>
<p>Good luck!</p>
<p>&nbsp;</p>
<p>-S</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2011/12/08/cisco-ip-phone-remote-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Free Password Generator</title>
		<link>http://frozenreality.com/2011/08/15/free-password-generator/</link>
		<comments>http://frozenreality.com/2011/08/15/free-password-generator/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 20:05:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[PwGen]]></category>

		<guid isPermaLink="false">http://frozenreality.com/?p=249</guid>
		<description><![CDATA[I&#8217;ve been looking for a decent, convenient password generation tool. Haven&#8217;t really found one. So I decided to write one. Feedback is welcome, I&#8217;ll be adding features occasionally, so check back from time to time. The App uses Adobe Air and can be downloaded here. I will be building Android and iOS versions soon.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for a decent, convenient password generation tool.<br />
Haven&#8217;t really found one.<br />
So I decided to write one.<br />
Feedback is welcome, I&#8217;ll be adding features occasionally, so check back from time to time.</p>
<p>The App uses Adobe Air and can be downloaded <a href="http://frozenreality.com/software/PwGen.air" title="PwGen">here</a>.<br />
I will be building Android and iOS versions soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2011/08/15/free-password-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SIP Early Media in Communications Manager 8</title>
		<link>http://frozenreality.com/2011/02/23/sip-early-media-in-communications-manager-8/</link>
		<comments>http://frozenreality.com/2011/02/23/sip-early-media-in-communications-manager-8/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 23:55:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IP Telephony]]></category>
		<category><![CDATA[SIP]]></category>

		<guid isPermaLink="false">http://frozenreality.com/?p=237</guid>
		<description><![CDATA[I posted a short while back on this topic for older versions of Communications Manager.  Leave it to Cisco to move things around and make me do it again.  :) So here&#8217;s where you find the option : Go to Device -&#62; Device Settings -&#62; SIP Profile.  Select the profile you want to edit (If [...]]]></description>
			<content:encoded><![CDATA[<p>I posted a <a href="http://frozenreality.com/2009/10/16/sip-early-medi…anager-6-and-7/">short while back</a> on this topic for older versions of Communications Manager.  Leave it to Cisco to move things around and make me do it again.  :)</p>
<p>So here&#8217;s where you find the option :</p>
<p>Go to Device -&gt; Device Settings -&gt; SIP Profile.  Select the profile you want to edit (If you use the default profile, you will need to make a copy of it).</p>
<p>Scroll down to the bottom section (<strong>Trunk Specific Configuration</strong>) and find the <strong>SIP Rel1XX Options</strong> parameter.  Change it to <strong>Send PRACK if 1xx Contains SDP</strong>.</p>
<p>As I mentioned in the other post, this parameter tells the Communications Manager to send ACK packets back in response to 100 series SIP message received that contains an SDP section.</p>
<p>Press the Save button and you&#8217;re done.</p>
<p>If you had to copy the SIP Profile, you will now need to apply the profile to your SIP trunk, then reset it to apply the changes.</p>
<p><strong>Remember! </strong> Resetting the SIP Trunk will <strong><span style="color: #ff0000;">DROP </span></strong>all active calls.</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2011/02/23/sip-early-media-in-communications-manager-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s alive!</title>
		<link>http://frozenreality.com/2011/02/17/its-alive/</link>
		<comments>http://frozenreality.com/2011/02/17/its-alive/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 20:38:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Ranting]]></category>

		<guid isPermaLink="false">http://www.frozenreality.com/2011/02/17/its-alive/</guid>
		<description><![CDATA[I&#8217;ve changed my hosting from a personal server to an actual hosting company&#8230; I have mixed feelings about this since I no longer have direct control over my page&#8230; but it keeps me from having my service interrupted by local outages, migrations, etc. I still haven&#8217;t decided whether or not to migrate my eMail server&#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve changed my hosting from a personal server to an actual hosting company&#8230;<br />
I have mixed feelings about this since I no longer have direct control over my page&#8230; but it keeps me from having my service interrupted by local outages, migrations, etc.<br />
I still haven&#8217;t decided whether or not to migrate my eMail server&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2011/02/17/its-alive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Forwarding calls back across a SIP trunk between CUCM and CME</title>
		<link>http://frozenreality.com/2010/08/25/forwarding-calls-back-across-a-sip-trunk-between-cucm-and-cme/</link>
		<comments>http://frozenreality.com/2010/08/25/forwarding-calls-back-across-a-sip-trunk-between-cucm-and-cme/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 22:19:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[CME]]></category>
		<category><![CDATA[IP Telephony]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[Unity Connection]]></category>

		<guid isPermaLink="false">http://www.frozenreality.com/?p=210</guid>
		<description><![CDATA[So lets say you have a Cisco Unified Communications Manager (CUCM) system with Unity or Unity Connection. You also have a remote site running on Callmanager Express (CME) with a SIP trunk to the CUCM as the primary gateway. To keep costs down, you decided to use your centralized unity system as the VM provider [...]]]></description>
			<content:encoded><![CDATA[<p>So lets say you have a Cisco Unified Communications Manager (CUCM) system with Unity or Unity Connection. You also have a remote site running on Callmanager Express (CME) with a SIP trunk to the CUCM as the primary gateway. To keep costs down, you decided to use your centralized unity system as the VM provider rather than purchase the Unity Express module for the router.<br />
Here&#8217;s the problem: When you call an extension on the CME box and it rolls to voicemail, you get a fast busy.</p>
<p>If you do a debug, you will see the following messages:</p>
<p><code>Router# debug ccsip messages</code></p>
<p><code><br />
SIP/2.0 302 Moved Temporarily<br />
Via: SIP/2.0/UDP 192.168.1.10:5060;branch=4gsi4lsi84o57osh7j6ps<br />
From: &lt;sip:1000@192.168.1.10&gt;;tag=91837ae4-cf98-d1ae-7f23-95fe870ab193-d4875345<br />
To: &lt;sip:5000@192.168.2.1&gt;;tag=92FE84D7-CB6<br />
Date: Wed, 25 Aug 2010 22:00:00 GMT<br />
Call-ID: fe1edf80-c7519084-a9be7-5ff1bac@192.168.1.10<br />
CSeq: 101 INVITE<br />
Allow-Events: telephone-event<br />
Server: Cisco-SIPGateway/IOS-12.x<br />
Content-Length: 0<br />
</code></p>
<p>This SIP message tells the CUCM that the number has been forwarded. By default, the CUCM will not know what to do with this and so will return a reorder tone.</p>
<p>This is an easy problem to fix, though probably hard to describe in a few words.<br />
You could disable this SIP feature in IOS, but that would route all voice traffic for those users (to voicemail) out to the remote site and then back to the VM server. It works if your system doesn&#8217;t support this feature&#8230; but it&#8217;s not the best solution.</p>
<p>Instead we can just configure CUCM to reroute calls when it receives these messages.</p>
<p>Start by adding a new SIP profile if you use the Standard SIP Profile.<br />
Go to : <strong>Device -&gt; Device Settings -&gt; SIP Profile</strong><br />
Click on <strong>Find </strong>and select the <strong>Standard SIP Profile</strong><br />
Click the <strong>Copy</strong> button to create a copy, then give the copy a new name. Something like <em>Custom SIP Profile</em> or <em>Enhanced SIP Profile</em> is fine or use your own naming standard.<br />
Then before you save it, check the box that says <strong>Redirect by Application</strong>&#8230; this allows the CUCM system to process redirect messages on SIP devices using this profile.<br />
Then click <strong>Save</strong>.</p>
<p>Next we go configure our SIP Trunk<br />
<strong>Device -&gt; Trunk</strong><br />
Click the <strong>Find</strong> button and click on your <strong>Trunk name</strong>.<br />
Scroll all the way down. The second to the last line is your <strong>SIP profile</strong>. Change this to the custom profile we just created.<br />
Lastly we need to tell the trunk where to reroute calls to&#8230; look a few lines farther up and you&#8217;ll see a <strong>Rerouting Calling Search Space</strong> field. Set that to your outgoing CSS. (Or a CSS that provides access to your VM or other required services)<br />
<strong>Save</strong> the changes and <strong>Reset</strong> the trunk.</p>
<p>That&#8217;s it! The CUCM system will now process the SIP redirection messages and reroute the caller accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2010/08/25/forwarding-calls-back-across-a-sip-trunk-between-cucm-and-cme/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VMWare ESX and Openfiler &#8211; 95% shutdown</title>
		<link>http://frozenreality.com/2010/07/30/vmware-esx-and-openfiler-95-shutdown/</link>
		<comments>http://frozenreality.com/2010/07/30/vmware-esx-and-openfiler-95-shutdown/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 16:08:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.frozenreality.com/?p=204</guid>
		<description><![CDATA[Well this one certainly caused me some heartache. I&#8217;m posting it here in hopes that it helps someone else. I don&#8217;t remember when exactly it started or why, but I noticed that when I tried to shut down my virtual machines, they would lock up. I could not tell what was wrong with them and [...]]]></description>
			<content:encoded><![CDATA[<p>Well this one certainly caused me some heartache. I&#8217;m posting it here in hopes that it helps someone else.<br />
I don&#8217;t remember when exactly it started or why, but I noticed that when I tried to shut down my virtual machines, they would lock up. I could not tell what was wrong with them and if I tried to use VM -&gt; Power -&gt; Off they would get to 95% and then lock up.<br />
I would end up having to reboot the VMWare server to get them back online.<br />
While doing some VM upgrading, this was happening a lot. It got frustrating enough for me to start seriously trying to figure out the problem.<br />
Reviewing the VMWare server logs showed a lot of &#8220;Sync CR&#8221; messages in the log. These indicate reservation conflicts for SCSI control in VMWare.<br />
It seemed that for some reason, my problem was not VMWare, but the iSCSI initiator on Openfiler.<br />
For me this issue was resolved by restarting the iSCSI initiator service like this:<br />
<code>/etc/init.d/open-iscsi restart</code></p>
<p>This should be a last resort though, since, without properly shutting down your VMs, it WILL seriously anger the VMWare server and probably screw up any virtual machines running on the iSCSI drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2010/07/30/vmware-esx-and-openfiler-95-shutdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOS DHCP Server &#8211; Part 2 (Advanced Configuration)</title>
		<link>http://frozenreality.com/2010/04/14/ios-dhcp-server-part-2-advanced-configuration/</link>
		<comments>http://frozenreality.com/2010/04/14/ios-dhcp-server-part-2-advanced-configuration/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 20:03:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://www.frozenreality.com/?p=178</guid>
		<description><![CDATA[In Part 1 we covered the basic configuration of the DHCP. Now we&#8217;ll delve into some of the more advanced configuration aspects. Inherited Settings When a DHCPDISCOVER message is received by the router, Cisco IOS matches it against the list of DHCP pools and returns the DHCP options based on which pools matched the subnet [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.frozenreality.com/?p=155">Part 1</a> we covered the basic configuration of the DHCP. Now we&#8217;ll delve into some of the more advanced configuration aspects.</p>
<h3>Inherited Settings</h3>
<p>When a DHCPDISCOVER message is received by the router, Cisco IOS matches it against the list of DHCP pools and returns the DHCP options based on which pools matched the subnet the request came from.<br />
Did you catch that? I said <em>pools</em>&#8230; plural&#8230; if the pools overlap, it is possible for more than one DHCP pool to match a DHCPDISCOVER message. In this case the options are cascaded down through the matching pools with the more specific pool taking priority. Here&#8217;s an example:<br />
<code>ip dhcp pool GLOBAL<br />
 network 192.168.0.0 /22<br />
 dns-server 192.168.1.10 192.168.1.11<br />
ip dhcp pool DATA<br />
 network 192.168.1.0 /24<br />
 default-router 192.168.1.1<br />
ip dhcp pool VOICE<br />
 network 192.168.2.0 /24<br />
 default-router 192.168.2.1<br />
dns-server 192.168.2.10</code><br />
Assuming we get a DHCPDISCOVER request on the DATA VLAN, the request will be matched against the pools above. As you can see, the 192.168.1.0 network will match both the GLOBAL and the DATA pools. Since none of the options overlap, the DHCPOFFER will contain an IP address on the 192.168.1.0/24 network with 192.168.1.1 as the gateway router and dns servers of 192.168.1.10 and 192.168.1.11.<br />
However if the DHCPDISCOVER request was received on the VOICE VLAN, the result would be different. The DHCPOFFER would still contain an address on the 192.168.2.0/24 network with it&#8217;s proper gateway. However, the more specific matched pool (VOICE) would override the DNS server settings in GLOBAL. So the DHCPOFFER would only contain one DNS server (192.168.2.10).</p>
<h3>Manual Host Bindings</h3>
<p>What if we always want a specific host to get a certain IP address?<br />
We can create a manual binding for that host like this :<br />
<code>ip dhcp pool COMPUTER_NAME<br />
 hardware-address 0012.3456.789A<br />
 host 192.168.1.100 mask 255.255.255.0<br />
 client-name COMPUTER_NAME</code></p>
<p>If you have a lot of these, it helps to minimize the configuration if you use inheritance as discussed above. The DHCP pool name does not have to match the computer name, I just find it helpful if it does.  Also, the client-name command is not required except where network devices learn their hostname via DHCP.<br />
It should also be noted that Microsoft DHCP clients send a client identifier rather than the MAC address of their network card. The client identifier includes a media identification byte at the beginning of the value. The value for ethernet media is 1. Therefore the above DHCP pool configuration for a Microsoft Windows client would look like this<br />
<code>ip dhcp pool COMPUTER_NAME<br />
 client-identifier 0100.1234.5678.9A<br />
 host 192.168.1.100 mask 255.255.255.0<br />
 client-name COMPUTER_NAME</code></p>
<p>See how the client-identifier command includes the media type for ethernet (01) followed by the device MAC address?<br />
Both <strong>hardware-address</strong> and <strong>client-identifier</strong> can be configured at the same time.</p>
<h3>Persistance</h3>
<p>What happens when our router dies due to power failure or some other unfortunate event?  We would lose all of our precious DHCP bindings&#8230; ok maybe not that big a deal, they are dynamic and all&#8230;  But this can cause issues, especially on larger networks.  If there is no binding table, then the DHCP server will take longer as it tries to find an unused IP address.  In a densely populated network, it could take a long time before the server finally found an available IP address.  To cause the DHCP binding table to be stored in a more permanent location we can use the following commands.</p>
<p><code>ip dhcp database ftp://user:password@192.168.1.10/data-dhcp</code></p>
<p>This tells the system to store the DHCP binding table on an FTP server at 192.168.1.10 using the username &#8216;user&#8217; and the password &#8216;password&#8217;. The name of the file will be data-dhcp.<br />
By default, this file will only be updated every 5 minutes.  And will wait for up to 5 minutes for the FTP transaction to complete.  Both of these settings can be adjusted with optional parameters to the <strong>ip dhcp database</strong> command.</p>
<p>In the above example FTP was used as the transport protocol, but TFTP and RCP are supported as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2010/04/14/ios-dhcp-server-part-2-advanced-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOS DHCP Server &#8211; Part 1 (Basic DHCP)</title>
		<link>http://frozenreality.com/2010/04/13/ios-dhcp-server-part-1/</link>
		<comments>http://frozenreality.com/2010/04/13/ios-dhcp-server-part-1/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 15:55:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://www.frozenreality.com/?p=155</guid>
		<description><![CDATA[An often overlooked, but very powerful tool in the Cisco IOS, the DHCP service provides a full DHCP implementation on your router. In this 3 part post, I&#8217;m going to cover the basics of simple DHCP services as well as advanced configuration. To get started let&#8217;s do a quick review of DHCP functionality. When a [...]]]></description>
			<content:encoded><![CDATA[<p>An often overlooked, but very powerful tool in the Cisco IOS, the DHCP service provides a full DHCP implementation on your router. In this 3 part post, I&#8217;m going to cover the basics of simple DHCP services as well as advanced configuration.</p>
<p>To get started let&#8217;s do a quick review of DHCP functionality.</p>
<p>When a new host connects to the network, the first IP related action it takes (assuming DHCP here folks) is to request an address from the server. It does this by sending an unaddressed broadcast IP packet out to the network (DHCPDISCOVER). The packet still has the system&#8217;s MAC address attached to it, so the server knows which device is making the request. In most cases, the server (or servers) see this request and respond with an assigned IP address (DHCPOFFER).<br />
At this point the DHCP client will choose one of the offers that it received and send out another broadcast (DHCPREQUEST) which notifies all DHCP servers that an offer has been accepted. Any offer that was not accepted is invalidated on the server. The server that sent the accepted offer will then send out an aknowledgement to the client (DHCPACK).</p>
<p>All DHCP packets are sent via UDP with a port number of 68 on the client and 67 on the server.</p>
<p>So, how do we setup a simple DHCP server on IOS?</p>
<p><code>ip dhcp pool MYNETWORK<br />
 network 192.168.1.0 /24</code><br />
The name of the DHCP pool can be whatever you want, you just need to make sure it&#8217;s unique.<br />
And that&#8217;s it! Pretty worthless though without a default router or dns&#8230;<br />
Let&#8217;s add that in<br />
<code> default-router 192.168.1.1<br />
 dns-server 192.168.1.10 192.168.1.11</code><br />
At this point we have a fairly usable DHCP scope.<br />
Lets say that we want to reserve the first 10 addresses in the scope for servers, routers, switches, etc.<br />
We can do so like this<br />
<code>ip dhcp excluded-address 192.168.1.1 192.168.1.10</code><br />
If you only wanted to exclude one address, you would enter the one address in twice like this<br />
<code>ip dhcp excluded-address 192.168.1.10 192.168.1.10</code><br />
There are a few other commands that should be configured for basic DHCP. First is the domain name.<br />
<code> domain-name mydomain.com</code><br />
This command should be entered inside the ip dhcp pool block, so if you left dhcp pool configuration you&#8217;ll need to reenter that command.<br />
This assigns a domain name to your clients. Usage of this domain name is application specific. One example would be for DNS queries though. If your software is only given a hostname it may assume that the fully qualified name of the host is host.(dhcp assigned domain)<br />
The other command actually activates the DHCP server, without it the router will not respond to DHCP messages.<br />
<code>service dhcp</code><br />
Some may argue that this is a default command&#8230; Most of the time you&#8217;d be correct, but I&#8217;ve worked on some devices where this is not the case. So remember to enter this command if for some unknown reason your router doesn&#8217;t appear to be accepting DHCP packets.</p>
<p>That about wraps it up for basic DHCP. I&#8217;ll be following up with two other posts for <a href="http://www.frozenreality.com/?p=178 ">Advanced DHCP Settings</a> and DHCP Tuning</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2010/04/13/ios-dhcp-server-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inactive PC Port on Cisco 524SG Phones</title>
		<link>http://frozenreality.com/2009/10/20/inactive-pc-port-on-cisco-524sg-phones/</link>
		<comments>http://frozenreality.com/2009/10/20/inactive-pc-port-on-cisco-524sg-phones/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 22:39:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Informational]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IP Telephony]]></category>
		<category><![CDATA[UC-500]]></category>

		<guid isPermaLink="false">http://www.frozenreality.com/?p=151</guid>
		<description><![CDATA[Some of the older UC520 systems were shipped with other firmware versions for the 521 and 524 phones.  It seems there are a number of feature upgrades with the newer firmwares.  One of which is the ability to enable the switch port on a 524SG model phone. You should load at least 8.1.13 or higher [...]]]></description>
			<content:encoded><![CDATA[<p>Some of the older UC520 systems were shipped with other firmware versions for the 521 and 524 phones.  It seems there are a number of feature upgrades with the newer firmwares.  One of which is the ability to enable the switch port on a 524SG model phone.</p>
<p>You should load at least 8.1.13 or higher firmware on the system.</p>
<p>Don&#8217;t forget to setup the <code><strong>tftp-server</strong></code> and <code><strong>load</strong></code> commands so that your phone updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://frozenreality.com/2009/10/20/inactive-pc-port-on-cisco-524sg-phones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

