<p dir="ltr">Hi Simon.</p>
<p dir="ltr">Yes for the X.X.X it's same every where. I have just made a search/replace.<br>
For the subnet declaration do you mean I should do this :</p>
<p dir="ltr">.subnet X.X.X160 netmask 255.255.255.224 {<br>
option routers X.X.X.161;<br>
option subnet-mask 255.255.255.224;<br>
option nis-domain "<a href="http://mynisdomain.com">mynisdomain.com</a>";<br>
option domain-name "<a href="http://mydomain.org">mydomain.org</a>";<br>
option domain-name-servers Y.Y.Y.3, Y.Y.Y.3; <br>
range X.X.X.162 X.X.X.190;<br>
default-lease-time 21600;<br>
max-lease-time 43200;<br>
}</p>
<p dir="ltr">Thank you.<br>
Eugène NG</p>
<div class="gmail_quote">Le 15 oct. 2014 23:18, "Simon Hobson" <<a href="mailto:dhcp1@thehobsons.co.uk">dhcp1@thehobsons.co.uk</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Eugène Ngontang <<a href="mailto:sympavali@gmail.com">sympavali@gmail.com</a>> wrote:<br>
<br>
> In fact I have in dhcpd conf file a block defining a subnet like this :<br>
><br>
> subnet X.X.X160 netmask 255.255.255.224 {<br>
> option routers X.X.X.161;<br>
> option subnet-mask 255.255.255.224;<br>
> option nis-domain "<a href="http://mynisdomain.com" target="_blank">mynisdomain.com</a>";<br>
> option domain-name "<a href="http://mydomain.org" target="_blank">mydomain.org</a>";<br>
> option domain-name-servers Y.Y.Y.3, Y.Y.Y.3;<br>
> range X.X.X.162 X.X.X.190;<br>
> default-lease-time 21600;<br>
> max-lease-time 43200;<br>
><br>
> }<br>
><br>
> Howerver my client is not getting any ip address, and from my dhcp server I see this error in the logs :<br>
><br>
> Oct 12 04:02:27 SERVERHOSTNAME dhcpd: DHCPDISCOVER from 00:aa:aa:aa:aa:aa via X.X.X.163: unknown network segment<br>
> Oct 12 04:02:27 SERVERHOSTNAME dhcpd: DHCPDISCOVER from 00:aa:aa:aa:aa:aa via X.X.X.162: unknown network segment<br>
<br>
Well the fact that you get packets via X.X.X.162 and X.X.X.163 suggest that there are device(s) with those addresses - the addresses should therefore **NOT** be in a dynamic pool as you have here.<br>
<br>
But the main problem is that because you've changed things, we can't (for example) look for obvious typos. First thing to *really* check is that X.X.X is the same set of numbers in all cases - it's not hard to make a typo, and usually very hard to spot them. As an example, do you realise that you've missed a "." at the start of the subnet declaration ?<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>