Discussion:
switch is requesting an ip address from dhcp
Michael Bubb
2006-07-01 17:46:50 UTC
Permalink
Hello all,


I am working on getting a NetBSD cluster with 64 nodes up and running.
Currently they are setup to boot from floppys with GRUB on them. I am
putting new NICs in so that they can PXE boot . They nodes are
diskless and I have a head which assigns fixed addresses using dhcp
and a NFS running on a separate machine (separate from the dhcp server
- aka head).


I have numerous questions as I am just learning how all of this works.
As usual the netbsd.org documentation is very helpful so I am figuring
out a lot as I go along.

My question is a fairly pedestrian one. in my /var/log/messages I
notice that the switch is requesting an ip address from the dhcp
server. The message (repeated many times) looks like this:

Jun 30 13:00:00 frodo dhcpd: DHCPDISCOVER from 00:04:CC:CC:CC:CC via
ex1: network 192.168.1.2/24: no address pool

ex0 is connected to the intranet and the outside world
ex1 is connected to the switch for the cluster

My initial guess is that i dont have something in /etc/rc.conf. Or
/etc/dhcpd.conf. Should I have an entry which identifies the switch
MAC using the gateway address? Any help is greatly appreciated.

Thank you,
--
Michael Bubb
optPart, LLC - Hoboken, NJ
cel 201.736.0870
fax 201.377.1717
Martin Husemann
2006-07-01 22:51:20 UTC
Permalink
Post by Michael Bubb
Jun 30 13:00:00 frodo dhcpd: DHCPDISCOVER from 00:04:CC:CC:CC:CC via
ex1: network 192.168.1.2/24: no address pool
This is nothing realy to worry about. Something (are you sure it is the
switch?) looks for a DHCP server, but your server does not have anything
to offer for it - as you said you are only serving fixed addresses, and
for this MAC you apparently did not set one up.

If you like (or need access to the switch for configuration) you can
set up an IP for this MAC, just as you did for the other machines.
Or you allow dhcpd to assign a dynamical address (by specifying a
range of IPs to pick from) - this is what the message is about: you give
dhcpd a pool of addresses to pick one from.

Martin
Michael Bubb
2006-07-02 02:37:52 UTC
Permalink
Thank you all. I understand better.

All the best
--
Michael Bubb
optPart, LLC - Hoboken, NJ
cel 201.736.0870
fax 201.377.1717
Loading...