FAI confused by DHCP on multiple network interfaces
j at ocado.com
Thu Mar 18 17:17:24 CET 2021
I don't think you mentioned if you are using syslinux or not, but if you
are, you can put something like this in your pxe config file:
For an entire config might look like this:
append initrd=initrd.img console=ttyS0,115200n8 console=tty0 ip=dhcp
FAI_ACTION=install rd.net.timeout.carrier=20 rd.net.timeout.ifup=30
On Thu, 18 Mar 2021 at 16:11, Steffen Grunewald <
steffen.grunewald at aei.mpg.de> wrote:
> Hi all,
> I'm trying to install an old machine in the basement - from home office,
> not having a simple means to pull network plugs, just a static BMC
> The machine is booted via PXE on *-network:0 (in "lshw"'s terms), and gets
> started properly. But then things go downhill a bit, although the install
> is successful - it's IPADDR that gets mangled, resulting in a chain of
> wrong network settings (and the machine won't boot properly into a state
> I could connect to).
> Here's the boot.log returned to the server after installation:
> # cat boot.log
> netdevices_all="eth0 eth1 "
> netdevices_up="eth0 eth1 "
> netdevices="eth0 eth1 "
> All is fine (the DNS server is set by DHCP) - until the addition of the
> second IPADDR entry (which indeed belongs to the second NIC).
> Everything that sources boot.log afterwards gets affected by this mistake,
> and variables.log reads a bit strange:
> # cat variables.log | grep '^[A-Z].*\..*\..*\..*'
> The FAI version in the Debian Buster NFSROOT is 5.9.4, the NFSROOT was
> created (and copied to the non-X86_64 server) on Feb 11.
> Is this a known problem? How can I force the setup back to using the
> IPADDR, obtained from the DHCP/TFTP server that is used for the install?
> (I vaguely remember there's a way to feed this into the pxelinux.cfg file
> but ideally I should not need to know whether there are responses from
> DHCP servers, and if there are any, they should not overwrite IPADDR - with
> a value identical to IP1ADDR.)
> Patches (to be applied directly to the NFSROOT) are welcome!
> Steffen Grunewald, Cluster Administrator
> Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
> Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany
> Fon: +49-331-567 7274
> Mail: steffen.grunewald(at)aei.mpg.de
This email is confidential and may contain copyright material of
members of the Ocado Group. Opinions and views expressed in this message
may not necessarily reflect the opinions and views of the members of the
If you are not the intended recipient, please notify us
immediately and delete all copies of this message. Please note that it is
your responsibility to scan this message for viruses.
References to the
"Ocado Group" are to Ocado Group plc (registered in England and Wales with
number 7098618) and its subsidiary undertakings (as that expression is
defined in the Companies Act 2006) from time to time. The registered office
of Ocado Group plc is Buildings One & Two, Trident Place, Mosquito Way,
Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linux-fai