...lazy...

Not all problems can be fixed by somebody else. Work a little for a change.

   If you wish to name your interfaces switch to Windows.

ifconfig -a | awk '/^[a-z0-9^]*:/ {i=$1} /inet / {ip=$2;net=$4;} /status/ {print i" "ip" - "net" - "$2}'

em0: 10.0.1.1 - 0xff000000 - active
em1: 69.x.x.x - 0xfffffff8 - active
em2: 64.x.x.x - 0xfffffff8 - active
em3: 192.168.3.1 - 0xffffff00 - active
em4: 206.x.x.x - 0xfffffff0 - active

Scott Long wrote:

Mike Meyer wrote:

In <[EMAIL PROTECTED]>, Scott Long <[EMAIL PROTECTED]> typed:

Please trim the text you are repling to.


Please, I'm tired of arbitrary email etiquette.

But where do you put the label on an ethernet interface?

    <mike


It sounds like your message is, "don't be like Linux."  Fine, what do
you want instead?  How does having 2 em devices in my system, named em0
and em1, tell me by name which one is connected to which LAN?

Scott
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


--
Alain Hebert [EMAIL PROTECTED] PubNIX Inc. P.O. Box 175 Beaconsfield, Quebec H9W 5T7
tel 514-990-5911   http://www.pubnix.net    fax 514-990-9443

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to