public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: David Weis <djweis@sjdjweis.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: changing mac address of eth alias
Date: Wed, 24 Jan 2001 09:20:21 -0700	[thread overview]
Message-ID: <3A6F00C5.F9962FCB@candelatech.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0101241309410.25159-100000@www.sjdjweis.com>

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/

      reply	other threads:[~2001-01-24 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A6F00C5.F9962FCB@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=djweis@sjdjweis.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox