<div dir="ltr">If I understand you correctly, this configuration is being used on the server with 4 NICs. If so, could you simply supply the addtional <i>interface</i> parameter to the tftp-root option? Something like ...<div>

<br><br>tftp-root=/opt/dmi/tftproot/gw94,eth0<div>tftp-root=/opt/dmi/tftproot/gw95,eth1<br></div><div>tftp-root=/opt/dmi/tftproot/gw96,eth2<br></div><div>tftp-root=/opt/dmi/tftproot/gw97,eth3<br></div><div><br></div><div>

<br></div><div>Of course, create those directories and add the correct files to each.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 5:47 AM, Oliver Rath <span dir="ltr"><<a href="mailto:rath@mglug.de" target="_blank">rath@mglug.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
i have a configuration here with 4 NICs. The config exports different<br>
tftp-server addresses (dhcp-Byte 128) for correct resolving:<br>
<br>
<br>
------------------ snip ------------------------------<br>
dhcp-range=set:gw94,192.168.94.50,192.168.94.150,255.255.255.0,12h<br>
dhcp-range=set:gw95,192.168.95.50,192.168.95.150,255.255.255.0,12h<br>
dhcp-range=set:gw96,192.168.96.50,192.168.96.150,255.255.255.0,12h<br>
dhcp-range=set:gw97,192.168.97.50,192.168.97.150,255.255.255.0,12h<br>
dhcp-option=tag:gw94,128,192.168.94.254<br>
dhcp-option=tag:gw95,128,192.168.95.254<br>
dhcp-option=tag:gw96,128,192.168.96.254<br>
dhcp-option=tag:gw97,128,192.168.97.254<br>
dhcp-boot=undionly.kkkpxe<br>
enable-tftp<br>
tftp-root=/opt/dmi/tftproot<br>
------------------ snap ------------------------------<br>
<br>
Now i want to offer different "undionly.kkkpxe" for every subnet.<br>
<br>
I think on something like<br>
<br>
dhcp-boot=tag:gw94,undionly-94.kkkpxe<br>
dhcp-boot=tag:gw95,undionly-95.kkkpxe<br>
dhcp-boot=tag:gw96,undionly-96.kkkpxe<br>
dhcp-boot=tag:gw97,undionly-97.kkkpxe<br>
<br>
Is this possible?<br>
<br>
Tfh!<br>
OLiver<br>
<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div><div><br></div></div></div></div>