Date: Sat, 08 Apr 2006 18:27:26 -0400 From: Alain Hebert <ahebert@pubnix.net> Cc: hackers@freebsd.org Subject: Re: Using any network interface whatsoever Message-ID: <443838CE.2020002@pubnix.net> In-Reply-To: <44383346.2030207@samsco.org> References: <C05CAC06.C0BD%ceri@submonkey.net> <20060407225742.GA21619@odin.ac.hmc.edu> <20060407230247.GH16344@submonkey.net> <4437C9F6.5000008@samsco.org> <17463.65076.117616.563302@bhuda.mired.org> <443811EF.2020509@samsco.org> <17464.8074.937742.701480@bhuda.mired.org> <44383346.2030207@samsco.org>
index | next in thread | previous in thread | raw e-mail
...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 <443811EF.2020509@samsco.org>, Scott Long <scottl@samsco.org> 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
> "freebsd-hackers-unsubscribe@freebsd.org"
>
--
Alain Hebert ahebert@pubnix.net
PubNIX Inc.
P.O. Box 175 Beaconsfield, Quebec H9W 5T7
tel 514-990-5911 http://www.pubnix.net fax 514-990-9443
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443838CE.2020002>
