Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ignoring DHCP settings
2015-05-08, 01:05 (This post was last modified: 2015-05-08 04:56 by Scotty.)
Post: #3
RE: Ignoring DHCP settings
(2015-05-06 13:45)mcb30 Wrote:  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

Ah! I should have thought of that.

I'll give it a shot later today and update with my results Smile

Post testing:

It worked as described ... dhcp set the details for net0, and manually setting the details for net0 let me override the dhcp supplied values.

Many thanks mate


Scotty
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)