From owner-cvs-all Sat Jun 17 12:16: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-206-88-224.dsl.snfc21.pacbell.net [63.206.88.224]) by hub.freebsd.org (Postfix) with ESMTP id CF7CF37B592; Sat, 17 Jun 2000 12:15:56 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id MAA01047; Sat, 17 Jun 2000 12:20:42 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200006171920.MAA01047@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Louis A. Mamakos" Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys sockio.h src/sys/net if.c src/sbin/ifconfig ifconfig.8 ifconfig.c In-reply-to: Your message of "Sat, 17 Jun 2000 14:57:55 EDT." <200006171857.OAA04805@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 17 Jun 2000 12:20:42 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > On Fri, Jun 16, 2000 at 04:23:14PM -0700, John-Mark Gurney wrote: > > > > consider that we use ether as a display for the MAC: > > > > fxp0: flags=8843 mtu 1500 > > > > ether 00:a0:c9:3c:5b:93 > > > > > > > > we should either add an alias for ether, or convert ether over to lladdr.. > > > > > > Agreed. "ether" is probably the most understood. > > > > Especially since this is the "ether" address we are setting. All of the > > other address tokens are address-family specific, rather than > > layer-specific. > > Sure, in this case it's an ethernet. But FDDI also uses 48 bit MAC > addresses. Would you use the same IOCTL to provide physical layer addresses > for other sorts of interfaces? Firewire uses (I think) 64 bit MAC > addresses. 802.11 use 48 bit addresses on their MAC, though most > folks think and treat them like Ethernet interfaces. > > This is an instance of a general problem, and all the world is > not a VAX, er, ethernet. That's correct. And that's why if you're setting an ethernet address, you should use 'ether', and if you're setting a FDDI MAC address you should use 'fddi', and if you're setting an RS485 multidrop address you should use eg. 'berknet' and so on. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message