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:[EMAIL PROTECTED] > 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 >> >> >> >> >> >> _______________________________________________ >> [EMAIL PROTECTED] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> > > > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"