From owner-freebsd-questions@FreeBSD.ORG Fri May 8 13:56:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 569081065670 for ; Fri, 8 May 2009 13:56:01 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id E5CFE8FC13 for ; Fri, 8 May 2009 13:56:00 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id n48DtxEf017281 for ; Fri, 8 May 2009 15:55:59 +0200 (CEST) (envelope-from Johan@double-l.nl) MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 8 May 2009 15:55:58 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE810@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Changing NIC Thread-Index: AcnP4PrTL8aA4sz+QSycOkzDh0jyDwAA5/bA References: <4A0432A0.40901@webrz.net> From: "Johan Hendriks" To: "Johan Hendriks" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: Changing NIC 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: Fri, 08 May 2009 13:56:01 -0000 >- FreeBSD 7.2-STABLE > >I am about the change the (working) nic of my FreeBSD server with a=20 >gigabit one. >Logically I think it would be good to add the new nic first and test it = >and if it is working, just remove the old one (or leave it without = cable). >Is that the common way of doing such? Are there disadvantages with = that? > >Jos Chrispijn The only thing need to change is the line = ifconfig_(interface_name)=3D"xxx.xxx ...... in the file /etc/rc.conf If = the server can be offline for some time, install the new NIC and remove = the old one. Then look in dmesg what name the new nic has, like bge0 or em0 or = something like that. Edit your /etc/rc.conf file so the line ifconfig_ has your new nic = module name, like ifconfig_em0=3D and restart the network with = /etc/netstart If all is working a final reboot and all should be OK Regards, Johan =20 No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.325 / Virus Database: 270.12.21/2102 - Release Date: = 05/08/09 06:34:00