<?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>gHacks technology news &#187; dhcp server</title>
	<atom:link href="http://www.ghacks.net/tag/dhcp-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 09:43:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configure your Ubuntu Server as a DHCP server</title>
		<link>http://www.ghacks.net/2009/09/07/configure-your-ubuntu-server-as-a-dhcp-server/</link>
		<comments>http://www.ghacks.net/2009/09/07/configure-your-ubuntu-server-as-a-dhcp-server/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 22:41:06 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials Advanced]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[dhcp server]]></category>
		<category><![CDATA[dhcp3-server]]></category>
		<category><![CDATA[linux dhcp server]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=16071</guid>
		<description><![CDATA[In my recent Ubuntu Server articles I have covered the following topics:
Installing Ubuntu Server 9.04
Set up your new Ubuntu Server as a Samba server
Add FTP service to your Ubuntu Server
Now it&#8217;s time to get a bit deeper in the trenches by configuring that same Ubuntu server to serve up DHCP addresses. You might think this [...]]]></description>
			<content:encoded><![CDATA[<p>In my recent Ubuntu Server articles I have covered the following topics:</p>
<p><a title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04</a></p>
<p><a title="Set up your new Ubuntu Server as a Samba Server" href="http://www.ghacks.net/2009/09/04/set-up-your-new-ubuntu-server-as-a-samba-server/" target="_blank">Set up your new Ubuntu Server as a Samba server</a></p>
<p><a title="Add FTP service to your Ubuntu server" href="http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/" target="_blank">Add FTP service to your Ubuntu Server</a></p>
<p>Now it&#8217;s time to get a bit deeper in the trenches by configuring that same Ubuntu server to serve up DHCP addresses. You might think this is a difficult setup, but it&#8217;s not. And many might be asking &#8220;Why do this when my router does the trick?&#8221; Most routers do a good job of serving up DHCP addresses. But there are times when those routers aren&#8217;t as configurable as we&#8217;d like them. Or maybe you want your DHCP server/router to also act as a much stronger firewall than what a standard router can handle. In these cases it&#8217;s nice to be able to set up your own DHCP server. And in this article, we will do just that.</p>
<p><span id="more-16071"></span><strong>Nuts and bolts</strong></p>
<p>The information you should know about the DHCP server in this article looks like this (for examples&#8217; sake):</p>
<ul>
<li>ethernet device: eth0</li>
<li>IP Address range: 192.168.1.100 &#8211; 192.168.1.200</li>
<li>Subnet address: 192.168.1.0</li>
<li>Netmask: 255.255.255.0</li>
<li>DNS Servers: 208.67.222.222 and 208.67.220.220 (OpenDNS for those who do not know)</li>
<li>Domain: my.example.net</li>
<li>Gateway Address: 192.168.1.1</li>
<li>Broadcast Address: 192.168.1.255</li>
</ul>
<p>What you will need to do install the dhcp3-server package in order to serve up the addresses. To install this issue the command:</p>
<p><em>sudo apt-get install dhcp3-server</em></p>
<p>You will need to enter your sudo password for the installation to begin. When the installation is complete you will have the configuration file (dhcp3-server) located in <strong>/etc/default/</strong> and the executable command (dhcp3-server) will be located in <strong>/etc/init.d/</strong>.</p>
<p>Before you fire up the server you first must handle some configuration.</p>
<p><strong>Configuration</strong></p>
<p>The first configuration is to set the ethernet device. Open up the configuration file with the command:</p>
<p><em>nano /etc/default/dhcp3-server</em></p>
<p>On line 11 of this file (Which is actually the last line because this file is basically empty) you will see the line:</p>
<p>INTERFACES=&#8221;"</p>
<p>Change this line to read:</p>
<p>INTERFACES=&#8221;eth0&#8243;</p>
<p>You are finished with this file. Save the file and then open up the file <strong>/etc/dhcp3/dhcpd.conf</strong>. The first line you will need to edit is line 16. This line will look like this:<br />
<code># option definitions common to all supported networks...<br />
option domain-name "example.org";<br />
option domain-name-servers ns1.example.org, ns2.example.org;</code></p>
<p><code>default-lease-time 600;<br />
max-lease-time 7200;</code></p>
<p>You need to comment out all of those lines so they look like:<br />
<code># option definitions common to all supported networks...<br />
#option domain-name "example.org";<br />
#option domain-name-servers ns1.example.org, ns2.example.org;</code></p>
<p><code>#default-lease-time 600;<br />
#max-lease-time 7200;</code></p>
<p>Now go down to line 53. Here you will see this section:<br />
<code># A slightly different configuration for an internal subnet.<br />
#subnet 10.5.5.0 netmask 255.255.255.224 {<br />
#  range 10.5.5.26 10.5.5.30;<br />
#  option domain-name-servers ns1.internal.example.org;<br />
#  option domain-name "internal.example.org";<br />
#  option routers 10.5.5.1;<br />
#  option broadcast-address 10.5.5.31;<br />
#  default-lease-time 600;<br />
#  max-lease-time 7200;<br />
#}</code></p>
<p>This section needs to be uncommented out and edited to reflect this:<br />
<code># A slightly different configuration for an internal subnet.<br />
subnet 192.168.1.0 netmask 255.255.255.0 {<br />
range 192.168.1.100 192.168.1.200;<br />
option domain-name-servers 208.67.222.222, 208.67.220.220;<br />
option domain-name "my.example.net";<br />
option routers 192.168.1.1;<br />
option broadcast-address 192.168.1.255;<br />
default-lease-time 600;<br />
max-lease-time 7200;<br />
}</code></p>
<p>Save this file and you are ready to fire up your DHCP server.</p>
<p><strong>Starting the service</strong></p>
<p>To start the DHCP server issue the command:</p>
<p><strong>/etc/init.d/dhcp3-server start</strong></p>
<p>You should see no errors. Once your server is up and running go to one of your machines and restart the networking. You should get a new IP address as well as the DNS addresses configured. If your machine does not find the server you may have to configure the DHCP server IP address. This should not be necessary, but it&#8217;s good to know in a pinch.</p>
<p><strong>Final thoughts</strong></p>
<p>You probably didn&#8217;t realize how simple it would be to set up a DHCP server did you? Now you know. This set up should make for a very reliable DHCP server for your internal network.</p>

	Tags: <a href="http://www.ghacks.net/tag/dhcp-server/" title="dhcp server" rel="tag">dhcp server</a>, <a href="http://www.ghacks.net/tag/dhcp3-server/" title="dhcp3-server" rel="tag">dhcp3-server</a>, <a href="http://www.ghacks.net/tag/linux-dhcp-server/" title="linux dhcp server" rel="tag">linux dhcp server</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/07/06/microsoft-rogue-detection-tool/" title="Microsoft Rogue Detection Tool (July 6, 2009)">Microsoft Rogue Detection Tool</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/09/07/configure-your-ubuntu-server-as-a-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Microsoft Rogue Detection Tool</title>
		<link>http://www.ghacks.net/2009/07/06/microsoft-rogue-detection-tool/</link>
		<comments>http://www.ghacks.net/2009/07/06/microsoft-rogue-detection-tool/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 18:02:50 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcp scanner]]></category>
		<category><![CDATA[dhcp server]]></category>
		<category><![CDATA[microsoft rogue detection tool]]></category>
		<category><![CDATA[rogue dhcp]]></category>
		<category><![CDATA[rogue-remover]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[windows dhcp]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14177</guid>
		<description><![CDATA[Rogue DHCP Server Detection Tool has been created by the Microsoft Windows DHCP Team to provide system administrators and users with a tool to detect rogue DHCP servers. The team classifies rogue DHCP servers as servers that have been unintentionally misconfigured, unauthorized unknowingly or configured with malicious intent. The impact of these servers on clients [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/microsoft_windows.jpg" alt="microsoft windows" title="microsoft windows" width="128" height="128" class="alignleft size-full wp-image-11907" />Rogue DHCP Server Detection Tool has been created by the Microsoft Windows DHCP Team to provide system administrators and users with a tool to detect rogue DHCP servers. The team classifies rogue DHCP servers as servers that have been unintentionally misconfigured, unauthorized unknowingly or configured with malicious intent. The impact of these servers on clients that are served by it can be quite critical including the possibilities for network access problems but also sniffing network traffic sent by clients.</p>
<p>The security program is a portable application that can be started right after downloading it from the Technet servers. It will display a graphical user interface that will list all discovered DHCP servers. A click on the Detect Rogue Server button is required to initiate the scan of the computer network.</p>
<p><span id="more-14177"></span><img src="http://www.ghacks.net/wp-content/uploads/2009/07/microsoft_rogue_detection_tool.jpg" alt="microsoft rogue detection tool" title="microsoft rogue detection tool" width="491" height="454" class="alignnone size-full wp-image-14178" /></p>
<p>The Microsoft Rogue Detection Tool will then display all DHCP servers in the list that it considers rogue servers (It is not clear if it classifies all servers as rogue servers in the beginning). Information like the server IP, gateway address and offered client IP are displayed in the list. It is possible to check the valid DHCP server box to classify the server as a valid server which will make that information persistent.</p>
<p>The program can be configured to run once or at specified intervals. It is furthermore possible to select only specific interfaces. Currently only IPv4 interfaces are supported with plans to add IPv6 interfaces in the future.</p>
<p>Microsoft&#8217;s Rogue Detection Tool can be downloaded from the announcement <a href="http://blogs.technet.com/teamdhcp/archive/2009/07/03/rogue-dhcp-server-detection.aspx">page</a> over at the DHCP Team blog.</p>

	Tags: <a href="http://www.ghacks.net/tag/dhcp/" title="dhcp" rel="tag">dhcp</a>, <a href="http://www.ghacks.net/tag/dhcp-scanner/" title="dhcp scanner" rel="tag">dhcp scanner</a>, <a href="http://www.ghacks.net/tag/dhcp-server/" title="dhcp server" rel="tag">dhcp server</a>, <a href="http://www.ghacks.net/tag/microsoft-rogue-detection-tool/" title="microsoft rogue detection tool" rel="tag">microsoft rogue detection tool</a>, <a href="http://www.ghacks.net/tag/rogue-dhcp/" title="rogue dhcp" rel="tag">rogue dhcp</a>, <a href="http://www.ghacks.net/tag/rogue-remover/" title="rogue-remover" rel="tag">rogue-remover</a>, <a href="http://www.ghacks.net/tag/server/" title="server" rel="tag">server</a>, <a href="http://www.ghacks.net/tag/windows-dhcp/" title="windows dhcp" rel="tag">windows dhcp</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/11/16/wiredtree-review-after-four-months/" title="Wiredtree Review After Four Months (November 16, 2009)">Wiredtree Review After Four Months</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/08/05/windows-ssh-server-winsshd/" title="Windows SSH Server WinSSHD (August 5, 2009)">Windows SSH Server WinSSHD</a> (3)</li>
	<li><a href="http://www.ghacks.net/2007/12/29/windows-home-server-has-a-problem/" title="Windows Home Server has a problem (December 29, 2007)">Windows Home Server has a problem</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/10/25/windows-file-server/" title="Windows File Server (October 25, 2009)">Windows File Server</a> (7)</li>
	<li><a href="http://www.ghacks.net/2008/10/10/windows-2003-software/" title="Windows 2003 Software (October 10, 2008)">Windows 2003 Software</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/06/microsoft-rogue-detection-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
