1 / 2

SERVIDOR DHCP EN LINUX/UNIX

SERVIDOR DHCP EN LINUX/UNIX. Configuración del SERVIDOR Instalación Debian/Ubuntu: apt-get install dhcp3-server Si no existe, buscar dhcpd.tar.gz en Internet Instalarlo: ./configure make make install Crear fichero vacío dhcpd.leases en var/state/dhcp

cwen
Télécharger la présentation

SERVIDOR DHCP EN LINUX/UNIX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SERVIDOR DHCP EN LINUX/UNIX Configuración del SERVIDOR Instalación Debian/Ubuntu: apt-get install dhcp3-server Si no existe, buscar dhcpd.tar.gz en Internet Instalarlo: ./configure make make install Crear fichero vacío dhcpd.leases en var/state/dhcp Configurar fichero dhcpd.conf en /etc Lanzar DEMONIO dhcpd ó dhcpd Start (usr/sbin/dhcpd)‏ Configuración del CLIENTE Editar fichero ifcfg-etho en \etc\sysconfig\network-scripts\ opcion BOOTPROT = “dhcp” Para actualizar networking en el servidor: # etc/rc.d/init.d/network restart

  2. SERVIDOR DHCP EN LINUX/UNIX ifconfig etho Me da información sobre el interfaz eth0 ifconfig –a Me da información sobre todos los interfaces de red ifconfig etho up/down para activar/desactivar el interfaz (no siempre funciona)‏ Asignar una ip estática: ifconfig eth0 192.168.0.1 Para recibir ip, a veces funciona ifconfig eth0 dhcp # Configuración fichero dhsp.conf –ejemplo- option domain-name-servers 158.49.17.21 option domain-name “unex.es”; #opcional ddns-update-style ad-hoc; subnet 192.168.0.0 netmask 255.255.255.0 { options routers 192.168.0.254; range 192.168.0.1 192.168.0.128; default-lease-time 36000; max-leases-time 180000; option netbios-node-type 2; option ip-forwarding false; } # si queremos una dirección determinada para alguna estación: group { host puesto1 { hardware ethernet 00:0C:26:10:03:f9; fixed-address 192.168.0.1; } } # Aquí pueden aparecer los datos de otra subred ( subred 2 )‏ subnet 192.168.2.0 netmask 255.255.255.0 { options routers 192.168.2.254; range 192.168.2.1 192.168.2.20; }

More Related