[DHCPDISCOVER]unknown network segment.

Hans Liss Hans at Liss.pp.se
Thu Oct 16 11:19:48 UTC 2014


If you made a search and replace, the subnet definition for "X.X.X160" 
strikes me as odd. Shouldn't it be "X.X.X.160"?

/Hans

On 2014-10-16 10:55, Eugène Ngontang wrote:
>
> Hi Simon.
>
> Yes for the X.X.X it's same every where. I have just made a 
> search/replace.
> For the subnet declaration do you mean I should do this :
>
> .subnet X.X.X160 netmask 255.255.255.224 {
> option routers         X.X.X.161;
> option subnet-mask  255.255.255.224;
> option nis-domain "mynisdomain.com <http://mynisdomain.com>";
> option domain-name "mydomain.org <http://mydomain.org>";
>  option domain-name-servers   Y.Y.Y.3, Y.Y.Y.3;
> range      X.X.X.162 X.X.X.190;
>      default-lease-time 21600;
>      max-lease-time 43200;
> }
>
> Thank you.
> Eugène NG
>
> Le 15 oct. 2014 23:18, "Simon Hobson" <dhcp1 at thehobsons.co.uk 
> <mailto:dhcp1 at thehobsons.co.uk>> a écrit :
>
>     Eugène Ngontang <sympavali at gmail.com <mailto:sympavali at gmail.com>>
>     wrote:
>
>     > In fact I have in dhcpd conf file a block defining a subnet like
>     this :
>     >
>     > subnet X.X.X160 netmask 255.255.255.224 {
>     >         option routers                  X.X.X.161;
>     >         option subnet-mask              255.255.255.224;
>     >         option nis-domain               "mynisdomain.com
>     <http://mynisdomain.com>";
>     >         option domain-name              "mydomain.org
>     <http://mydomain.org>";
>     >         option domain-name-servers      Y.Y.Y.3, Y.Y.Y.3;
>     >         range                           X.X.X.162 X.X.X.190;
>     >         default-lease-time 21600;
>     >         max-lease-time 43200;
>     >
>     > }
>     >
>     > Howerver my client is not getting any ip address, and from my
>     dhcp server I see this error in the logs :
>     >
>     > Oct 12 04:02:27 SERVERHOSTNAME dhcpd: DHCPDISCOVER from
>     00:aa:aa:aa:aa:aa via X.X.X.163: unknown network segment
>     > Oct 12 04:02:27 SERVERHOSTNAME dhcpd: DHCPDISCOVER from
>     00:aa:aa:aa:aa:aa  via X.X.X.162: unknown network segment
>
>     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.
>
>     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 ?
>
>     _______________________________________________
>     dhcp-users mailing list
>     dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
>     https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20141016/886b82e2/attachment.html>


More information about the dhcp-users mailing list