problemas con dhcpd.conf
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hola gente, estoy configurando un servidor dhcp3 en Linux y tengo un
problema. Los clientes obtienen su ip, máscaras, dns y aparentemente el
router (gateway). Lo cierto es que los clientes no pueden salir de la
red. Si se configuran estáticamente sí que funciona, luego falla el
servidor dhcp.
El fichero dhcp3.conf es:
...
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
option broadcast-address 192.168.10.255;
option log-servers 192.168.10.100;
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.10.1;
option nntp-server 192.168.10.1;
option domain-name "syc.org";
subnet 192.168.10.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.10.130 192.168.10.160;
use-host-decl-names on;
...
}
El cliente recibe todo lo que necesita (confirmado con ethereal) y al
hacer un ifconfig se obtiene ip, máscara, broadcast...
eth0 Link encap:Ethernet HWaddr 00:0C:76:24:48:C5
inet addr:192.168.10.158 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fe24:48c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:676 errors:0 dropped:0 overruns:0 frame:0
TX packets:554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:293650 (286.7 KiB) TX bytes:50565 (49.3 KiB)
Interrupt:19 Base address:0xd800
Al hacer route -n se obtiene (todo ok):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0 eth0
Sin embargo, al hacer un ping www.google.com... Nada. Traduce a Ip pero
no hay respuesta alguna. Con Ip estática todo va bien...
¿Se les ocurre algo? He mirado el manual y google y nada, parece que
todo está ok.
Carlos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFEEzA04KSw4/6JXLERAnRTAJ90euqiMGjfBPw3jKhoaTO+lLcuzgCfScQd
l7/zez2a0x+GdhTh9mdUxlI=
=kyc8
-----END PGP SIGNATURE-----
Reply to: