Specify different pxeclients "next-server" for different subnet?

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Jan 9 21:35:48 UTC 2009

At 15:57 -0500 9/1/09, Drew Weaver wrote:
>Content-Language: en-US
>Content-Type: multipart/alternative;
>	boundary="_000_B7152C470C9BF3448ED33F16A75D81C14D44E868F8exchangathena_"
>Hi there.
>Is it possible to specify a different pxeclient "next-server" for each subnet?
>Currently I have this in my dhcpd.conf:
>class "pxeclients" {
>         match if substring(option vendor-class-identifier, 0, 9) = 
>         next-server;
>         filename "linux-install/pxelinux.0";
>I need to be able to specify the next-server for pxeclients for each subnet.
>Currently, even though we have next-server in the subnet declaration 
>it still uses

IIRC the class definition will override the subnet declaration. 
You'll need to have multiple classes I think.

Unless someone else comes up with a better method.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the dhcp-users mailing list