<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    <p>Hi</p>
    <p>Does it matter that both servers see all messages? Only the one
      with the appropriate address pool should answer.</p>
    <p>The other solution I can see is to have separate relays, it seems
      that the only link between the otherwise completely separate
      network systems is the relay.</p>
    <p>If this is a larger setup with other connections between the
      segments, then you could consider doing failover between the dhcp
      servers.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/04/2017 14:34, priyankrathi
      wrote:<br>
    </div>
    <blockquote cite="mid:1491482064946-1905.post@n4.nabble.com"
      type="cite">
      <pre wrap="">Hi,
Network_Topology_Multiple_Relay-Server.png
<a class="moz-txt-link-rfc2396E" href="http://isc-dhcp-users.2343191.n4.nabble.com/file/n1905/Network_Topology_Multiple_Relay-Server.png"><http://isc-dhcp-users.2343191.n4.nabble.com/file/n1905/Network_Topology_Multiple_Relay-Server.png></a>  

                                     _____________
                                    |                       |
Client 1 ----[S/W]------- |                       |----------- Server 1
                                    |   relay agent    |
                                    |                       |
Client 2 ---[S/W]-------- |                       |----------- Server 2
                                    |_____________|

As per the above attached Network Topology, the following are configuration
done on every machine.

1. Server1:
IP address on eth1 is 10.1.1.1/24
DHCP server IP pool: 192.168.1.100 - 192.168.1.200
Static Route to 192.168.1.0/24 via 10.1.1.2

2. Server2:
IP address on eth1 is 10.1.2.1/24
DHCP server IP pool: 192.168.2.100 - 192.168.2.200
Static Route to 192.168.2.0/24 via 10.1.2.2

3. Relay Agent (R)
IP address on eth1: 192.168.1.1/24
IP address on eth2: 192.168.2.1/24
IP address on eth3: 10.1.1.2/24
IP address on eth4: 10.1.2.2/24
Enable IP forwarding for IPv4.
dhcrelay -i eth1 -i eth3 10.1.1.1 -i eth2 -i eth4 10.1.2.1 -4

4. Client1:
eth1 has a DHCP client which is connected to the same network of R:eth1.

5. Client2:
eth1 has a DHCP client which is connected to the same network of R:eth2.

After doing this configuration:
Client1 got the IP from Server1's Pool.
Client2 got the IP from Server2's Pool.

Problem Statement: 
While observing the packet capture, I found that the relay agent is
forwarding the request received from Client1 to both the servers. Similarly,
the request from Client2 is also forwarded to both the servers.
How can we achieve the request coming from Client1 should ONLY be forwarded
to 10.1.1.1 and request from Client2 should be forwarded ONLY to 10.1.2.1?



--
View this message in context: <a class="moz-txt-link-freetext" href="http://isc-dhcp-users.2343191.n4.nabble.com/How-to-avoid-multiple-DHCP-request-forward-to-all-Servers-tp1905.html">http://isc-dhcp-users.2343191.n4.nabble.com/How-to-avoid-multiple-DHCP-request-forward-to-all-Servers-tp1905.html</a>
Sent from the ISC DHCP Users mailing list archive at Nabble.com.
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>