Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ignoring DHCP settings
2015-05-06, 13:45
Post: #2
RE: Ignoring DHCP settings
(2015-05-06 02:53)Scotty Wrote:  Editing those settings (either via config or using set commands) when I run

chain tftp://servername/pxelinux.0

it just times out.

However - when I get the next-server and filename settings in DHCP set to match the settings of the server and pxelinux.0 it works.

It seems that the existing settings from the DHCP server are still interfering.

In which scope are you editing the settings? The reconstructed DHCP packets passed to pxelinux.0 (or to any other PXE NBP) give priority to netdevice-specific settings, since the PXE API is implicitly requesting the DHCP packet for a single network device. This means that a setting in the "net0" scope will take priority over a setting in the top-level scope.

You probably want to do something like:

Code:
#!ipxe
dhcp
set netX/next-server 192.168.0.1
set netX/filename bootfile
chain tftp://${next-server}/pxelinux.0

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Ignoring DHCP settings - Scotty - 2015-05-06, 02:53
RE: Ignoring DHCP settings - mcb30 - 2015-05-06 13:45
RE: Ignoring DHCP settings - Scotty - 2015-05-08, 01:05



User(s) browsing this thread: 2 Guest(s)