From owner-freebsd-questions Wed Apr 11 10: 0: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stargate.clickcom.com (stargate.clickcom.com [209.198.22.4]) by hub.freebsd.org (Postfix) with ESMTP id C074737B422 for ; Wed, 11 Apr 2001 10:00:00 -0700 (PDT) (envelope-from jks@clickcom.com) Received: from fishbowl (dhcp-1.clt.clickcom.com [209.198.22.65]) by stargate.clickcom.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 2K779N09; Wed, 11 Apr 2001 12:40:37 -0400 From: "John Straiton" To: Subject: RE: Naming ethernet NICs Date: Wed, 11 Apr 2001 13:04:33 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <01041106563200.03731@pravda.tenzo.net> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. So is there any reason why in this situation, you couldn't create a quick script (I say script simply because I find if I script something and keep the file, I can faithfully recreate the situation- and we're trying to keep things easy to remember in this situation, right?) to create symbolic links from the real NIC names to something like WAN0 and LAN0 , then use those names in your scripts? Then if you changed NIC's you would just change the link and your other files would indirectly see the change? John Straiton ClickCom, Inc. ne@clickcom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message