Bug 447813 - pxe install fails to query the right dhcp server on 2 interface cards
Summary: pxe install fails to query the right dhcp server on 2 interface cards
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
: 439060 (view as bug list)
Depends On: NMinAnaconda
TreeView+ depends on / blocked
Reported: 2008-05-21 21:51 UTC by ericm24x7
Modified: 2008-10-07 04:19 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-10-07 04:19:09 UTC
Type: ---

Attachments (Terms of Use)

Description ericm24x7 2008-05-21 21:51:14 UTC
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
show up. 
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):

How reproducible:
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)
     label f64r
        kernel /fed/rel/Fedora/x86_64/os/isolinux/vmlinuz
        append initrd=/fed/rel/Fedora/x86_64/os/isolinux/initrd.img
ksdevice=eth1 ks=

Actual results:
The install process simply stop as soon as it is assigned an IP from the wrong
dhcp server (dhcpd0 instead of dhcpd1)

Expected results:

Additional info:

Comment 1 Andy Lindeberg 2008-06-02 14:42:24 UTC
*** Bug 439060 has been marked as a duplicate of this bug. ***

Comment 2 David Cantrell 2008-10-07 02:43:35 UTC
Is this happening with the latest rawhide builds?

Comment 3 ericm24x7 2008-10-07 04:19:09 UTC
this is working on the latest build I just installed dated 10/6/08.

Note You need to log in before you can comment on or make changes to this bug.