Re: ifconfig: changing mac address

1999-05-22 Thread Wilko Bulte
As sth...@nethelp.no wrote ... > > Things like DECnet set the MAC address. Don't ask me why though. > > Because there is a one to one correspondence between the DECnet (Phase > IV) address and the MAC address. Ie. if you specify the DECnet address, > you have also implicitly specified the MAC addr

Re: ifconfig: changing mac address

1999-05-18 Thread Steve Gailey
My experience is that most modern (and many older) PC NIC's are able to change their MAC address. The question really is, how should I do this from within FreeBSD. Is there a standard entry into the drivers to do this? If you are wondering why I want to do this, I am looking at hot standby and

Re: ifconfig: changing mac address

1999-05-16 Thread David E. Cross
> > > > 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 tha

Re: ifconfig: changing mac address

1999-05-16 Thread Justin C. Walker
> From: adr...@freebsd.org > Date: 1999-05-16 04:59:51 -0700 > To: Bernd Walter > Subject: Re: ifconfig: changing mac address > Cc: freebsd-hackers@FreeBSD.ORG > In-reply-to: "Your message of Sun, 16 May 1999 11:48:42 > +0200."<19990516114842.a48...@cicely8.

Re: ifconfig: changing mac address

1999-05-16 Thread Steve Rubin
> Yes Etherchannel uses some other mechanism to balance the load. Its acually worse :) Cisco Etherchannel requires the device attached to speak a special protocol to keep things working. You can not just take any system, put 2 NIC's in it plug it into a cisco switch, and expect it to work. It w

Re: ifconfig: changing mac address

1999-05-16 Thread Mattias Pantzare
> On Sat, May 15, 1999 at 12:26:37AM -0700, Steve Rubin wrote: > > This is not how Etherchannel works. Anyone from cisco here care to explain > > better than I possibly could? > > > > On Fri, May 14, 1999 at 08:28:55PM -0700, John Milford wrote: > > > > > > You have to have the capibility on t

Re: ifconfig: changing mac address

1999-05-16 Thread Bernd Walter
On Sat, May 15, 1999 at 12:26:37AM -0700, Steve Rubin wrote: > This is not how Etherchannel works. Anyone from cisco here care to explain > better than I possibly could? > > On Fri, May 14, 1999 at 08:28:55PM -0700, John Milford wrote: > > > > You have to have the capibility on the switch, a

Re: ifconfig: changing mac address

1999-05-16 Thread adrian
>> 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

Re: ifconfig: changing mac address

1999-05-16 Thread Bernd Walter
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 versi

Re: ifconfig: changing mac address

1999-05-15 Thread Justin C. Walker
> From: Mike Smith > Date: 1999-05-15 09:40:39 -0700 > To: Greg Lehey > Subject: Re: ifconfig: changing mac address > Cc: "Mark J. Taylor" ,Daniel Eischen > , freebsd-hackers@FreeBSD.ORG > In-reply-to: "Your message of Sat, 15 May 1999 11:13:49 > +0930.&q

Re: ifconfig: changing mac address

1999-05-15 Thread Justin C. Walker
> From: Greg Lehey > Date: 1999-05-14 19:21:11 -0700 > To: Dan Nelson > Subject: Re: ifconfig: changing mac address > Cc: David Scheidt ,"Mark J. Taylor" > , Daniel Eischen > ,freebsd-hackers@FreeBSD.ORG > In-reply-to: <19990514211533.a27...@dan.emsphone.co

Re: ifconfig: changing mac address

1999-05-15 Thread Mike Smith
> 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. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes yo

Re: ifconfig: changing mac address

1999-05-15 Thread sthaug
> Things like DECnet set the MAC address. Don't ask me why though. Because there is a one to one correspondence between the DECnet (Phase IV) address and the MAC address. Ie. if you specify the DECnet address, you have also implicitly specified the MAC address. Steinar Haug, Nethelp consulting, s

Re: ifconfig: changing mac address

1999-05-15 Thread Joe Abley
On Sat, May 15, 1999 at 03:42:35AM -0400, Matthew N. Dodd wrote: > You want a sort of 'virtual' interface that allows the attachment of other > real (or maybe other 'virtual' interfaces) beneath it. This interface > implements a number of policies regarding how it routes packets addressed > to it.

Re: ifconfig: changing mac address

1999-05-15 Thread Wilko Bulte
As Daniel Eischen 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 c

Re: ifconfig: changing mac address

1999-05-15 Thread Narvi
On Sat, 15 May 1999, Greg Lehey wrote: > On Friday, 14 May 1999 at 21:15:33 -0500, Dan Nelson wrote: > > In the last episode (May 14), David Scheidt said: > >> On Sat, 15 May 1999, Greg Lehey wrote: > >> :It seems there's a need, and the possibility. Would somebody like > >> :to suggest a syntax

Re: ifconfig: changing mac address

1999-05-15 Thread Matthew N. Dodd
On Fri, 14 May 1999, Dan Nelson wrote: > And the next step would be to make the kernel realize that two cards > ifconfig'd with the same MAC address are meant to be bonded together > as one route (lots of switches support this). I have some machines > that I'd love to be able to get 20MB/sec bandw

Re: ifconfig: changing mac address

1999-05-15 Thread Matthew N. Dodd
On Sat, 15 May 1999, Greg Lehey wrote: > It seems there's a need, and the possibility. Would somebody like to > suggest a syntax? Keep in mind that a number of cards support multiple MAC addresses. Simply using GET/SET limits the potential uses. In general all cards will have a primary MAC addre

Re: ifconfig: changing mac address

1999-05-15 Thread Steve Rubin
This is not how Etherchannel works. Anyone from cisco here care to explain better than I possibly could? On Fri, May 14, 1999 at 08:28:55PM -0700, John Milford wrote: > > You have to have the capibility on the switch, and enable it > first. It is called EtherChannel by Cisco, and it is 2

Re: ifconfig: changing mac address

1999-05-14 Thread Wes Peters
David Scheidt wrote: > > On Sat, 15 May 1999, Greg Lehey wrote: > > :OK, now maybe I'm missing something here. But an Ethernet address is > :used to identify a board. Arp binds it to an IP address. An IP > :address is bound to a network. So if you're on a different network, > :you get a diffe

Re: ifconfig: changing mac address

1999-05-14 Thread Wes Peters
Greg Lehey wrote: > > OK, now maybe I'm missing something here. But an Ethernet address is > used to identify a board. Arp binds it to an IP address. An IP > address is bound to a network. So if you're on a different network, > you get a different IP address. Why do you need the same Ethernet

Re: ifconfig: changing mac address

1999-05-14 Thread Wes Peters
Greg Lehey wrote: > > On Friday, 14 May 1999 at 15:43:15 -0400, Mark J. Taylor wrote: > > > > One of the purposes of changing the MAC address is for server > > redundancy. > > Yes, and in fact Tandem^H^H^H^H^H^HCompaq use this for their NonStop > Ethernet. The machine has two ethernet boards. I

Re: ifconfig: changing mac address

1999-05-14 Thread John Milford
You have to have the capibility on the switch, and enable it first. It is called EtherChannel by Cisco, and it is 2 or 4 ports that all have the same MAC addr plugged into the switch, and the switch treats them as one interface. --John Steve Rubin wrote: > >

Re: ifconfig: changing mac address

1999-05-14 Thread Dan Nelson
In the last episode (May 15), Greg Lehey said: > OK, now maybe I'm missing something here. But an Ethernet address is > used to identify a board. Arp binds it to an IP address. An IP > address is bound to a network. So if you're on a different network, > you get a different IP address. Why do

Re: ifconfig: changing mac address

1999-05-14 Thread Steve Rubin
> > You need a switch to do this. If your clients are on the same ethernet as > your server, they can only talk to one MAC address. That means you only get > the bandwidth of one interface. If you have a switch that can bond ports > together, you can use both cards at the same time, transpar

Re: ifconfig: changing mac address

1999-05-14 Thread David Scheidt
On Sat, 15 May 1999, Greg Lehey wrote: :OK, now maybe I'm missing something here. But an Ethernet address is :used to identify a board. Arp binds it to an IP address. An IP :address is bound to a network. So if you're on a different network, :you get a different IP address. Why do you need th

Re: ifconfig: changing mac address

1999-05-14 Thread Greg Lehey
On Friday, 14 May 1999 at 21:54:02 -0500, David Scheidt wrote: > On Sat, 15 May 1999, Greg Lehey wrote: > > : > :If you have two different nets, why do you need the same Ethernet > :address? > : > > Transparent redundancy. With them both up on the same MAC address, if one > fails, you have no loss

Re: ifconfig: changing mac address

1999-05-14 Thread David Scheidt
On Sat, 15 May 1999, Greg Lehey wrote: : :If you have two different nets, why do you need the same Ethernet :address? : Transparent redundancy. With them both up on the same MAC address, if one fails, you have no loss of connection, though you may drop some packets, of course. Most of the tim

Re: ifconfig: changing mac address

1999-05-14 Thread Greg Lehey
On Friday, 14 May 1999 at 21:41:23 -0500, David Scheidt wrote: > On Sat, 15 May 1999, Greg Lehey wrote: > > :On Friday, 14 May 1999 at 21:15:33 -0500, Dan Nelson wrote: > :> > :> And the next step would be to make the kernel realize that two cards > :> ifconfig'd with the same MAC address are meant

Re: ifconfig: changing mac address

1999-05-14 Thread Dan Nelson
In the last episode (May 15), Greg Lehey said: > > And the next step would be to make the kernel realize that two cards > > ifconfig'd with the same MAC address are meant to be bonded together as > > one route (lots of switches support this). I have some machines that > > I'd love to be able to ge

Re: ifconfig: changing mac address

1999-05-14 Thread David Scheidt
On Sat, 15 May 1999, Greg Lehey wrote: :On Friday, 14 May 1999 at 21:15:33 -0500, Dan Nelson wrote: :> :> And the next step would be to make the kernel realize that two cards :> ifconfig'd with the same MAC address are meant to be bonded together as :> one route (lots of switches support this). I

Re: ifconfig: changing mac address

1999-05-14 Thread Greg Lehey
On Friday, 14 May 1999 at 21:15:33 -0500, Dan Nelson wrote: > In the last episode (May 14), David Scheidt said: >> On Sat, 15 May 1999, Greg Lehey wrote: >> :It seems there's a need, and the possibility. Would somebody like >> :to suggest a syntax? >> >> ifconfig interface ether ab:cd:ef:fe:dc:ab

Re: ifconfig: changing mac address

1999-05-14 Thread Dan Nelson
In the last episode (May 14), David Scheidt said: > On Sat, 15 May 1999, Greg Lehey wrote: > :It seems there's a need, and the possibility. Would somebody like > :to suggest a syntax? > > ifconfig interface ether ab:cd:ef:fe:dc:ab [options] > > makes sense to me. And the next step would be to

Re: ifconfig: changing mac address

1999-05-14 Thread David Scheidt
On Sat, 15 May 1999, Greg Lehey wrote: : :It seems there's a need, and the possibility. Would somebody like to :suggest a syntax? : ifconfig interface ether ab:cd:ef:fe:dc:ab [options] makes sense to me. David Scheidt To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe f

Re: ifconfig: changing mac address

1999-05-14 Thread Greg Lehey
On Friday, 14 May 1999 at 15:43:15 -0400, Mark J. Taylor wrote: > On 14-May-99 Daniel Eischen 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

Re: ifconfig: changing mac address

1999-05-14 Thread Justin C. Walker
[Apologies if this is duplicated, sort of; I inadvertently lost power as I was sending a reply to this, and I don't have a record that it was sent]. > From: Nate Williams > Date: 1999-05-14 10:11:52 -0700 > To: steve.gai...@db.com > Subject: Re: ifconfig: changing mac addr

Re: ifconfig: changing mac address

1999-05-14 Thread Daniel Eischen
> One of the purposes of changing the MAC address is for server > redundancy. > > Suppose that one of your "important" servers went down. Wouldn't it > be nice for the alternative server (a mirror) to get the "important" > server's MAC address (and IP address(es), and AppleTalk address, etc.), >

Re: ifconfig: changing mac address

1999-05-14 Thread Mark J. Taylor
One of the purposes of changing the MAC address is for server redundancy. Suppose that one of your "important" servers went down. Wouldn't it be nice for the alternative server (a mirror) to get the "important" server's MAC address (and IP address(es), and AppleTalk address, etc.), so the client

Re: ifconfig: changing mac address

1999-05-14 Thread Daniel Eischen
> > 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

Re: ifconfig: changing mac address

1999-05-14 Thread sthaug
> > 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,

Re: ifconfig: changing mac address

1999-05-14 Thread Larry Lile
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 l...@stdio.com On Fri, 14 May 1999, Luigi Rizzo wrote: > > > Is i

Re: ifconfig: changing mac address

1999-05-14 Thread Luigi Rizzo
> > 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

Re: ifconfig: changing mac address

1999-05-14 Thread Nate Williams
> 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

ifconfig: changing mac address

1999-05-14 Thread Steve Gailey
Hi guys, Does anyone know... Is it possible to change the mac address of an ethernet card using ifconfig? Does this depend upon the ioctls supported by the specific driver? Thanks. Steve To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the