filename in BOOTP reply vs RFC 951 -- ignore the previous message please
Bruce Hudson
Bruce.Hudson at Dal.Ca
Fri Aug 10 20:12:25 UTC 2007
> Since the list is kind of active today, I was wondering if anyone has any
> thoughts about that BOOTP issue I mentioned a couple weeks ago.
It should be possible to get the behaviour you are looking for by
using an if statement in the configuration file, without having to
modify the source. That would be closer to the spirit of "used as a
lookup key in a database, along with the client's IP address" and it
avoids having a client over-ride the central config.
The following is completely untested but should at least point you
in the right direction.
group {
if filename = "stage2" {
next-server stage2-tftp-server;
filename "stage2";
} elsif filename = "stage3" {
next-server stage3-tftp-server;
filename "stage3";
} else {
next-server stage1-tftp-server;
filename "stage1";
}
host {
...
}
}
--
Bruce A. Hudson | Bruce.Hudson at Dal.CA
UCIS, Networks and Systems |
Dalhousie University |
Halifax, Nova Scotia, Canada | (902) 494-3405
More information about the dhcp-hackers
mailing list