Date: Thu, 3 Jun 2004 10:44:55 -0400 (EDT) From: "Steve Bertrand" <iaccounts@ibctech.ca> To: "Thomas May" <thomas.may@x9media.com> Cc: freebsd-questions@freebsd.org Subject: Re: AW: changing ethernetcard name Message-ID: <4656.209.167.16.15.1086273895.squirrel@webmail.ibctech.ca>
next in thread | raw e-mail | index | archive | help
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" >> > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4656.209.167.16.15.1086273895.squirrel>