public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* changing mac address of eth alias
@ 2001-01-24  1:37 David Weis
  2001-01-24  2:38 ` Ben Greear
  0 siblings, 1 reply; 4+ messages in thread
From: David Weis @ 2001-01-24  1:37 UTC (permalink / raw)
  To: linux-kernel


what would be required to make the mac address of aliases changable,
specifically for something like vrrp that shares a mac address among
machines. 

dave

-- 
Dave Weis             "I believe there are more instances of the abridgement
djweis@sjdjweis.com   of the freedom of the people by gradual and silent
                      encroachments of those in power than by violent 
                      and sudden usurpations."- James Madison

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changing mac address of eth alias
  2001-01-24  1:37 changing mac address of eth alias David Weis
@ 2001-01-24  2:38 ` Ben Greear
  2001-01-24 19:14   ` David Weis
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Greear @ 2001-01-24  2:38 UTC (permalink / raw)
  To: David Weis; +Cc: linux-kernel

David Weis wrote:
> 
> what would be required to make the mac address of aliases changable,
> specifically for something like vrrp that shares a mac address among
> machines.
> 
> dave

Not sure you can do that, but you could use an 802.1Q vlan patch
and set up two different VLANs.  You can now change the MAC
address on a VLAN with my patch: http://scry.wanfear.com/~greear/vlan.html

Ben

-- 
Ben Greear (greearb@candelatech.com)  http://www.candelatech.com
Author of ScryMUD:  scry.wanfear.com 4444        (Released under GPL)
http://scry.wanfear.com               http://scry.wanfear.com/~greear
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changing mac address of eth alias
  2001-01-24 19:14   ` David Weis
@ 2001-01-24 16:20     ` Ben Greear
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Greear @ 2001-01-24 16:20 UTC (permalink / raw)
  To: David Weis; +Cc: linux-kernel

David Weis wrote:
> 
> On Tue, 23 Jan 2001, Ben Greear wrote:
> > David Weis wrote:
> > > what would be required to make the mac address of aliases changable,
> > > specifically for something like vrrp that shares a mac address among
> > > machines.
> >
> > Not sure you can do that, but you could use an 802.1Q vlan patch
> > and set up two different VLANs.  You can now change the MAC
> > address on a VLAN with my patch: http://scry.wanfear.com/~greear/vlan.html
> 
> I'm looking at your code, in the function
> vlan_dev_set_multicast_list() for the 2.4 tree, you enable promiscuity and
> reception of all multicast packets. Is this necessary for all cards?

Hrm, it should only turn on that particular multicast address, not go PROMISC.
I will look at that.

The change-MAC DOES turn on PROMISC, because that is the only way I could
figure out how to make sure that the underlying device passed the packets
up to the VLAN layer.  The idea is that if you are using VLANs, you are
probably using an ethernet switch, so there shouldn't be TOO much traffic
on your port that isn't destined for you...so being PROMISC shouldn't
hurt too bad.

> 
> This looks pretty close to what I was looking for, thanks for the
> pointer. Do the multicast functions have enough usefulness for things
> other than VLAN to be split out separately?

I think the advanced routing protocols (OSPF??) use multicast in their routing
decisions/management.

Ben

-- 
Ben Greear (greearb@candelatech.com)  http://www.candelatech.com
Author of ScryMUD:  scry.wanfear.com 4444        (Released under GPL)
http://scry.wanfear.com               http://scry.wanfear.com/~greear
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changing mac address of eth alias
  2001-01-24  2:38 ` Ben Greear
@ 2001-01-24 19:14   ` David Weis
  2001-01-24 16:20     ` Ben Greear
  0 siblings, 1 reply; 4+ messages in thread
From: David Weis @ 2001-01-24 19:14 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-kernel


On Tue, 23 Jan 2001, Ben Greear wrote:
> David Weis wrote:
> > what would be required to make the mac address of aliases changable,
> > specifically for something like vrrp that shares a mac address among
> > machines.
> 
> Not sure you can do that, but you could use an 802.1Q vlan patch
> and set up two different VLANs.  You can now change the MAC
> address on a VLAN with my patch: http://scry.wanfear.com/~greear/vlan.html

I'm looking at your code, in the function
vlan_dev_set_multicast_list() for the 2.4 tree, you enable promiscuity and
reception of all multicast packets. Is this necessary for all cards? 

This looks pretty close to what I was looking for, thanks for the
pointer. Do the multicast functions have enough usefulness for things
other than VLAN to be split out separately?

dave

-- 
Dave Weis             "I believe there are more instances of the abridgement
djweis@sjdjweis.com   of the freedom of the people by gradual and silent
                      encroachments of those in power than by violent 
                      and sudden usurpations."- James Madison

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-24 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-24  1:37 changing mac address of eth alias David Weis
2001-01-24  2:38 ` Ben Greear
2001-01-24 19:14   ` David Weis
2001-01-24 16:20     ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox