<?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>ItsyourIP.com &#187; DHCP</title>
	<atom:link href="http://www.itsyourip.com/category/dhcp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsyourip.com</link>
	<description>Your gateway to Internet</description>
	<lastBuildDate>Sat, 24 Jan 2009 16:48:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.itsyourip.com</link>
<url>http://www.itsyourip.com/wp-content/mbp-favicon/Internet-Alt.ico</url>
<title>ItsyourIP.com</title>
</image>
		<item>
		<title>How to configure DHCP server on Cisco Routers and switches with Cisco IOS</title>
		<link>http://www.itsyourip.com/cisco/how-to-configure-dhcp-server-on-cisco-routers-and-switches-with-cisco-ios/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-configure-dhcp-server-on-cisco-routers-and-switches-with-cisco-ios</link>
		<comments>http://www.itsyourip.com/cisco/how-to-configure-dhcp-server-on-cisco-routers-and-switches-with-cisco-ios/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 16:07:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[default-gateway]]></category>
		<category><![CDATA[dhcp-server]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[domain-name]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/cisco/how-to-configure-dhcp-server-on-cisco-routers-and-switches-with-cisco-ios/</guid>
		<description><![CDATA[DHCP, Dynamic Host Configuration Protocol&#160; is the protocol used by network devices like a PC or a printer (DHCP clients) to obtain IP Address, Default Gateway, Domain Name, DNS Servers, NetBIOS servers and more that helps the device to work properly in an IP Network. While in an ideal scenario, most if not all organisations [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>DHCP, Dynamic Host Configuration Protocol&nbsp; is the protocol used by network devices like a PC or a printer (DHCP clients) to obtain IP Address, Default Gateway, Domain Name, DNS Servers, NetBIOS servers and more that helps the device to work properly in an IP Network.</p>
<p>While in an ideal scenario, most if not all organisations run the DHCP server on&nbsp; a Windows server or a Linux/Unix server. While this is justfiable in bigger corporate and enterprise networks, a smaller network like a branch office can be supported by a local Router, Switch or a Firewall can run a DHCP server without the need of an additional server hardware to run DHCP. Most of the routers, firewalls and some switches do have a DHCP server builtin. Most of the new Cisco Routers and Switches running Cisco IOS can run a DHCP server.</p>
<p><span id="more-141"></span>The following procedure helps you to setup a Cisco Router or a Catalyst Switch as DHCP server (I use a Cisco Router here):</p>
<p><strong><u>Enable DHCP Service on the Router</u></strong></p>
<blockquote><p><strong>dhcp-router# conf t</strong></p>
<p><strong>dhcp-router(config)# service dhcp</strong></p>
</blockquote>
<p><strong><u>Create DHCP IP Pool</u></strong></p>
<blockquote><p><strong>dhcp-router(config)# ip dhcp pool IP-POOL</strong></p>
</blockquote>
<p>where IP-POOL is the name of the DHCP IP Pool</p>
<p><strong><u>Add Network &amp; subnet mask to the DHCP Pool</u></strong></p>
<blockquote><p><strong><u><br /> </u></strong>&nbsp;<strong>dhcp-router(dhcp-config)# network 192.168.1.0 /24</strong></p>
</blockquote>
<p><strong><u>Add Default Gateway for the clients</u></strong></p>
<blockquote><blockquote>
<p><strong>dhcp-router(dhcp-config)# default-router</strong></p>
</blockquote>
</blockquote>
<p><strong><u>Specify the Domain Name for the clients</u></strong></p>
<blockquote><p>dhcp-router(dhcp-config)# domain-name mycompany.com</p>
</blockquote>
<p><strong><u>Specify the DNS Servers for the Clients</u></strong></p>
<blockquote><p>dhcp-router(dhcp-config)# dns-server 192.168.1.10 192.168.1.11</p>
</blockquote>
<p>where 192.16.1.10&amp;11 are the IP address of the local DNS servers&nbsp;</p>
<p><strong><u>Specify the NetBIOS WINS Servers for the Clients (if any)</u></strong></p>
<blockquote><p align="left">dhcp-router(dhcp-config)# netbios-name-server 192.168.1.12</p>
</blockquote>
<p>where 192.16.1.12 is the Microsoft WINS server&nbsp;</p>
<p><strong><u>Set the lease period</u></strong></p>
<blockquote><p><strong>dhcp-router(dhcp-config)# lease 8</strong></p>
</blockquote>
<p>Sets the Lease for 8 days.</p>
<p><strong><u>Add Exclusion list (if any)</u></strong></p>
<blockquote><p><strong>dhcp-router(config)# ip dhcp exclude-address 192.168.1.25 192.168.1.35</strong></p>
</blockquote>
<p>Where 192.168.1.25 &amp; 192.168.1.35 are the Start and End IPs for the range of IPs to be excluded.</p>
<p>This will configure the DHCP server on a Cisco Router or Switch.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fcisco%2Fhow-to-configure-dhcp-server-on-cisco-routers-and-switches-with-cisco-ios%2F';
  addthis_title  = 'How+to+configure+DHCP+server+on+Cisco+Routers+and+switches+with+Cisco+IOS';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/cisco/how-to-configure-dhcp-server-on-cisco-routers-and-switches-with-cisco-ios/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Dnsmasq &#8211; Opensource DNS Server Forwarder &amp; DHCP Server</title>
		<link>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dnsmasq-opensource-dns-server-forwarder-dhcp-server</link>
		<comments>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 16:41:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dns-forwarder]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[routers]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/</guid>
		<description><![CDATA[Dnsmasq is an opensource light-weight,easy to configure and administer DNS and a DHCP Server. Dnsmasq is ideally suitable for smaller networks like Small Office and Home Office networks (SOHO) and branch office networks. Dnsmasq can be run on old PC and is very easy to configure and administer. Dnsmasq is seen to support upto 1000 [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Dnsmasq is an opensource light-weight,easy to configure and administer DNS and a DHCP Server. Dnsmasq is ideally suitable for smaller networks like Small Office and Home Office networks (SOHO) and branch office networks. Dnsmasq can be run on old PC and is very easy to configure and administer. Dnsmasq is seen to support upto 1000 nodes on a network.</p>
<p><span id="more-129"></span></p>
<p>In essence, Dnsmasq is a Caching nameserver and a DNS forwarder with DHCP enabled on it. Dnsmasq can provide nameservice for local hosts while forwarding the queries for global public resources to a Public DNS Server (like an ISP DNS server). So, small networks which are behind a DSL/ADSL router or even a modem link and share a single internet connection can make the best use of Dnsmasq.</p>
<p>Dnsmasq is included in most of the opensource firewalls and opensource router firmware and in the most common Linux distributions. Some of them include:</p>
<p><strong>Opensource Firewalls:</strong></p>
<p><em>IPCop / Smoothwall / floppyfw / Firebox / LEAF / m0n0wall / PfSense / Endian Firewall / ClarkConnect</em></p>
<p><strong>Opensource router firmware:</strong></p>
<p><em>dd-wrt / openwrt / stock firmware / fli4l</em></p>
<p><strong>Linux Distributions:</strong></p>
<p><em>Debian / Gentoo / Slackware / Suse / Fedora / Coyote Linux</em></p>
<p><strong>*BSD</strong></p>
<p><em>FreeBSD / OpenBSD / NetBSD</em></p>
<p>Some of the highlighting features of Dnsmasq are as follows:</p>
<ul>
<li>Automatically update the Public DNS Servers through PPP or DHCP connections. So, change in a Public DNS server of an ISP that the network is connected to will be picked up by Dnsmasq</li>
<li>Caching Nameserver to reduce network traffic and improve performance</li>
<li>Forwarding to Private DNS servers for specific Domains can be configured</li>
<li>Nameservice for the localhosts using the /etc/hosts file and for DHCP Client hosts</li>
<li>Static and Dynamic client leases on DHCP</li>
<li>Multiple Network and IP Ranges on the DHCP server</li>
<li>BOOTP support for network booting using a secure read-only TFTP server</li>
<li>Simple global configuration using the /etc/dnsmasq.conf file</li>
<li>Supports BOOTP and DHCP Relays</li>
<li>Caches A records for IPv4 and AAAA records for IPv6 and PTR records</li>
<li>Supports IPv4 and IPv6 protocols and even can act as a IPv4 toIPv6 and IPv6 to IPv4 forwarder</li>
<li>Support MX records and SRV records for local machines</li>
<li>Block DNS redirect websites (like some websites which forward to a link for a website that doesn&#39;t exist)</li>
</ul>
<p>Dnsmasq does the name lookup from its /etc/hosts file and hence its all about maintaining a /etc/hosts file on one computer as against multiple PCs on the LAN. If the host is a DHCP client then even if there isn&#39;t an entry for the host in the &quot;hosts&quot; file it can still provide name resolution for the host.</p>
<p>Effectively, all hosts in the LAN will have the dnsmasq server as the nameserver in /etc/resolv.conf file (In windows under network connection) and you dont have to worry about the &quot;hosts&quot; file on the local system.</p>
<p>The /etc/hosts file on the Dnsmasq server can have only the hostname without the domain name (example: host1 instead of host1.mynetwork.com) as the domain name can be appended globally using configurations in the /etc/dnsmasq.conf file.</p>
<p>It&#39;s got .deb and rpm packages for Debian, Fedora and other distributions and also can be built from the Source files. For more information and download, <a href="http://thekelleys.org.uk/dnsmasq/doc.html" target="_blank" title="DNSMASQ - DNS Forwarder DHCP DNS BOOTP server">click here</a> for dnsmasq home page.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fdns%2Fdnsmasq-opensource-dns-server-forwarder-dhcp-server%2F';
  addthis_title  = 'Dnsmasq+%26%238211%3B+Opensource+DNS+Server+Forwarder+%26%23038%3B+DHCP+Server';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCP Relay Agent for subnets without a DHCP Server</title>
		<link>http://www.itsyourip.com/cisco/dhcp-relay-agent-for-subnets-without-a-dhcp-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dhcp-relay-agent-for-subnets-without-a-dhcp-server</link>
		<comments>http://www.itsyourip.com/cisco/dhcp-relay-agent-for-subnets-without-a-dhcp-server/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 14:25:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[relay-agent]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[rras]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/cisco/dhcp-relay-agent-for-subnets-without-a-dhcp-server/</guid>
		<description><![CDATA[A DHCP server is the one which provides a network client with a unique IP address, Subnet mask, Gateway and DNS server IP address automatically when it connects to the network. A DHCP Relay Agent is a computer, server or a Router in a particular subnet which receives a DHCP client broadcast and relays it [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>A DHCP server is the one which provides a network client with a unique IP address, Subnet mask, Gateway and DNS server IP address automatically when it connects to the network.</p>
<p>A DHCP Relay Agent is a computer, server or a Router in a particular subnet which receives a DHCP client broadcast and relays it to a DHCP server in another network or a subnet. A DHCP Relay Agent is more a helper agent here that gets the client a DHCP lease.</p>
<p><span id="more-102"></span></p>
<p>Lets say there are multiple subnets in your network with DHCP clients in all being seperated and routed through a router or a firewall and that not every subnet has a DHCP server and the organisation has just one or few centralised DHCP servers.</p>
<p>Given that the routers do not forward IP broadcast messages from one network to another, the only way that the clients get their leases are</p>
<p>1. One DHCP server in each subnet where there DCHP client exist</p>
<p>or</p>
<p>2. Use a DHCP Relay Agent which can receive and relay BOOTP and DHCP Client broadcast messages.</p>
<p>Most of the routers and Firewalls these days do have support for DHCP Relay Agents. In the event that you are the unfortunate one whose networks are routed using a router not supporting a DHCP Relay Agent then you can choose to use the DHCP Relay Agent support in Windows Server 2000 or 2003 or a Linux server.</p>
<p><strong><u>DHCP Relay Agent in Cisco Routers</u></strong></p>
<p>Cisco Routers support DHCP Relay Agents with ip helper-address command. To enable the&nbsp; ip helper-address on an interface that will receive client BOOTP/DHCP broadcasts.</p>
<p>From the Global configuration mode,</p>
<p><strong>Router(config)# interface fa 0/0</strong></p>
<p><strong>Router(config-if)# ip helper-addres 10.10.10.1</strong></p>
<p><strong>Router(config-if)# ip helper-addres 10.10.10.2</strong></p>
<p>NOTE: 10.10.10.1 &amp; 10.10.10.2 are the IP Address of the DHCP server</p>
<p>This will relay all DHCP broadcast messages received on interface FastEthernet 0/0 to the DHCP server 10.10.10.1</p>
<p>If there are more than one DHCP servers then use one helper-address for each DHCP server as above.</p>
<p><strong><u>Windows Server 2000 and 2003</u></strong></p>
<p>To setup a DHCP Relay agent in Windows Server 2000 or 2003 install the DHCP relay agent,</p>
<p><em>NOTE: DHCP Relay Agent cannot be installed on a server which already is running DHCP server</em></p>
<p>1. Launch Routing And Remote Access Service [RRAS] console.<br /> 2. Open IP Routing, right-click General, and select New Routing Protocol.<br /> 3. Select DHCP Relay Agent and click OK.</p>
<p>This will install the DHCP Relay Agent.</p>
<p>To configure,</p>
<p>From the RRAS console,</p>
<p>1. Right-clilck DHCP Relay Agent under IP Routing and select properties<br /> 2. Enter the IP Address of the DHCP server and click Add and OK.<br /> 3. On the right pane, check if the Network Interface for which the DHCP Relay Agent is required is enabled.<br /> 4. If not found, right-click DHCP Relay Agent and click new interface and add the interface.&nbsp;</p>
<p>This should help.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fcisco%2Fdhcp-relay-agent-for-subnets-without-a-dhcp-server%2F';
  addthis_title  = 'DHCP+Relay+Agent+for+subnets+without+a+DHCP+Server';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/cisco/dhcp-relay-agent-for-subnets-without-a-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

