From owner-freebsd-hackers Sun May 16 13:22:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by hub.freebsd.org (Postfix) with ESMTP id B968114D73; Sun, 16 May 1999 13:22:13 -0700 (PDT) (envelope-from justin@walker3.apple.com) Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.8.5/8.8.5) with ESMTP id NAA33354; Sun, 16 May 1999 13:22:13 -0700 Received: from scv4.apple.com (scv4.apple.com) by mailgate1.apple.com (mailgate1.apple.com- SMTPRS 2.0.15) with ESMTP id ; Sun, 16 May 1999 13:22:05 -0700 Received: from walker3.apple.com (walker3.apple.com [17.219.24.201]) by scv4.apple.com (8.9.3/8.9.3) with ESMTP id NAA29088; Sun, 16 May 1999 13:20:22 -0700 Received: by walker3.apple.com (8.9.1/8.9.1) id NAA00766; Sun, 16 May 1999 13:22:07 -0700 (PDT) Message-Id: <199905162022.NAA00766@walker3.apple.com> To: adrian@freebsd.org Subject: Re: ifconfig: changing mac address Cc: Bernd Walter , freebsd-hackers@freebsd.org In-Reply-To: "Your message of Sun, 16 May 1999 11:48:42 +0200."<19990516114842.A48820@cicely8.cicely.de> Date: Sun, 16 May 1999 13:22:05 -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: adrian@FreeBSD.ORG > Date: 1999-05-16 04:59:51 -0700 > To: Bernd Walter > Subject: Re: ifconfig: changing mac address > Cc: freebsd-hackers@FreeBSD.ORG > In-reply-to: "Your message of Sun, 16 May 1999 11:48:42 > +0200."<19990516114842.A48820@cicely8.cicely.de> > Delivered-to: freebsd-hackers@freebsd.org > X-Loop: FreeBSD.ORG > > > >> 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. > > >An alias would be nice. A standby system must be reachable before it > >will be active and will need another MAC to be. > >But I don't see any sence in having more than one MAC on one IP-Address. > >So talking on IP it should be an optional argument to the ip-alias. > > Remembering that if you add multiple hw addresses to a single card, you then > have to lock down IP addresses to hw addresses or things become very > very very confused. > > Can someone with a little more experience in the IP/arp code explain this > one a bit better? I'm just waving my hands here, but first, I think drivers should be able to provide this "service" without getting too hung up in the implications (i.e., they just pass incoming data up the line and let another piece of the system deal with it; and for output, they take fully-formed packets and get the bits on the wire [I did say I was hand-waving]). I think the upper layers might be able to keep this stuff straight, e.g., by providing virtual interfaces above the physical, to discriminate on physical addresses. Also, this isn't IP-specific, since the Mac makes use of this capability for support of "other OSs and their [unprintable] stacks" (this in response to the concern that about more than one MAC address per IP address). Being able to use this functionality may take a bit more engineering, but it seems that there is good reason to consider it as part of the "driver interface". 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