Re: strange kernel message when hacking the NIC driver

Timothy Covell (timothy.covell@ashavan.org)
Sat, 12 Jan 2002 15:44:50 -0600


On Saturday 12 January 2002 15:37, Prof. Brand wrote:
> Timothy Covell <timothy.covell@ashavan.org> said:
> > On Friday 11 January 2002 06:07, David S. Miller wrote:
> > > From: Timothy Covell <timothy.covell@ashavan.org>
> > > Date: Fri, 11 Jan 2002 05:55:20 -0600
> > >
> > > Let me clarify what I said earlier. You cannot have
> > > identical MAC addresses on two different NICs.
> > >
> > > There is nothing illegal about that at all. As long at
> > > the NICs live on different subnets, it is perfectly fine.
> > > In fact this is pretty common on Sun machines.
> >
> > True. I was assuming that the context of the post was
> > that the NICs were on the same network link.
>
> This is not the typical setup...
>
> > Solaris _defaults_ to using the MAC address from the
> > primary (hostname) NIC for the rest of them.
>
> Sun sets the MAC from the machine ID on all network interfaces by
> default. Not Solaris, AFAIU it is done by the PROM.
>
> > IMHO, this
> > is a really stupid thing to do, and I disable it tout de suite
> > when given a choice. Of course, if you like it, then
> > why don't you try to convince Linus to change his mind
> > about it?
>
> Why should DaveM convince Linus to get Sun to change their mind on NIC
> setup?

You have it backwards. If you all seem to like the Sun way of doing things,
then Linus should change Linux to do likewise.

>
> Especially if it works just fine for 99.95% of Suns, and has the bonus that
> you can track each machine by a _single_ MAC, even if you change NICs or
> add more?

If you are already keeping a MAC <--> Host table, then it's not very hard to
expand it to keep track of other NICs. That is, of course, if you care about
tracking your inventory.

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