Date: Fri, 14 May 1999 13:46:57 -0400 (EDT) From: Larry Lile <lile@stdio.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: Nate Williams <nate@mt.sri.com>, Steve.Gailey@db.com, freebsd-hackers@FreeBSD.ORG Subject: Re: ifconfig: changing mac address Message-ID: <Pine.BSF.4.05.9905141344570.8958-100000@heathers.stdio.com> In-Reply-To: <199905141525.RAA24858@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Some day I will most likely need to deal with this for the Token-ring drivers. In token-ring having a UAA and LAA (Universally/Locally Administered Address) is very common especially in high-availibility situations. Larry Lile lile@stdio.com On Fri, 14 May 1999, Luigi Rizzo wrote: > > > Is it possible to change the mac address of an ethernet card using > > > ifconfig? > > > > Not in any 'standard' card, no. Some cards (in SUN workstations) allow > > you to swap the EEPROM with the mac address, and I'll bet somewhere > > someone has designed a card with a programmable mac address, but > > normally it's not settable. > > while ifconfig might miss this functionality, i believe your answer > is incorrect. Several FreeBSD drivers read the MAC address from > the rom/eeprom, copy it to sc->arpcom.ac_enaddr, and write it back > to the card's address filter in the init phase. I suppose on other > systems the same thing happens. It's a software thing, not a hardware > one. > > A quick check shows the following drivers do that: > > sys/i386/isa/if_ed.c > sys/pci/if_fxp.c > sys/pci/if_de.c (probably) > > just to name the most common ones. > > cheers > luigi > > -----------------------------------+------------------------------------- > Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) > > http://www.iet.unipi.it/~luigi/ngc99/ > ==== First International Workshop on Networked Group Communication ==== > -----------------------------------+------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905141344570.8958-100000>