From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 16:04:42 2008 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 73DDB1065670 for ; Mon, 8 Sep 2008 16:04:42 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [69.31.85.206]) by mx1.freebsd.org (Postfix) with ESMTP id 149DF8FC19 for ; Mon, 8 Sep 2008 16:04:41 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from [10.1.0.29] ([204.107.76.235]) (authenticated user mikel@olivent.com) by mail.olivent.com (Kerio MailServer 6.5.0) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Mon, 8 Sep 2008 12:04:39 -0400 References: <24450181-D401-401F-81B3-5EBFB9C737DF@safarivideonetworks.com> Message-Id: <45DBB5D8-F8BB-43E0-8920-00A41AAE0EF6@olivent.com> From: Mikel King To: benjamin thielsen In-Reply-To: <24450181-D401-401F-81B3-5EBFB9C737DF@safarivideonetworks.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Mon, 8 Sep 2008 12:03:59 -0400 X-Mailer: Apple Mail (2.926) Cc: freebsd-questions@freebsd.org Subject: Re: changing network interface names 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: Mon, 08 Sep 2008 16:04:42 -0000 On Sep 8, 2008, at 11:24 AM, benjamin thielsen wrote: > hi- > > i have a computer with 2 ethernet interfaces (a dell poweredge 2900) > on which the interface names are transposed logically versus > physically (e.g. the interface labelled "ethernet 1" is named "bce1" > and the interface labelled "ethernet 2" is labelled "bce0"). > > how can i change this, aside from using the ifconfig name argument? > > thanks > -ben > ____________________ Ben, The manpage for rc.conf includes the following example: It is also possible to rename interface by doing: ifconfig_ed0_name="net0" ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000" Obviously you can also do this manually w/ ifconfig, but I suspect hat you'd like this change to occurr everytime you restart. Cheers, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court Medford, NY 11763 http://www.olivent.com http://www.daemonnews.org http://www.bsdmag.org http://www.jafdip.com skype: mikel.king t: 631.627.3055 m: 646.554.3660 +------------------------------------------+ Do You know where your towel is? +------------------------------------------+