From owner-freebsd-hackers Sat May 15 12:12:47 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-out2.apple.com (mail-out2.apple.com [17.254.0.51]) by hub.freebsd.org (Postfix) with ESMTP id 9270214C9E for ; Sat, 15 May 1999 12:12:45 -0700 (PDT) (envelope-from justin@walker3.apple.com) Received: from mailgate2.apple.com ([17.129.100.225]) by mail-out2.apple.com (8.8.5/8.8.5) with ESMTP id MAA35286 for ; Sat, 15 May 1999 12:12:44 -0700 Received: from scv3.apple.com (scv3.apple.com) by mailgate2.apple.com (mailgate2.apple.com- SMTPRS 2.0.15) with ESMTP id ; Sat, 15 May 1999 12:12:33 -0700 Received: from walker3.apple.com (walker3.apple.com [17.219.24.201]) by scv3.apple.com (8.9.3/8.9.3) with ESMTP id MAA35182; Sat, 15 May 1999 12:12:31 -0700 Received: by walker3.apple.com (8.9.1/8.9.1) id MAA00629; Sat, 15 May 1999 12:12:31 -0700 (PDT) Message-Id: <199905151912.MAA00629@walker3.apple.com> To: Mike Smith Subject: Re: ifconfig: changing mac address Cc: Greg Lehey , "Mark J. Taylor" , Daniel Eischen , freebsd-hackers@freebsd.org In-Reply-To: "Your message of Sat, 15 May 1999 11:13:49 +0930."<19990515111348.K89091@freebie.lemis.com> Date: Sat, 15 May 1999 12:12:29 -0700 From: "Justin C. Walker" Reply-To: justin@apple.com X-Mailer: by Apple MailViewer (2.105.dev) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: Mike Smith > Date: 1999-05-15 09:40:39 -0700 > To: Greg Lehey > Subject: Re: ifconfig: changing mac address > Cc: "Mark J. Taylor" ,Daniel Eischen > , freebsd-hackers@FreeBSD.ORG > In-reply-to: "Your message of Sat, 15 May 1999 11:13:49 > +0930."<19990515111348.K89091@freebie.lemis.com> > Delivered-to: freebsd-hackers@freebsd.org > X-Mailer: exmh version 2.0.2 2/24/98 > X-Loop: FreeBSD.ORG > > > It seems there's a need, and the possibility. Would somebody like to > > suggest a syntax? > > The precedent would be the socket ioctls SIOCGIFHWADDR and > SIOCSIFHWADDR. The Linux emulator suppors the get-only version > already. It's already been mentioned that some adapters support multiple unicast media addresses (the DEC parts; the on-board enets for (most) PowerPC Macs; ...). It would be good to support aliases for media addresses as well. The 'alias' keyword for ifconfig could be overloaded for this, no? The driver could fail the request if it didn't support it; or if it has run out of slots for aliases. There should also be (I think) a way to tell the driver to go to promiscuous mode to emulate this (an "I really want this" request?), but I'm not sure it should be the default response to the "set hardware address" request. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Manager, CoreOS Networking | Men are from Earth. Apple Computer, Inc. | Women are from Earth. 2 Infinite Loop | Deal with it. Cupertino, CA 95014 | *-------------------------------------*-------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message