From owner-freebsd-hackers Sun May 16 2:48:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id 7A07614D39 for ; Sun, 16 May 1999 02:48:14 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely7.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.8.6/8.8.6) with ESMTP id LAA22969; Sun, 16 May 1999 11:46:12 +0200 (MET DST) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by cicely7.cicely.de (8.9.0/8.9.0) with ESMTP id LAA04286; Sun, 16 May 1999 11:46:48 +0200 (CEST) Received: (from ticso@localhost) by cicely8.cicely.de (8.9.3/8.9.2) id LAA48917; Sun, 16 May 1999 11:48:43 +0200 (CEST) (envelope-from ticso) Date: Sun, 16 May 1999 11:48:42 +0200 From: Bernd Walter To: "Justin C. Walker" Cc: Mike Smith , Greg Lehey , "Mark J. Taylor" , Daniel Eischen , freebsd-hackers@FreeBSD.ORG Subject: Re: ifconfig: changing mac address Message-ID: <19990516114842.A48820@cicely8.cicely.de> References: <19990515111348.K89091@freebie.lemis.com> <199905151912.MAA00629@walker3.apple.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199905151912.MAA00629@walker3.apple.com>; from Justin C. Walker on Sat, May 15, 1999 at 12:12:29PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, May 15, 1999 at 12:12:29PM -0700, Justin C. Walker wrote: > > > 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. 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. -- B.Walter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message