From owner-freebsd-questions Wed Apr 11 6:56:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pravda.tenzo.net (h24-69-46-74.gv.shawcable.net [24.69.46.74]) by hub.freebsd.org (Postfix) with ESMTP id 8CA5037B422 for ; Wed, 11 Apr 2001 06:56:34 -0700 (PDT) (envelope-from michael@tenzo.com) Received: from pravda.tenzo.net (localhost.localdomain [127.0.0.1]) by pravda.tenzo.net (Postfix) with SMTP id 20FB13F25 for ; Wed, 11 Apr 2001 06:56:33 -0700 (PDT) Content-Type: text/plain; charset="iso-8859-1" From: Michael O'Henly Reply-To: michael@tenzo.com Organization: TENZO Design To: freebsd-questions@FreeBSD.ORG Subject: Re: Naming ethernet NICs Date: Wed, 11 Apr 2001 06:56:32 -0700 X-Mailer: KMail [version 1.2] References: <000e01c0c24a$9c9edfc0$1401a8c0@tedm.placo.com> <009701c0c288$cfc4dce0$0508a8c0@lofi.dyndns.org> In-Reply-To: <009701c0c288$cfc4dce0$0508a8c0@lofi.dyndns.org> MIME-Version: 1.0 Message-Id: <01041106563200.03731@pravda.tenzo.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday 11 April 2001 06:10, Michael Nottebrock wrote: [...] > One disadvantage of the BSD-type naming convention is that one does > end up putting rl0's, ed0's and the like into config-files or batches, > which have to be changed if the hardware changes, for example a > '/usr/local/sbin/dhcpd dc0' in /etc/rc.local or a 'set device > PPPoE:rl0' in /etc/ppp/ppp.conf, or (the most annoying) if you happen > to have lots of 'via ' statements in your ipfw ruleset. Yes, this is what I meant. The reason I raised the questions is that I'm configuring a simple firewall for my home network and so far I've "hardcoded" NIC names in three or four different places. Presumably if I ever replaced a NIC with a different type/driver, I'd have to rediscover all the places I'd used the old name. M. -- Michael O'Henly TENZO Design To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message