Hello Marco: After a little code tracing, I come up with following temporary solution: http://git.etherboot.org/?p=people/cooldavid/gpxe.git;a=commitdiff;h=0599c953f9ce19af96c656cff431efac50256734
This patch makes tg3 driver support changing mac address with: set netX/mac xx:xx:xx:xx:xx:xx The legacy API does not support ifopen/ifclose, which leads this patch accomplish the goal by checking every outgoing packets for mac address changing. This patch is _NOT_EFFICIENT_ and _NOT_ELEGANT_. But since the tg3 driver will be rewritten into new API, it's only a temporary solution. If you are in urgent to make it work, you can try it. But please note that this patch is not official, and I'm only a student of GSoC this year. :) On Wed, 05 May 2010 10:39:56 +0200, Marco Giunta wrote > I've tried with a Broadcom BCM5751 (tg3) and with a Intel 82540EM > (e1000); same result ... > > Marco > > Joshua Oreman wrote: > > On Wed, May 5, 2010 at 4:34 AM, Marco Giunta <[email protected]> wrote: > > > >> Unfortunately, same result: > >> > >> Ethernet frame source address: original mac address > >> > >> DHCP request 'Client MAC address': modify mac address > >> > >> even if I unplug and plug again network cable .... > >> > > > > What driver are you using? This may be a limitation of the gPXE driver > > for your particular network card (if it is, it's probably fixable). > > > > -- Josh > > > > -- > ----------------------------------- > |Marco Giunta - SISSA Computer Staff| > |Via Beirut, 2-4 | > |34151 - Trieste, Italy | > |Tel: +39-40-3787-503 | > |Fax: +39-040-3787-528 | > |e-mail: giunta AT sissa.it | > ----------------------------------- > > _______________________________________________ > gPXE mailing list > [email protected] > http://etherboot.org/mailman/listinfo/gpxe Guo-Fu Tseng _______________________________________________ gPXE mailing list [email protected] http://etherboot.org/mailman/listinfo/gpxe
