[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
es:howtos:network_services:dhcp_server_via_dnsmasq [2019/02/13 13:31 (UTC)] slackwarespanoles:howtos:network_services:dhcp_server_via_dnsmasq [2019/02/13 13:45 (UTC)] (actual) slackwarespanol
Línea 1: Línea 1:
-<note warning>En proceso de traducción. Victor</note> 
 <!--Reviewed 20130128 by Hazel --> <!--Reviewed 20130128 by Hazel -->
 ====== Servidor DHCP a través de DNSMasq ====== ====== Servidor DHCP a través de DNSMasq ======
Línea 8: Línea 7:
  
 ** Suponiendo que no tiene instalado DNSMasq: ** ** Suponiendo que no tiene instalado DNSMasq: **
- +Instale el paquete oficial de dnsmasq Slackware mediante [[slackware:pkgtool | pkgtool]] [[:es:slackware:slackpkg | slackpkg]]. 
-  Install the official dnsmasq Slackware package either by [[slackware:pkgtool|pkgtool]] or [[slackware:slackpkg|slackpkg]]. +   Hacer que DNSMasq comience en el arranque:<code>
-  Make DNSMasq start on boot:<code>+
 # chmod  755 /etc/rc.d/rc.dnsmasq # chmod  755 /etc/rc.d/rc.dnsmasq
-</code> (At this point you will have a really cool little DNS on your box butthat's not what we're going after here...)\\ **If you already had DNSMasq running on your boxstart here:** +</code> (En este punto, tendrá un pequeño y genial DNS en su cajapero eso no es lo que buscamos aquí). \\ ** Si ya tenía DNSMasq en su cajacomience aquí: ** 
-  Edit the /etc/dnsmasq.conf file:<code>+   Edite el archivo /etc/dnsmasq.conf:<code>
 CHANGE: CHANGE:
     #dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h     #dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
Línea 19: Línea 17:
     dhcp-range=1ST_POOL_IP,LAST_POOL_IP,12h  (using your correct IP range)     dhcp-range=1ST_POOL_IP,LAST_POOL_IP,12h  (using your correct IP range)
 </code> </code>
-  - If your DNSMasq box isn't also your gateway routertell your DHCP clients who is the default gateway:<code>+  - Si DNSMasq no es también su gateway, informe a sus clientes DHCP cual es el gateway predeterminado:<code>
 CHANGE: CHANGE:
     #dhcp-option=3,1.2.3.4     #dhcp-option=3,1.2.3.4
Línea 29: Línea 27:
 </code> </code>
  
-You should now have a working DHCP server.+Ahora debería tener un servidor DHCP en funcionamiento.
  
-===== Persistent IP addresses =====+===== Direcciones IP persistentes =====
  
-To assign IP addresses based on a device'MAC addressedit the file ''/etc/dnsmasq.conf'' and add the following line for every device (using the correct MAC and IP address of course):<code>+Para asignar direcciones IP basadas en la dirección MAC de un dispositivoedite el archivo '' /etc/dnsmasq.conf '' y agregue la siguiente línea para cada dispositivo (usando la dirección MAC IP correcta, por supuesto):<code>
 #EXAMPLE: #EXAMPLE:
 dhcp-host=11:22:33:44:55:66,192.168.1.61 dhcp-host=11:22:33:44:55:66,192.168.1.61
 </code> </code>
 +NOTA: La dirección IP debe estar ** fuera ** del grupo de direcciones DHCP.
  
-NOTE: The IP address should be **outside** the DHCP address pool.  +====== Fuentes ======
- +
-====== Sources ======+
  
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
-  * Originally written by [[wiki:user:arfon | arfon]]+  * Escrito originalmente por [[wiki:user:arfon | arfon]] 
 +  * Traducido por:  [[wiki:user: slackwarespanol | Victor]]  2019/02/13 13:39 (UTC)
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 {{tag>howtos software dhcp dhcpd dnsmasq author_arfon}} {{tag>howtos software dhcp dhcpd dnsmasq author_arfon}}
 es:howtos:network_services:dhcp_server_via_dnsmasq ()