From owner-freebsd-net@FreeBSD.ORG Wed Apr 18 01:05:28 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A049F16A400 for ; Wed, 18 Apr 2007 01:05:28 +0000 (UTC) (envelope-from alan@fromorbit.com) Received: from thing1.auspcmarket.com.au (mail.fromorbit.com [203.31.169.65]) by mx1.freebsd.org (Postfix) with ESMTP id 65B8113C43E for ; Wed, 18 Apr 2007 01:05:28 +0000 (UTC) (envelope-from alan@fromorbit.com) Received: from [192.168.1.99] (unknown [192.168.1.99]) by thing1.auspcmarket.com.au (Postfix) with ESMTP id 79A025C19; Wed, 18 Apr 2007 11:05:27 +1000 (EST) From: Alan Garfield To: Peter Jeremy In-Reply-To: <20070417120058.GN1624@turion.vk2pj.dyndns.org> References: <1176781003.6367.12.camel@hiro.auspc.com.au> <20070417120058.GN1624@turion.vk2pj.dyndns.org> Content-Type: text/plain Date: Wed, 18 Apr 2007 11:05:27 +1000 Message-Id: <1176858327.4426.9.camel@hiro.auspc.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: fake MAC addresses and ARP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 01:05:28 -0000 On Tue, 2007-04-17 at 22:00 +1000, Peter Jeremy wrote: > On 2007-Apr-17 13:36:43 +1000, Alan Garfield wrote: > >I've got a little driver that communicates via a small buffer on the > >motherboard of a Sun Fire V20z to a built-in "service processor" which > >is running Linux. The driver on both sides makes the buffer look like a > >Ethernet interface. > > I'd be interested in using this. Yeah it's going to be pretty handy. I'm also going to port the Poci control daemon too, which should allow FreeBSD to be controlled via the SP. If you'd like to look/test the code just pop me an email. Once I figure out the license requirements I'm hoping to have it added to FreeBSD HEAD. > >The Linux driver I'm porting simply grabbed any outgoing arp requests, > >made up an appropriate response with the pre-defined fake MAC's, put it > >into the input queue and ate the request packet. > > A quick-and-dirty work-around would seem to be > arp -s 169.254.101.2 Fa:ke:ma:cA:dd:re:ss Tried that, I get :- set: can only proxy for 169.254.101.2 .... and it still doesn't work! :) > Otherwise, I think you would need to fiddle with the transmit packet > code in your driver. Yeah, I'm beginning to think this will be the case and that I'm starting to hate ARP and the lack of kernel docs on the subject. Thanks, Alan.