instalar y configurar servidor dhcp
1 facil instalar dhcp
apt-get install dhcp
2 editar /etc/default/dhcp en caso de que eth0 no sea la interface a servir
INTERFACES="eth1"
3 editar /etc/dhcpd.conf
por en mi caso:
-----------------------------------------------
#option domain-name "puebla.megared.net.mx";
option domain-name-servers 10.44.0.4, 10.44.0.3 ;
default-lease-time 600;
max-lease-time 7200;
authoritative;
option subnet-mask 255.255.255.0;
# range 204.254.239.10 204.254.239.20;
option broadcast-address 192.168.255.255;
option routers 192.168.0.1;
#}
# The other subnet that shares this physical network
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.240;
}
------------------------------------------
nota:
ethx esta configurada con etherconf asi:
eth1 Link encap:Ethernet HWaddr 00:50:FC:3E:1C:E8
inet addr:192.168.0.1 Bcast:192.168.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xf800
0 Comments:
Publicar un comentario
<< Home