[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian on an NAS server



El Jueves, 14 de Diciembre de 2006 03:18, Tom Brown escribió:

> onto my dhcp/tftp server. I setup my dhcp server like this:
>
> host pxeinstall {
> 	hardware ethernet 00:c0:9f:06:f4:6d;
> 	filename "pxelinux.0";
> }

That options are no enought, you all need to set the TFTP server IP, because 
when pxelinux.0 boots, it sends another bootp request that the dhcp server 
needs to answer telling him were to find the netbood image of Debian.

Try this:

...
     allow booting;
        allow bootp;

        # Standard configuration directives...

        option domain-name "test.com";
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.0.0.255;
        option domain-name-servers 10.0.0.1;
        option routers 10.0.0.1;

        # Group the PXE bootable hosts together
        group {
                # PXE-specific configuration directives...
                next-server 10.0.0.254;  # TFTP Server
                filename "/tftpboot/pxelinux.0";
                #if substring (option vendor-class-identifier, 0, 3) = "d-i" {
                #       filename "http://10.0.0.245/preconfig.cfg";;
                #}


                # You need an entry like this for every host
                # unless you're using dynamic addresses
                host ast02 {
                        hardware ethernet 00:30:48:5B:D2:8A;
                 fixed-address 10.0.0.25;
                }
        }

        subnet 10.0.0.0 netmask 255.255.255.0 {

        }
......

-- 
Saludos.

Raúl Alexis Betancor Santana
Director Gerente
Dimensión Virtual S.L.



Reply to: