From owner-freebsd-sparc64@FreeBSD.ORG Mon Jul 19 18:11:37 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49BEF16A4CE for ; Mon, 19 Jul 2004 18:11:37 +0000 (GMT) Received: from gatekeeper.radio-do.de (gatekeeper.Radio-do.de [193.101.164.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92C4443D41 for ; Mon, 19 Jul 2004 18:11:36 +0000 (GMT) (envelope-from fn@radio-do.de) Received: by gatekeeper.radio-do.de (Milliard Gargantubrain Mail Daemon, from userid 65534) id 653A2536; Mon, 19 Jul 2004 20:11:35 +0200 (CEST) Received: from [IPv6?2001?600?1032?666?20a?95ff?feba?60a4] (unknown [IPv6:2001:600:1032:666:20a:95ff:feba:60a4])ESMTP id 5A0AF4FD; Mon, 19 Jul 2004 20:11:33 +0200 (CEST) In-Reply-To: <20040719172658.GC10699@electra.cse.Buffalo.EDU> References: <20040719170238.GA3121@sunhsc.germany.sun.com> <20040719172658.GC10699@electra.cse.Buffalo.EDU> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <10DE5AAC-D9AF-11D8-A4E6-000A95BA60A4@radio-do.de> Content-Transfer-Encoding: 7bit From: Frank Nobis Date: Mon, 19 Jul 2004 20:11:33 +0200 To: Ken Smith X-Mailer: Apple Mail (2.618) X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on gatekeeper.radio-do.de X-Spam-Level: X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 cc: Ronald Kuehn cc: freebsd-sparc64@freebsd.org Subject: Re: Quad ethernet card on AXi starts with identical MAC addresses on 5.2.1R X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 18:11:37 -0000 Am 19.07.2004 um 19:26 schrieb Ken Smith: > On Mon, Jul 19, 2004 at 07:02:38PM +0200, Ronald Kuehn wrote: >> >> Yes, unless you set local-mac-address? to true in OBP. >> > > I would be interested in knowing if this works. I know it works on > SUN's running Solaris when it is possible but I just checked the > FreeBSD code and unless I made a wrong turn somewhere (which is > possible... :-) it won't matter if this is set or not. The pathway > I followed seemed to dig the MAC address out of the ID-PROM no matter > what. In particular hme_pci_attach() seems to call OF_getetheraddr() > which in turn seems to blindly dig the MAC address out of the idprom. > A friend told me Solaris would just add up some numbers to make different MAC addresses. I just tested with local-mac-address set to true. Some as before. Seems the the attach code of the hme driver reads only the MAC from the builtin ethernet and set this to all instances of the hme interfaces. The question is, how difficult it is to simulate the Solaris behavior. > If I recall correctly only some of the HME interfaces were designed > to have their own MAC address so supporting this was touch-and-go > even on Solaris. The idea of having one MAC address per machine > no matter how many interfaces it has had merit in the old days > but it really screwed things up when they invented VLAN-able > switches... > Or try and use IPv6. Nice warnings about duplicate DAD and duplicate scope id and so on. -- Frank Nobis Email: PGP AVAILABLE Thielenstr. 12 dg3dcn http://www.radio-do.de/~fn/ 44369 Dortmund Powered by SMP FreeBSD Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon?