<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Besides the remarks you already got on shared networks, in the configuration of pool#2 you define in option routers the first IP address(129) of the range.</div>
<div>It will not solve your problem, but I suggest you start the range at 130.</div>
<div>Han Koster</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:dhcp-users-bounces@lists.isc.org">dhcp-users-bounces@lists.isc.org</a>> on behalf of Leandro <<a href="mailto:ingrogger@gmail.com">ingrogger@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>Users of ISC DHCP <<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br>
<span style="font-weight:bold">Date: </span>Monday 29 June 2015 22:42<br>
<span style="font-weight:bold">To: </span>Users of ISC DHCP <<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br>
<span style="font-weight:bold">Subject: </span>Did not work as expected<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">Hi guys , while trying to get my config working, got this unexpected result.<br>
After setting following connection diagram:<br>
<br>
<img alt="rel" title="rel" src="cid:part1.00000305.06050708@gmail.com" width="520" height="234"><br>
<br>
Having following dhcpd.conf subnet config:<br>
<br>
shared-network Public {<br>
        subnet 192.168.88.0 netmask 255.255.255.0{<br>
                #pool1<br>
                pool{<br>
                range 192.168.88.2 192.168.88.126;<br>
                option broadcast-address 192.168.88.127;<br>
                option subnet-mask 255.255.255.128;<br>
                option routers 192.168.88.1;<br>
                }<br>
                #pool2<br>
                pool{<br>
                range 192.168.88.129 192.168.88.254;<br>
                option broadcast-address 192.168.88.255;<br>
                option subnet-mask 255.255.255.128;<br>
                option routers 192.168.88.129;<br>
                }<br>
<br>
        }<br>
<br>
}<br>
<br>
<br>
I got following lease asigment:<br>
Jun 29 17:04:42 centos86_64 dhcpd: DHCPDISCOVER from 08:00:27:95:d9:62 via 192.168.88.129<br>
Jun 29 17:04:42 centos86_64 dhcpd: DHCPOFFER on 192.168.88.33 to 08:00:27:95:d9:62 via 192.168.88.129<br>
Jun 29 17:04:42 centos86_64 dhcpd: DHCPREQUEST for 192.168.88.33 (20.1.1.254) from 08:00:27:95:d9:62 via 192.168.88.129<br>
Jun 29 17:04:42 centos86_64 dhcpd: DHCPACK on 192.168.88.33 to 08:00:27:95:d9:62 via 192.168.88.129<br>
<br>
What is wrong ?I expeted that request coming from 192.168.88.129 would receive some lease from pool2 since 192.168.88.129 falls there.<br>
Instead I, receibing a lease from pool1 including the router option ... The client connected behind relay2 will never go out.<br>
Any Ideas ?<br>
<br>
Thanks in advance,<br>
Leandro.<br>
<br>
<br>
</div>
</div>
</span>
</body>
</html>