Dhcp Y Dns

Páginas: 3 (521 palabras) Publicado: 4 de febrero de 2013
Dhcp

para instalar se pone
$ sudo apt-get install dhcp3-server

luego configuramos los archivos

$ sudo gedit /etc/default/isc-dhcp-server
y aumentamos al final del archivo la linea


#Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfacesshould the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"

guardamos y cerramos

y tambian configuramos el archivo

$ sudogedit /etc/dhcp/dhcpd.conf
aqui le damos una ip fija o dinamica a los clientes conectados a nuestro servidor

ip dinamica

# A slightly different configuration for an internal subnet.
subnet192.168.18.0 netmask 255.255.255.0 {
range 192.168.18.100 192.168.18.200;
option domain-name-servers 192.168.18.1;
option routers 192.168.18.1;
option broadcast-address 192.168.18.255;default-lease-time 600;
max-lease-time 7200;
}

ip fija

host cu32v {
hardware ethernet 08:00:27:94:5a:4a;
fixed-address 192.168.18.2;
}

host cw32v {
hardware ethernet08:00:27:80:7D:6B;
fixed-address 192.168.18.3;
}

guardamos y cerramos

$ sudo /etc/init.d/isc-dhcp-server restart




DNS

$ sudo apt-get install bind9

configuras el archivo

$ sudo gedit/etc/bind/named.conf.local

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";zone "uda2013.lan" {
type master;
file "/etc/bind/db.uda2013.lan";
};

zone "192.168.18.in-addr.arpa"{
type master;
file "/etc/bind/db.192.168.18";
};

$ named-checkconf

$ named-checkzone1.18.192 /etc/bind/db.192.168.18
$ named-checkzone 1.18.192 /etc/bind/db.uda2013.lan

$ nslookup uda2013.lan
$ nslookup 192.168.18



$ sudo gedit /etc/bind/db.uda2013.lan

;
; BIND data...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Apuntes DHCP y DNS
  • Servidor dhcp y dns
  • Servidor dns y dhcp
  • DHCP DNS
  • Dhcp y dns
  • ADMINISTRACION DEREDES SERVICIOS DNS DHCP Y TELNET
  • PREGUNTAS RESUELTAS DE SERVIDORES DHCP WINS DNS IIS7
  • Instalación Y Configuración De Servidores Dhcp Y Dns En Ubuntu

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS