Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: multi vlan subnet, wrong netmask and wrong router offer
      in PXE (Niall O'Reilly)
   2. Re: multi vlan subnet, wrong netmask and wrong router offer
      in PXE (Sten Carlsen)


----------------------------------------------------------------------

Message: 1
Date: Tue, 07 Apr 2020 11:57:33 +0100
From: "Niall O'Reilly" <niall.orei...@ucd.ie>
To: "Users of ISC DHCP" <dhcp-users@lists.isc.org>
Subject: Re: multi vlan subnet, wrong netmask and wrong router offer
        in PXE
Message-ID: <5105e05b-e079-4e38-9d93-5cf0cb3ea...@ucd.ie>
Content-Type: text/plain; markup=markdown

On 7 Apr 2020, at 10:51, nono monbou wrote:

> Could you help me ?

You should keep host declarations global: that is, not contained in any subnet
declaration. This is almost certainly the most common single piece of advice
given on this mailing list.

Best regards,
Niall O'Reilly


------------------------------

Message: 2
Date: Tue, 7 Apr 2020 13:13:43 +0200
From: Sten Carlsen <st...@s-carlsen.dk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>, nono monbou
        <isanau...@hotmail.com>
Subject: Re: multi vlan subnet, wrong netmask and wrong router offer
        in PXE
Message-ID: <7b0215d7-4659-6aee-a6fe-d66a0e27d...@s-carlsen.dk>
Content-Type: text/plain; charset="windows-1252"


On 07-04-2020 11.51, nono monbou wrote:
> Hello
> I have a problem on pxe boot on one of my vlan.
> Dhcp offers the wrong netmask and the wrong router ip.
> Dhcp offer the netmask and the router ip? of the first declarated
> subnet in the dhcpd.conf.
> I join my dhcpd.conf
>
> For example
> A machine of the vlan 10 (subnet 149.55.10.0/24) obtain 148.55.10.180
> ip address but 255.255.248 netmask and 149.55.7.254 router ip.

Host statement are ALWAYS global BUT take some of their parameters from
the place where they are declared.


It looks like the host you refer to here is one of the following:

admin01
admin02
admin05
d001m01
d279m01
d270m01
d279m02
e003m01
e003m02

since these are declared in "subnet 149.55.0.0 netmask 255.255.248.0"
and this is the only place where the router is mentioned.


Your class definitions are seemingly identical for each subnet? I
believe this is a big mistake, AFAIK class statements are global in
nature, so they may pick up the router from any of the places they are
declared.


Proposal:

Collect all host statements in one place outside the scope of all
subnets. E.g. at the end of the file.

Collect the class statements in the same way, as hosts. Then look for
another way to set the differentiating details in each pool.

>
> Could you help me ?
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20200407/dedf6a25/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 138, Issue 5
******************************************

Reply via email to