You are not logged in.

#1 2009-03-08 19:31:30

faidoc
Package Maintainer (PM)
From: Spain
Registered: 2009-02-18
Posts: 32
Website

Trying to make a PXE install

Hi, I want to learn how to make a PXE install and  I am using Virtualbox for that.

I read the wiki but I can't make it work.

I think the mistake is in my dhcp config file. See:

#option definitios common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org:

default-lease-time 600;
max-lease-time 7200;

#Use this to enable / disable dynamic dns updates globally
ddns-update-style none;

#if this DHCP server is the official DHCP server for the local
#network, teh authoritative directive should be uncommented
authoritative;

#Use this to send dhcp log messages to a different log file
log-facility local7;

#No service will be given on this subnet, but declaring it helps the 
#DHCP server to understand the network topology.

subnet 192.168.0.0 netmask 255.255.255.0 {
allow bootp;
filename "pxelinux.0";
next-server 192.168.0.1
}

#This is a very basic subnet declaration

subnet 10.254.239.0 netmask 255.255.255.224 {
   range 10.254.239.10 10.254.239.20;
   option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
}

#This declaration allows BOOTP clients to get dynamic addresses

subnet 10.254.239.32 netmask 255.255.255.224 {
   range dynamic-bootp 10.254.239.10 10.254.239.60;
   option broadcast-addres 10.254.239.31;
   option routers rtr-239-32-1.example.org;
}

#a slightly different configuration for an internal subnet
subnet 10.5.5.0 netmask 255.255.255.224 {
   range 10.5.5.26 10.5.5.30;
   option domain-name-servers ns1.internal.example.org;
   option domain-name "internal.example.org";
   option routers 10.5.5.1;
   option boradcast-address 10.5.5.31;
   default-lease-time 600;
   max-lease-time 7200;
}

Any idea?
Thanks

Offline

Board footer

Powered by FluxBB