Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 16:55:36 +0100 (BST)
From:      Richard Tobin <richard@cogsci.ed.ac.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/30708: DHCP and multiple interfaces
Message-ID:  <200109211555.QAA29264@mcpherson.cogsci.ed.ac.uk>

next in thread | raw e-mail | index | archive | help

>Number:         30708
>Category:       misc
>Synopsis:       DHCP and multiple interfaces
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 21 09:00:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Richard Tobin
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
None
>Environment:
System: FreeBSD small.cogsci.ed.ac.uk 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Thu Sep 20 00:02:33 BST 2001     richard@small.cogsci.ed.ac.uk:/home/src/sys/compile/VAIO  i386

>Description:

/etc/rc.network takes care to gather up all the DHCP interfaces to pass
to a single dhclient program.

/etc/pccard_ether on the other hand expects to run a separate dhclient
for each interface, carefully storing their pids in different files.

If there are multiple pccard interfaces, or (more likely) a built-in
interface and a pccard interface (eg a wireless card), multiple
instances of dhclient will be started.  All but the first will fail
with "can't bind to dhcp address: Address already in use".

>How-To-Repeat:

Set the ifconfig_xxx variable for a built-in interface to DHCP, and
set pccard_ifconfig to DHCP.  Insert a pcmcia network card.

>Fix:

Either make it possible to run multiple dhclient programs (perhaps
impossible) or keep a record of the interfaces requiring dhcp and
restart dhclient when the list changes.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109211555.QAA29264>