The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipxe inside pxelinux/syslinux with static ip configuration
2014-05-11, 09:40
Post: #1
ipxe inside pxelinux/syslinux with static ip configuration
hi everyone,
i want to boot ipxe kernel from inside my pxelinux.cfg without a second dhcp request, because i want to keep my dhcp configuration.
After the first dhcp request my nic is configured and i am loading the kernel with an embedded ipxe script like that:

DEFAULT XXX
LABEL XXX
KERNEL ipxe/ipxe.lkrn

When i ifstat my nic in the ipxe script, the nic link is down and i have to configure it with "ifconf" command. My first question:
- Is it possible to keep the nic link open and just reuse the configuration from the first dhcp request in my ipxe.krnl env?
- If it is not possible how can i pass the pre-configured nic settings (ip, gw ...) from syslinux to the ipxe env to set it up manually? In syslinux i can append the settings with "IPAPPEND 1" but i don't know how to pass it to my ipxe.lkrn? I could edit an additional "static" configurator (dhcp/ipv6/static(new)) and compile it into the ipxe kernel.

Any ideas to that?
kind regards,
stefan
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ipxe inside pxelinux/syslinux with static ip configuration - sschneid - 2014-05-11 09:40



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