Red Hat Bugzilla – Bug 447813
pxe install fails to query the right dhcp server on 2 interface cards
Last modified: 2008-10-07 00:19:09 EDT
Description of problem:
I'm doing a PXE install with a PC that has 2 interfaces (eth0, eth1) connected
to 2 separate network (net0, net2), having its own dhcp server (dhcpd0,dhcpd1).
PXE install often fails when I want to a PXE install through eth1, which should
obtain IP through dhcpd1, but due to algorithm in anaconda it query the IP on
first interface found (eth0), thus getting an IP from dhcpd0 instead of dhcpd1.
The install process then fail to proceed since its assigned IP could not reach
the desired network (net1).
NOTE: due to dynamic re-assignment of NIC card during install, the problem
sometimes goes away after rebooting the install process several times until the
desired interface card is assigned first (eth1 => eth0) thus getting the right
IP from desired dhcp server(dhcpd1 => dhcpd0). So the problem doesn't always
Desired solution would be to start IP query through dhcp server the interface
where PXE download its pxelinux.0 (often indicated on command line, i.e.
kickstart device > ksdevice=eth1)
Version-Release number of selected component (if applicable):
Will fail when the desired interface is assigned last (eth1) and query an IP
through the wrong dhcp server (dhcpd0 instead of dhcpd1).
Steps to Reproduce:
1. Prepare PXE install with 2 interface cards with live network and each having
its own separate dhcp server.
2. Try to PXE install through the interface (i.e. eth1) that often assigned last
in order by ananconda install program.
3. below is an example of pxelinux config. (pxelinux.cfg/default)
The install process simply stop as soon as it is assigned an IP from the wrong
dhcp server (dhcpd0 instead of dhcpd1)
*** Bug 439060 has been marked as a duplicate of this bug. ***
Is this happening with the latest rawhide builds?
this is working on the latest build I just installed dated 10/6/08.