Thanks for quick answer.<br>All these ways are very smart, but not acceptable in my case.<br>1. I can't change router's configuration<br>2. There can be absolutely random PCs on network with random MAC addresses.<br>
3. I can't turn off existing DHCP on router.<br><br>But, i got some idea.<br>Maybe it's possible to configure DHCP client in way, so it will accept only requests containing netboot part OR we can configure DHCP client for accept only requests from specified IP or MAC (maybe by configuring DHCP client or using firewall in init environment if this is possible).<br>
Remember, that DHCP client is running on init environment. I can change initrd configs and re-assemble it.<br><br>Thanks in advance.<br><br><div class="gmail_quote">2009/8/4 Glenn Satchell <span dir="ltr"><<a href="mailto:Glenn.Satchell@uniq.com.au">Glenn.Satchell@uniq.com.au</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
>Date: Mon, 3 Aug 2009 22:43:30 +0300<br>
>Subject: DHCP on router and BOOTP on server. Is it possible?<br>
>From: äÍÉÔÒÉÊ ûÕÍÉÌÉÎ <<a href="mailto:sdv.brest@gmail.com">sdv.brest@gmail.com</a>><br>
>To: <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>X-BeenThere: <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<div class="im">><br>
> Hi, ISC DHCP users!<br>
><br>
> In short, my target is to add ability of booting thin clients from netboot<br>
> server (server with running on it TFTP, NFS, DHCP) without making changes or<br>
> disabling DHCP server running on router.<br>
><br>
> Is it possible to configure DHCP server in way, so DHCP server will be<br>
> responsible for providing ONLY data regarding network boot and getting all<br>
> other data (IP address, netmask, gateway, etc) from DHCP running on router<br>
> and providing all data together to client.<br>
<br>
</div>Depends on how configurable your router's dhcp server is. For example,<br>
in ISC dhcp you can specify thgat the tftp server is another system.<br>
<br>
But generally there is no way, without re-writing the code, that one<br>
dhcp server can aggregate information from two different sources to<br>
return a dhcp response.<br>
<div class="im"><br>
> Maybe there are some other ways of adding netboot ability to my network<br>
> without changing currently running DHCP server?<br>
<br>
</div>Essentially you need a way to identify netboot requests, and respond to<br>
that, but ignore other dhcp requests. There are a few ways to do this<br>
with ISC dhcp. So you need to see if there is some option, or a known<br>
MAC address prefix you can filter against, or are they all on one<br>
subnet, for example?<br>
<br>
Likewise on the router, it needs to ignore these clients and respond to<br>
all other requests. This is the key to whether it is achievable,<br>
otherwise your netboot clients will get two responses, and they get to<br>
choose which one they use. The response from ISC dhcp will allow them<br>
to boot, the other probably not.<br>
<br>
So defining a class to match your thin clients only is needed. Are they<br>
all the same brand? If so then you might be able to use a common MAC<br>
address prefix, eg:<br>
<br>
class "netboot-clients" {<br>
match if (substring(hardware, 1, 3) = aa:bb:cc);<br>
}<br>
subnet ( ... ) {<br>
pool {<br>
range ...<br>
allow members of "netboot-clients";<br>
}<br>
}<br>
<br>
Note no quotes around the mac address prefix as we are doing a binary<br>
comparison.<br>
<div class="im"><br>
> I got work netboot before with ISC DHCP server WITHOUT router’s DHCP and now<br>
> I need to make it work together with router’s DHCP.<br>
<br>
</div>In the end it's probably going to be easier to just pick one dhcp<br>
server or the other and go with that. Is there some political or<br>
business reason why you can't have a dhcp server not running on the<br>
router? Let me guess, the network guys run the dhcp service, and you've<br>
just been given responsibility for all these new thin clients? :)<br>
<br>
> Thanks in advance.<br>
<br>
HTH.<br>
<br>
regards,<br>
-glenn<br>
--<br>
Glenn Satchell mailto:<a href="mailto:glenn.satchell@uniq.com.au">glenn.satchell@uniq.com.au</a> | I telephoned the<br>
Uniq Advances Pty Ltd <a href="http://www.uniq.com.au" target="_blank">http://www.uniq.com.au</a> | swine flu info<br>
PO Box 70 Paddington NSW Australia 2021 | line and all I got<br>
tel:0409-458-580 tel:02-9380-6360 fax:02-9380-6416 | was crackling.<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br>