From owner-freebsd-questions@FreeBSD.ORG Tue May 23 20:54:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7572C16AE67 for ; Tue, 23 May 2006 20:54:29 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id E345E43D6A for ; Tue, 23 May 2006 20:54:21 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by nz-out-0102.google.com with SMTP id n1so2289081nzf for ; Tue, 23 May 2006 13:54:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ao7A3QFIeJZOxHDe317c6EFMgh1px48hW6aZ4YZlc5yd9lBM28VVWQJrPb61MDnUcs6GPT3e1ADykUjrMTT7GqGycqDs1visOodq31lZtEZRG7fbZO/ObCkDdSWwajPxZc+Wuja6XWQohGgGaEZfCLuMYHLaXW5eZWRrsrvgEQo= Received: by 10.64.49.20 with SMTP id w20mr2851196qbw; Tue, 23 May 2006 13:54:20 -0700 (PDT) Received: by 10.65.154.19 with HTTP; Tue, 23 May 2006 13:54:20 -0700 (PDT) Message-ID: Date: Tue, 23 May 2006 13:54:20 -0700 From: "Atom Powers" To: Yaning In-Reply-To: <20060523203605.4273.qmail@web54302.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060523203605.4273.qmail@web54302.mail.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Question about DHCP client with multi-interface. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 20:54:30 -0000 On 5/23/06, Yaning wrote: > All, > My system have three network cards, interface are > fxp0, fxp1, em0. If I set one interface with static IP > address at install time, such as: > em0 IP =3D 10.20.16.59 I hope these three interfaces are not on the same physical network. > then I enable one interface with DHCP, such as, > running command: > > dhlient fxp0 > In /etc/rc.conf ifconfig_em0=3D"10.20.16.59/24" (or whatever your netmask is) ifconfig_fxp0=3D"DHCP" > Then I reboot system. After system boot up, fxp0 > assign an IP address by DHCP server. > But the static ip address on em0 is gone. > How can I correct this problem? It shouldn't be gone, but it may be unused if both interfaces are on the same network. (Use "ifconfig" to check the status of your interfaces.) > > Thanks, > > Yaning > --=20 -- Perfection is just a word I use occasionally with mustard. --Atom Powers--