<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I didn't see a reply to this, so here's a suggestion.</p>
<p>dhcrelay and dhcpd listen on the raw ethernet interface, that's why it sees all the vlans as part of the same interface. So to get around this you need a separate physical interface for directing the dhcp requests to each dhcp server.</p>
<p>So if you could add another interface, say eth2, and configure eth2.900 then you could tell dhcrelay to route dhcp requests on eth1 to dhcp server 1 and eth2 to dhcp server 2.</p>
<p>regards,</p>
<p>Glenn</p>
<p id="reply-intro">On 2023-07-07 04:36, Gregory Malsack wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<style type="text/css">#replybody1 P { margin-top: 0; margin-bottom: 0; }</style>
<div>
<div class="v1elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;">Hello All,</div>
<div class="v1elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;"> </div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;">I'm running isc-dhcrelay-4.4.3-P1 on an alpine linux router for a remote office to connect to our offices via a vpn. Currently we have eth0 on the internet, eth1 with no ip, then various vlans eth1.86 eth1.87 eth1.900 and so on. From what I can tell, isc-dhcrelay only really listens on eth1, thus all of the vlan interface dhcp requests are sent upstream to the dhcrelay server listed in the config file.</div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;"> </div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;">The problem I have is that eth1.86 and eth1.87 need to go to dhcp server 1 upstream and eth1.900 needs to go to dhcp server 2 upstream. If dhcrelay can do this great, but I don't know how to do this. I don't have eth1.900 listed in the iface directive, but that doesn't seem to matter because it's relaying dhcp requests on vlan anyway.</div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;"> </div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;">Can someone help?</div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;"> </div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;">Thanks!</div>
<div class="v1elementToProof v1ContentPasted0" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: #000000;">Greg</div>
<div class="v1elementToProof">
<div id="v1Signature">
<div> </div>
</div>
</div>
<img style="width: 2px; max-height: 0; overflow: hidden;" src="cid:169012138664bd34aa2c27c626478928@uniq.com.au" width="0" height="0" /> Confidentiality Notice: Any materials and information enclosed on or with this electronic document are private and confidential and are the property of this sender. The email and the information it may contain is privileged and intended only for the use of the individual(s) or entity(ies) named above. All other use is strictly prohibited. If you are not the intended recipient, be advised that any unauthorized disclosure, copying, distribution or the taking of any action in reliance on the content is strictly prohibited. If you have received this email or document(s) in error, please notify us immediately to arrange for the return of the document(s).</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
<p><br /></p>

</body></html>