2014-05-11, 09:40
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
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