<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello, Alan. I am using a similar configuration here, including E7 devices. We use shared networks to identify the subnet that network devices that the end devices are attached to occupy.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important">Our network devices get their addresses via another system, but it would also work if we assigned them via this same DHCP server or if they were set statically.<span> </span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>For example, our pools are set up similar to this - note the empty braces {} because we don't define the network in this system:</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>shared-network new-network {</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>          # 192.168.1.0/24 Network device management range</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>          subnet 192.168.1.0 netmask 255.255.255.0 {}</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>          # 10.10.10.0/23 End device network</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>          subnet 10.10.10.0 netmask 255.255.254.0 {</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                 option routers 10.10.10.1;</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                 option broadcast-address 10.10.11.255;</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                  pool {</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                          failover peer "failover";</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                          deny dynamic bootp clients;</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                          range 10.10.10.11 10.10.10.254;</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>                   } # close pool</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>        } # close shared-network</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important"><span>Hope that helps.</span></span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> dhcp-users <dhcp-users-bounces@lists.isc.org> on behalf of Alan Batie <alan@peak.org><br>
<b>Sent:</b> Wednesday, November 25, 2020 8:54 PM<br>
<b>To:</b> dhcp-users@lists.isc.org <dhcp-users@lists.isc.org><br>
<b>Subject:</b> dhcp relay</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">CAUTION: This email originated from outside of the company. Do not click links or open attachments unless you recognize the sender and know the content is safe.<br>
<br>
I'm trying to setup dhcp relay and not sure how the server determines<br>
the network to assign an address from?  The agent device (a Calix E7)<br>
requires that the uplink vlan be different from the client vlan, so the<br>
agent address is the uplink address of the device (which doesn't have an<br>
address on the client vlan anyhow as it's mostly a switch):<br>
<br>
Bootstrap Protocol<br>
    Message type: Boot Request (1)<br>
    Hardware type: Ethernet (0x01)<br>
    Hardware address length: 6<br>
    Hops: 0<br>
    Transaction ID: 0xa217414b<br>
    Seconds elapsed: 21935<br>
    Bootp flags: 0x0000 (Unicast)<br>
        0... .... .... .... = Broadcast flag: Unicast<br>
        .000 0000 0000 0000 = Reserved flags: 0x0000<br>
    Client IP address: 0.0.0.0 (0.0.0.0)<br>
    Your (client) IP address: 0.0.0.0 (0.0.0.0)<br>
    Next server IP address: 0.0.0.0 (0.0.0.0)<br>
    Relay agent IP address: 172.20.44.15 (172.20.44.15)<br>
    Client MAC address: 48:77:46:f9:5b:b0 (48:77:46:f9:5b:b0)<br>
    Client hardware address padding: 00000000000000000000<br>
    Server host name not given<br>
    Boot file name not given<br>
    Magic cookie: DHCP<br>
    Option: (53) DHCP Message Type<br>
        Length: 1<br>
        DHCP: Discover (1)<br>
    Option: (57) Maximum DHCP Message Size<br>
        Length: 2<br>
        Maximum DHCP Message Size: 576<br>
    Option: (55) Parameter Request List<br>
        Length: 11<br>
        Parameter Request List Item: (1) Subnet Mask<br>
        Parameter Request List Item: (3) Router<br>
        Parameter Request List Item: (6) Domain Name Server<br>
        Parameter Request List Item: (12) Host Name<br>
        Parameter Request List Item: (15) Domain Name<br>
        Parameter Request List Item: (28) Broadcast Address<br>
        Parameter Request List Item: (42) Network Time Protocol Servers<br>
        Parameter Request List Item: (43) Vendor-Specific Information<br>
        Parameter Request List Item: (120) SIP Servers<br>
        Parameter Request List Item: (121) Classless Static Route<br>
        Parameter Request List Item: (125) V-I Vendor-specific Information<br>
    Option: (60) Vendor class identifier<br>
        Length: 24<br>
        Vendor class identifier: GS4220E.ONT.dslforum.org<br>
    Option: (82) Agent Information Option<br>
        Length: 96<br>
        Option 82 Suboption: (1) Agent Circuit ID<br>
            Length: 58<br>
            Agent Circuit ID:<br>
73706172652d65372d312e696e7472616e65742e7065616b...<br>
        Option 82 Suboption: (2) Agent Remote ID<br>
            Length: 34<br>
            Agent Remote ID:<br>
73706172652d65372d312e696e7472616e65742e7065616b...<br>
    Option: (255) End<br>
        Option End: 255<br>
    Padding<br>
<br>
_______________________________________________<br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
<br>
dhcp-users mailing list<br>
dhcp-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</div>
</span></font></div>
</body>
</html>