Bug 20481 - pump appears to fail when using DHCP in multiple subnets
Summary: pump appears to fail when using DHCP in multiple subnets
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pump
Version: 6.2
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-07 18:40 UTC by Andy Vrabel
Modified: 2005-10-31 22:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-08-01 17:43:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Andy Vrabel 2000-11-07 18:40:09 UTC
When I configure DHCP for multiple NICs in the same machine and the NICs
are attached to different subnets, only the first NIC learns an address and
comes up. In my test network, I have 2 NICs, one in a 10.10.10.0 subnet and
the other in a 20.20.20.0 subnet. The first NIC comes up, sends a DHCP
discovery frame and gets an address, say 10.10.10.1, from the DHCP server. 
A DHCP discovery frame is never sent from the second NIC. Instead, it
appears to broadcast a frame from 10.10.10.1 to 255.255.255.255 (I didn't
have a sniffer handy to see what this broadcast frame was). Eventually,
pump appears to fail and the interface is ifconfig'ed down.

Comment 1 Allen Lau 2000-12-15 21:19:42 UTC
Pump uses UDP Datagram Socket to broadcast DHCP DISCOVERY packets. 
When the interfaces are not yet configured with any IP address, BIND is picking
a
source address from the top of the list of Interface addresses to put in the
DISCOVRE packet. 

This is not a problem on a system with one network adapter. With two or more
adapters running
dhcp on different subnets, all pump clients will fail except the one on the
first adapter (it's because
pump sends out DISCOVER packets on the second adapter with the source IP address
of the 
first adatper. The DHCP server will not see these DISCOVER packet). 




Comment 2 Elliot Lee 2001-07-20 15:56:30 UTC
Apologies for the unresponsiveness of the previous pump packager...

Does dhcpcd handle multiple interfaces better? It is used in rawhide.

Comment 3 Glen Foster 2001-08-01 17:42:56 UTC
Closing at customer's request.

Comment 4 Elliot Lee 2001-08-08 03:57:35 UTC
Close bug for real.


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