<?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>TechnoBlog &#187; DHCP</title>
	<atom:link href="http://www.technoblog.com.ar/index.php/category/servidor/dhcp-servidor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technoblog.com.ar</link>
	<description>Blog de tecnologia</description>
	<lastBuildDate>Sun, 30 Dec 2012 21:43:51 +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>Como configurar un servidor DHCP en Ubuntu 9.10</title>
		<link>http://www.technoblog.com.ar/index.php/2010/01/como-configurar-un-servidor-dhcp-en-ubuntu-9-10/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.technoblog.com.ar/index.php/2010/01/como-configurar-un-servidor-dhcp-en-ubuntu-9-10/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 02:37:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>

		<guid isPermaLink="false">http://www.technoblog.com.ar/?p=1555</guid>
		<description><![CDATA[El objetivo de este articulo es explicar como poner a funcionar un servidor DHCP en Ubuntu 9.10. Antes que nada explicaremos que un servidor DHCP  posee una lista de direcciones IP dinámicas y las va asignando a los clientes conforme éstas van estando libres, sabiendo en todo momento quién ha estado en posesión de esa IP, cuánto tiempo&#8230;<p><a href="http://www.technoblog.com.ar/index.php/2010/01/como-configurar-un-servidor-dhcp-en-ubuntu-9-10/">Como configurar un servidor DHCP en Ubuntu 9.10</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.technoblog.com.ar/wp-content/uploads/2009/11/network-wired.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-906" style="margin-left: 0px; margin-right: 10px; margin-top: 0px; margin-bottom: 10px;" title="network-wired" src="http://www.technoblog.com.ar/wp-content/uploads/2009/11/network-wired.png" alt="" width="128" height="128" /></a>El objetivo de este articulo es explicar como poner a funcionar un servidor DHCP en Ubuntu 9.10. Antes que nada explicaremos que un servidor DHCP  posee una lista de direcciones IP dinámicas y las va asignando a los clientes conforme éstas van estando libres, sabiendo en todo momento quién ha estado en posesión de esa IP, cuánto tiempo la ha tenido y a quién se la ha asignado después.<br />
El servidor DHCP centraliza las configuración de las redes permitiendo no solo asignar la dirección IP sino todos los parámetros de red (Gateway, DNS etc.) . Al tener este manejo centralizado facilita muchísimo el mantenimiento de las redes sobre todo si son grandes.</p>
<p style="text-align: justify;">Cubriremos cuatro necesidades básicas que son:</p>
<ul style="text-align: justify;">
<li>Establecer un rango de direcciones IP para que el servidor otorgue</li>
<li>Reservar direcciones para asignárselas  a algunas maquinas  identificadas por su MAC Adress (maquinas que requieran IP fija por algún motivo)</li>
<li>Establecer los DNS de la red</li>
<li>Establecer la puerta de enlace (Gateway)  de la red</li>
</ul>
<p style="text-align: justify;"><span id="more-1555"></span></p>
<p style="text-align: justify;"><strong><span style="text-decoration: underline;">Inatalación</span></strong></p>
<p style="text-align: justify;">El primer paso es instalar el servidor DHCP usando</p>
<blockquote style="text-align: justify;">
<h6>sudo apt-get install dhcp3-server</h6>
</blockquote>
<p style="text-align: justify;">Todos los pasos que se indican a continuación se harán editando el archivo /etc/dhcp3/dhcpd.conf</p>
<h3 style="text-align: justify;"><span style="text-decoration: underline;">Configuración de los DNS</span></h3>
<p style="text-align: justify;">Modificaremos las lineas</p>
<blockquote style="text-align: justify;">
<h6>option domain-name "example.org";<br />
option domain-name-servers ns1.example.org, ns2.example.org;</h6>
</blockquote>
<div style="text-align: justify;">Hasta que queden así</div>
<h6 style="text-align: justify;">
<blockquote>
<div># option domain-name "example.org";</div>
<div>option domain-name-servers XXX.XXX.XXX.XXX;</div>
</blockquote>
</h6>
<div style="text-align: justify;"><span style="font-weight: normal; font-size: 13px;">en donde XXX.XXX.XXX.XXX es la IP del DNS que queremos usar si necesitamos especificar mas de 1 separaremos las Ip con coma.</span></div>
<div style="text-align: justify;"><span style="font-weight: normal; font-size: 13px;"><br />
</span></div>
<div style="text-align: justify;"><strong><span style="text-decoration: underline;">Configuración del Gateway</span></strong></div>
<div style="text-align: justify;"><strong><span style="text-decoration: underline;"><br />
</span></strong></div>
<div style="text-align: justify;"><span style="font-weight: normal; font-size: 13px;">Debajo de estas lineas agregaremos la siguiente linea</span></div>
<div style="text-align: justify;">
<blockquote>
<h6>option routers XXX.XXX.XXX.XXX;</h6>
</blockquote>
</div>
<div style="text-align: justify;">Eso especifica la ip del Gateway (XXX.XXX.XXX.XXX)</div>
<div style="text-align: justify;"><strong><span style="text-decoration: underline;">Configuración del Rango de IPs a otorgar</span></strong></div>
<div style="text-align: justify;"><strong><span style="text-decoration: underline;"><br />
</span></strong></div>
<div style="text-align: justify;">Al final de archivo agregaremos lo siguiente</div>
<h6 style="text-align: justify;">
<blockquote>
<div># Red Local</div>
<div id="_mcePaste">subnet 192.168.1.0 netmask 255.255.255.0 {</div>
<div id="_mcePaste">ddns-updates off;</div>
<div id="_mcePaste">range 192.168.1.200 192.168.1.254;</div>
<div id="_mcePaste">}</div>
</blockquote>
</h6>
<p style="text-align: justify;"><span style="font-weight: normal;">En donde 192.168.1.0 es la red, 255.255.255.0 la mascara, 192.168.1.200 es la ip inicial del rango y  192.168.1.254 es la ip final. En resumen el rango contiene 54 direcciones para asignar desde la 192.168.1.200 a la 192168.254.</span></p>
<h3 style="text-align: justify;"><span style="text-decoration: underline;">Reservas de Ip para ciertas maquinas</span></h3>
<p style="text-align: justify;">Para esto al final de archivo agregamos el siguiente bloque</p>
<blockquote style="text-align: justify;">
<h6># SERVER<br />
host SERVER {<br />
<span style="white-space: pre;"> </span>hardware ethernet xx:xx:xx:xx:xx:xx;<br />
<span style="white-space: pre;"> </span>fixed-address 192.168.1.210;<br />
<span style="white-space: pre;"> </span>option broadcast-address 192.168.0.255;<br />
}</h6>
</blockquote>
<p style="text-align: justify;">En donde SERVER es el nombre de la maquina, xx:xx:xx:xx:xx:xx es la mac address de la maquina, 192.168.1.210 es la IP que queremos reservar y 192.168.0.255 es la direccion de broadcast</p>
<p style="text-align: justify;">Guardamos el archivo reiniciamos el servidor dhcp usando.</p>
<blockquote style="text-align: justify;">
<h6>/etc/init.d/dhcp3-server restart</h6>
</blockquote>
<p style="text-align: justify;">y ya debería estar funcionando</p>
<p><a href="http://www.technoblog.com.ar/index.php/2010/01/como-configurar-un-servidor-dhcp-en-ubuntu-9-10/">Como configurar un servidor DHCP en Ubuntu 9.10</a> is a post from: <a href="http://www.technoblog.com.ar">TechnoBlog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoblog.com.ar/index.php/2010/01/como-configurar-un-servidor-dhcp-en-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
