Configurando DHCP, hosts en Linux
Publicado Julio 29th, 2008 in Linux.# vi dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
# option domain-name “midominio.com”;
# option domain-name-servers 192.168.1.2;
range dynamic-bootp 192.168.1.20 192.168.1.40;
default-lease-time 21600;
max-lease-time 43200;
# host user6 {
# next-server user6.midominio.com;
# hardware ethernet 00:0C:F1:A9:04:5D;
# fixed-address 192.168.1.70;
# }
}
———————————-
# service dhcpd start
//monitoreo del dhcp
cat /var/lib/dhcp/dhcpd.leases
———————————–
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.1 servidor.midominio.com servidor



0 Responses to “Configurando DHCP, hosts en Linux”
Please Wait
Leave a Reply
You must login to post a comment.