Re: Problemas al arrachar servidor DHCP
"Alberto Castillo" <[email protected]>
| Newsgroups | gmane.linux.pxes.spanish |
|---|---|
| Message-ID | <[email protected]> |
El día 11/09/07, andres perez <[email protected]> escribió: > > fijate asi lo tengo configurado: > > # dhcpd.conf > > option subnet-mask 255.255.255.0; > option broadcast-address 192.168.0.255; > option routers 192.168.0.254; > option domain-name-servers 192.168.0.254; > option domain-name "your_domain.org"; > > get-lease-hostnames true; > > next-server 192.168.0.254; > option root-path "192.168.0.254:/opt/ltsp/i386"; > > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.100 192.168.0.199; > if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { > filename "/tftpboot/lts/2.4.26-ltsp-3/pxelinux.0"; > } > else{ > filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-3"; > } > } > > > luego agrego la interfaz eth1 en /etc/default/dhcp3-server > > lo que no se es si debo modificar algo en /etc/network/interfaces Parece q esta correcta la config de dhcp... bueno. pregunta: cual es la placa de red q ve tu red interna? eth0 o 1?, o sea, la interface que va interactuar con las maquinas clientes? en /etc/default/dhcp3-server donde dice INTERFACES, tenes q poner alguna de las 2. si es eth1 la q mira a los clientes pones esa. Deberia funcionar, lo q te dice con 0.0.0.0 es q trata de escuchar cualquier cosa, de cualquier red. Otra cosa, eth1 tiene q tener IP fija. Tambien estoy viendo otra cosa!: Donde esta tu directorio de dhcp? ojo!!! no es /etc/dhcp3 sino /etc/ltsp (en ubuntu es asi) fijate en un tuto de implementacion q yo escribi hace tiempo: www.proyectoedulin.com.ar te dejo mi dhcpd.conf Otra cosa! deben coexistir ambos directorios (un gran misterio para mi) pero asi me dio resultado, acordate q ubuntu se basa en Debian, asi q no deberia haber ningun drama. Ojala te sirva de algo esto. Saludos. dhcpd.conf en /etc/ltsp: # dhcpd.conf authoritative; ddns-update-style ad-hoc; option subnet-mask 255.255.255.0; option broadcast-address 192.168.10.255; option routers 192.168.10.254; option domain-name-servers 192.168.10.254; option domain-name "ltsp"; # You really should fix this option option-128 code 128 = string; option option-129 code 129 = text; get-lease-hostnames true; next-server 192.168.10.254; option root-path "192.168.10.254:/opt/ltsp-4.1.1/i386"; subnet 192.168.10.0 netmask 255.255.255.0 { range 192.168.10.100 192.168.10.101; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/2.6.16.1-ltsp-1/pxelinux.0"; } else{ filename "/lts/vmlinuz-2.4.9-ltsp-5"; } } # # If you need to pass parameters on the kernel command line, you can # do it with option-129. In order for Etherboot to look at option-129, # you MUST have option-128 set to a specific value. The value is a # special Etherboot signature of 'e4:45:74:68:00:00'. # # # Add these two lines to the host entry that needs kernel parameters # # #group { # use−host−decl−names on; # #host ws001 { # hardware ethernet 00:40:33:96:15:32; # fixed−address 192.168.0.100; # filename "/lts/vmlinuz-2.4.26-ltsp-3"; # option option-128 e4:45:74:68:00:00; # option option-129 "NIC=ne IO=0x300"; # } # } host ws001 { hardware ethernet 00:40:33:96:15:32; fixed-address 192.168.10.100; filename "/lts/vmlinuz-2.4.26-ltsp-3"; option option-128 e4:45:74:68:00:00; option option-129 "NIC=ne IO=0x300"; } On 9/10/07, Alberto Castillo <[email protected] > wrote: > > > > > > > > El día 10/09/07, andres perez <[email protected]> escribió: > > > > > > Amigos estoy instalando ltsp en debian etch pero tengo problemas con > > > el servidor dhcp, luego de configurar la red y activar la interfaz de > > > escucha en eth1 cuando intento arrancarlo me genera el siguiente error: > > > > > > No subnet declaration for start ( 0.0.0.0) > > > > > > y al final me dice: Not configure to listen any interfaces! > > > > > > me parece q esta mal configurado dhcpd > > > > _______________________________________________ > > > Ltsp-es mailing list > > > [email protected] > > > https://listas.hispalinux.es/mailman/listinfo/ltsp-es > > > Web del proyecto http://terminales.hispalinux.es > > > > > > > > > _______________________________________________ > > Ltsp-es mailing list > > [email protected] > > https://listas.hispalinux.es/mailman/listinfo/ltsp-es > > Web del proyecto http://terminales.hispalinux.es > > > > > _______________________________________________ > Ltsp-es mailing list > [email protected] > https://listas.hispalinux.es/mailman/listinfo/ltsp-es > Web del proyecto http://terminales.hispalinux.es >