Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 17:16:38 -0700
From:      "vincenzo romero" <new2xen@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD PXE client not getting netmask config from DHCP server
Message-ID:  <13d67a800803251716p737cd35au18fc25a1c8fef331@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,

I wanted to check and test my PXE clients - where I have:

- Cent OS 5.1 - PXE/DHCP/TFTP/NFS server with the root-NFS-images
- client - FreeBSD 7:
uname -a
FreeBSD r02s01 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Mar  3 21:52:54
PST 2008     root@Freebsdtest.maxiscale.com:/usr/src/sys/amd64/compile/CUSTOMKRNL
 amd64

...

1.  My /etc/dhcpd.conf server has defined a gateway/router and subnet mask

cat /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;

subnet 192.168.16.0  netmask 255.255.240.0 {
# --- default gateway
        option routers                  192.168.16.1;
        option subnet-mask              255.255.240.0;

        range dynamic-bootp 192.168.16.10 192.168.16.30;
        default-lease-time 21600;
        max-lease-time 43200;
}


2.  freebsd test server parameters defined as such:

host r02s01 {
  hardware ethernet 00:A0:D1:E3:58:38;
  fixed-address 192.168.17.11;
  filename "pxeboot";
  option root-path "192.168.17.1:/export/images/NFSroot_gold/freebsd7_x64";
  option host-name "r02s01";
}

3.  PROBLEM - when the client boots and I login ..... i notice that
the netmask it is configured with is 255.255.255.0 ...

Am I missing something in my configuration?  I am not having these
issues (i think) with my diskless Fedora, Ubuntu clients ...

Any help will be greatly appreciated

-- 
best,

Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13d67a800803251716p737cd35au18fc25a1c8fef331>