From owner-freebsd-questions@FreeBSD.ORG Tue May 23 20:54:30 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 CD97016AE6A for ; Tue, 23 May 2006 20:54:29 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7AAC43D5D for ; Tue, 23 May 2006 20:54:20 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 24F565D5D; Tue, 23 May 2006 12:54:20 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from 114-103-74-65.gci.net (114-103-74-65.gci.net [65.74.103.114]) by pinnacle.akherb.com (Postfix) with ESMTP id 032C05D24; Tue, 23 May 2006 12:54:18 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-questions@freebsd.org Date: Tue, 23 May 2006 12:50:51 -0800 User-Agent: KMail/1.9.1 References: <20060523203605.4273.qmail@web54302.mail.yahoo.com> In-Reply-To: <20060523203605.4273.qmail@web54302.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1320285.e8YvF72uPd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605231251.05928.beech@alaskaparadise.com> Cc: Yaning 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 --nextPart1320285.e8YvF72uPd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 23 May 2006 12:36, 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 > > then I enable one interface with DHCP, such as, > running command: > > dhlient fxp0 > > 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? > > Thanks, > > Yaning Put the following in /etc/rc.conf ifconfig_em0=3D"inet 10.20.16.59 netmask 255.255.255.0" ifconfig_fxp0=3D"DHCP" remove any other ifconfig_ em0 or fxp0 lines and reboot. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1320285.e8YvF72uPd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEc3W5p5D0B1NlT4URAogDAJ0bV2QKs+NwktNtWOT6M/iDEEWsgQCcD8BP 4IRZfcJ0QHb8t+pmGVIQCys= =aGmZ -----END PGP SIGNATURE----- --nextPart1320285.e8YvF72uPd--