<?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>Computer Support &#187; server</title>
	<atom:link href="http://www.xiitec.com/blog/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Finding the DHCP Servers on a Subnet</title>
		<link>http://www.xiitec.com/blog/2008/02/22/finding-the-dhcp-servers-on-a-subnet/</link>
		<comments>http://www.xiitec.com/blog/2008/02/22/finding-the-dhcp-servers-on-a-subnet/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 20:44:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[subnet]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=174</guid>
		<description><![CDATA[This is useful if you believe there is a rogue DHCP Server causing problems for your clients.
The dhcploc command lets you see a computer&#8217;s DHCP traffic for a broadcast domain. Simply pass in the IP address of the machine from which you are running the command:
&#62; dhcploc 192.168.32.24

You will not see any output from the [...]]]></description>
			<content:encoded><![CDATA[<p>This is useful if you believe there is a rogue DHCP Server causing problems for your clients.</p>
<p>The dhcploc command lets you see a computer&#8217;s DHCP traffic for a broadcast domain. Simply pass in the IP address of the machine from which you are running the command:</p>
<pre>&gt; dhcploc 192.168.32.24</pre>
<p><span id="more-174"></span></p>
<p>You will not see any output from the command until it captures some DHCP traffic. You can try running ipconfig /renew to force some traffic to be generated. You can also press the &#8220;d&#8221; key when you have dhcploc running to have it generate a DISCOVER message.</p>
<p>Here is some sample output from the command:</p>
<pre>9:34:58 (IP)0.0.0.0        NACK      (S)192.168.31.84     ***
 9:36:38 (IP)192.168.190.130 OFFER     (S)192.168.12.226   ***
 9:36:38 (IP)192.168.196.231 ACK       (S)192.168.13.53
 9:36:53 (IP)192.168.196.231 ACK       (S)192.168.13.53
 9:37:05 (IP)192.168.196.234 OFFER     (S)192.168.13.53
 9:37:05 (IP)192.168.193.232 OFFER     (S)192.168.12.198
 9:37:06 (IP)192.168.190.132 OFFER     (S)192.168.12.221   ***</pre>
<p>The first column contains a timestamp, the second column is the IP address of the target computer, the third is the DHCP request type, the fourth is the IP address of the DHCP Server, and the fifth is a flag that indicates whether the DHCP Server is authorized. If it is not authorized, you&#8217;ll see three stars (***). In the previous output, you can see that 192.168.31.84, 192.168.12.226, and 192.168.12.221 are all unauthorized DHCP Servers.</p>
<p>dhcploc can also send alerts if it detects an unauthorized server. This allows you to start dhcploc, leave it running, and let it proactively notify you when it discovers an unauthorized server. To do so, specify the /a: option followed by the list of users to alert as shown here:</p>
<pre>&gt; dhcploc /a:"rallen" 192.168.32.24</pre>
<p>dhcploc works by capturing all of the DHCP traffic it sees on the network. Since most DHCP traffic is sent via broadcast, every computer in the broadcast domain (e.g., all computers connected to a hub on a local segment), can look at DHCP traffic. Most computers simply discard the traffic unless it is destined for them, but dhcploc captures all DHCP traffic.</p>
<p>Do not run dhcploc from a DHCP Server. DHCP traffic will be delivered to dhcploc instead of the DHCP Server. By running the command directly on a DHCP Server, it is likely the server won&#8217;t be able to respond to any client requests.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/22/finding-the-dhcp-servers-on-a-subnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authorizing a DHCP Server</title>
		<link>http://www.xiitec.com/blog/2008/02/20/authorizing-a-dhcp-server/</link>
		<comments>http://www.xiitec.com/blog/2008/02/20/authorizing-a-dhcp-server/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 00:30:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[authorize]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=158</guid>
		<description><![CDATA[Windows 2000 and Windows Server 2003-based DHCP servers that belong to an Active Directory domain must be authorized before they can give out leases to clients. This feature helps reduce the danger of a rogue Windows 2000 or Windows Server 2003 DHCP Server that an end-user sets up, perhaps unintentionally. A rogue DHCP Server can [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 2000 and Windows Server 2003-based DHCP servers that belong to an Active Directory domain must be authorized before they can give out leases to clients. This feature helps reduce the danger of a rogue Windows 2000 or Windows Server 2003 DHCP Server that an end-user sets up, perhaps unintentionally. A rogue DHCP Server can provide incorrect lease information or deny lease requests altogether, ultimately causing a denial of service for clients on your network.</p>
<p><span id="more-158"></span></p>
<p>If the DHCP Server service is enabled on a domain controller, it is automatically authorized. A DHCP Server that is a member server of an Active Directory domain performs a query in Active Directory to determine whether it is authorized. If it is, it will respond to DHCP requests; if not, it will not respond to requests.</p>
<p>A standalone DHCP server that is not a member of an Active Directory domain sends out a DHCPINFORM message when it first initializes. If an authorized DHCP Server responds to the message, the standalone server will not respond to any further DHCP requests. If it does not receive a response from a DHCP Server, it will respond to client requests and give out leases.</p>
<p>DHCP servers are represented in Active Directory as objects of the dhcpClass class, which can be found in the cn=NetServices,cn=Services,cn=Configuratation,<forestrootdn> container. The relative distinguished name of these objects is the DHCP Server&#8217;s IP address. There is also an object in the same container named cn=dhcpRoot, which is created after the first DHCP Server is authorized. It has an attribute named dhcpServers that contains all authorized servers. I enumerated this attribute in the VBScript solution to display all authorized servers.</forestrootdn></p>
<p>By default, only members of the Enterprise Admins group can authorize DHCP Servers. You, however, can delegate the rights to authorize a DHCP Server. Do the following to delegate the necessary permissions to a group called DHCP Admins:</p>
<ol>
<li>Open ADSI Edit from the Support Tools while logged on as a member of the Enterprise Admins group.</li>
<li>In the left pane, expand the Configuration Container  CN=Configuration  CN=Services  CN=NetServices.</li>
<li>Right-click on CN=NetServices and select Properties.</li>
<li>Select the Security tab.</li>
<li>Click the Advanced button.</li>
<li>Click the Add button.</li>
<li>Use the object picker to select the DHCP Admins group.</li>
<li>Check the boxes under Allow for Create dHCPClass objects and Delete dHCPClass objects.</li>
<li>Click OK until all dialog boxes are closed.</li>
<li>Back in the left pane of ADSI Edit, right-click on CN=dhcpRoot (if you&#8217;ve previously authorized DHCP Servers) and select Properties.</li>
<li>Select the Security tab.</li>
<li>Click the Advanced button.</li>
<li>Click the Add button.</li>
<li>Use the object picker to select the DHCP Admins group.</li>
<li>Check the boxes under Allow for Write.</li>
<li>Click OK until all dialog boxes are closed.</li>
</ol>
<p><strong>Using a graphical user interface</strong></p>
<p>Windows 2000 DHCP Servers cannot be authorized with the Windows Server 2003 version of the DHCP snap-in unless the DHCP Server has Service Pack 2 or higher installed.</p>
<ol>
<li>Open the DHCP snap-in.</li>
<li>In the left pane, right-click on DHCP and select Add Server.</li>
<li>Type in the name of the DHCP Server you want to target and click OK.</li>
<li>Click on the server entry in the left pane.</li>
<li>Right-click on the server and select Authorize.</li>
</ol>
<p>If the DHCP Server is not a member of an Active Directory domain, you will not see the Authorize option.</p>
<p><strong>Using a command-line interface</strong></p>
<p>The following command authorizes a DHCP Server in Active Directory:</p>
<pre>&gt; netsh dhcp add server <dhcpservername> <dhcpserverip></dhcpserverip></dhcpservername></pre>
<p>This example shows how to authorize the DHCP Server named dhcp01.rallencorp.com with IP 192.168.191.15:</p>
<pre>&gt; netsh dhcp add server dhcp01.rallencorp.com 192.168.191.15</pre>
<p><strong>Using VBScript</strong></p>
<p>See the Introduction for more information on how to run the netsh command from within a script. The following script prints out the list of authorized DHCP Servers in Active Directory:</p>
<pre>' ------ SCRIPT CONFIGURATION ------
 strForestRootDN = "<forestrootdn>"  ' e.g., dc=rallencorp,dc=com
 ' ------ END CONFIGURATION ---------
 set objCont = GetObject("LDAP://CN=DhcpRoot,CN=NetServices,CN=Services," &amp; _
                         "CN=Configuration," &amp; strForestRootDN)
 colDHCPServers = objCont.GetEx("dhcpServers")
 for each strDHCPServer in colDHCPServers
    Wscript.Echo strDHCPServer
 next</forestrootdn></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/20/authorizing-a-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing DHCP Server</title>
		<link>http://www.xiitec.com/blog/2008/02/20/installing-dhcp-server/</link>
		<comments>http://www.xiitec.com/blog/2008/02/20/installing-dhcp-server/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 00:26:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=157</guid>
		<description><![CDATA[The DHCP Server service is an optional Windows Component, so you can install it using the Add or Remove Programs applet in the Control Panel. There are no configuration options when you install the DHCP Server, so installation is a breeze. After you&#8217;ve installed the service, you&#8217;ll need to authorize the server, if you have [...]]]></description>
			<content:encoded><![CDATA[<p>The DHCP Server service is an optional Windows Component, so you can install it using the Add or Remove Programs applet in the Control Panel. There are no configuration options when you install the DHCP Server, so installation is a breeze. After you&#8217;ve installed the service, you&#8217;ll need to authorize the server, if you have an Active Directory environment.</p>
<p><span id="more-157"></span></p>
<p><strong>Using a graphical user interface</strong></p>
<ol>
<li> From the Control Panel, open the Add or Remove Programs applet.</li>
<li>Click Add/Remove Windows Components.</li>
<li>Double-click Network Services.</li>
<li>Check the box beside Dynamic Host Configuration Protocol (DHCP).</li>
<li>Click OK.</li>
<li>Click Next.</li>
<li>Click Finish.</li>
</ol>
<p><strong>Using a command-line interface</strong></p>
<p>First, create a file using a text editor such as Notepad with the following contents:</p>
<pre>[netoptionalcomponents]
 dhcpserver=1</pre>
<p>Next, use the sysocmgr.exe utility with the following parameters (assuming the file you just created is named c:\dhcp_install.txt):</p>
<pre>&gt; sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\dhcp_install.txt</pre>
<p>If the server you installed DHCP on is multihomed (i.e., has multiple active network adapters), you&#8217;ll want to make sure the correct network adapters are enabled for use by the DHCP Server. You can enable or disable adapters for use by DHCP Server by doing the following:</p>
<ol>
<li>Open the DHCP snap-in.</li>
<li>In the left pane, click on the server node.</li>
<li>From the menu, select Action  &gt; Properties.</li>
<li>Select the Advanced tab.</li>
<li>Click the Bindings button.</li>
<li>Make sure the interfaces where the DHCP Server should respond are checked.</li>
<li>Click OK until all dialog boxes are closed.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/20/installing-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

