From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 07:37:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D020316A4CE for ; Thu, 3 Jun 2004 07:37:45 -0700 (PDT) Received: from smtp.ibctech.ca (shadow2.eagle.ca [209.167.16.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E22743D2F for ; Thu, 3 Jun 2004 07:37:42 -0700 (PDT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 70216 invoked by uid 1003); 3 Jun 2004 14:44:55 -0000 Received: from iaccounts@ibctech.ca by smtp.ibctech.ca by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. spamassassin: 2.60. Clear:RC:1(127.0.0.1):. Processed in 0.027308 secs); 03 Jun 2004 14:44:55 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.northnetworks.ca with SMTP; 3 Jun 2004 14:44:55 -0000 Received: from 209.167.16.15 (SquirrelMail authenticated user steve@ibctech.ca) by webmail.ibctech.ca with HTTP; Thu, 3 Jun 2004 10:44:55 -0400 (EDT) Message-ID: <4656.209.167.16.15.1086273895.squirrel@webmail.ibctech.ca> Date: Thu, 3 Jun 2004 10:44:55 -0400 (EDT) From: "Steve Bertrand" To: "Thomas May" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: AW: changing ethernetcard name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 14:37:45 -0000 Thomas May said: > Thanx for your answer, we want to use that because we dont want to change > our firewall scripts at every time we change our hardware ... > In your script you can perform the same task. In the variable section, you can simply do: eth0="xl0" and then, if you refer to your nics as in/out interfaces, any further existing lines like this: oif="eth0" iif="eth1" would still be effective. (so long as they are placed below the line(s) above) ~sb > thomas > > -----Ursprüngliche Nachricht----- > Von: Steve Bertrand [mailto:iaccounts@ibctech.ca] > Gesendet: Donnerstag, 3. Juni 2004 15:48 > An: Thomas May > Betreff: Re: changing ethernetcard name > >> Could I rename the cards as follow ? >> xl0 = eth0 , xl1 = eth1, and em0 = eth3 ? >> > > For what purpose? If you simply want to do this for clarity of use at the > command line, you could create name aliases in your login profile. (ie: > alias xl0 eth0). > > If this is not what you want it for, then someone else will have to > suggest a solution because I don't know if it can be done or not any other > way. > > ~sb > > >> >> >> Thanx >> >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > >