From owner-freebsd-net@FreeBSD.ORG Sat May 3 06:47:38 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B03D37B401 for ; Sat, 3 May 2003 06:47:38 -0700 (PDT) Received: from mwinf0201.wanadoo.fr (smtp7.wanadoo.fr [193.252.22.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37BB443FBF for ; Sat, 3 May 2003 06:47:35 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (AVelizy-102-1-3-52.abo.wanadoo.fr [217.128.244.52]) by mwinf0201.wanadoo.fr (SMTP Server) with ESMTP id 48A0F3000423 for ; Sat, 3 May 2003 15:47:33 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" From: Vincent Jardin To: net@freebsd.org Date: Sat, 3 May 2003 15:47:34 +0200 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305031547.34668.vjardin@wanadoo.fr> Subject: Howto rename an interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 13:47:38 -0000 I would like to rename the network interfaces. More particularly, I would= like=20 to control the numbers in the name and to remove the constraints. For example, what are the issues about renaming my 'vr0' interface to eth= 1-3=20 or DSL-WAN that does not have a ifunit within its name ? I think about the following issues, what am I forgetting ? - update all the sockaddr_dl - many drivers, in fact all of them, log with %s%d, ifname, ifunit - (add a message on the routing socket) Regards, Vincent