FreeBSD PXE client not getting netmask config from DHCP server
vincenzo romero
new2xen at gmail.com
Tue Mar 25 17:16:39 PDT 2008
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 at 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
More information about the freebsd-questions
mailing list