[ECOS] Default eth hardware address is an eCos bug

Martin Buck martin.buck@ascom.ch
Mon Dec 10 00:48:00 GMT 2001


Paul Sheer wrote:
> ./devs/eth/arm/flexanet/current/cdl/flexanet_eth_drivers.cdl
> contains a default hardware address as follows:
>         default_value {"{0x11, 0x12, 0x13, 0x14, 0x15, 0x16}"}

IMNSHO, having a default hardware address at all is a bug. If you don't
have a proper hardware address for an interface, you shouldn't be able
to bring it up.

> The hardware address should be:
>         default_value {"{0x0, 0x12, 0x13, 0x14, 0x15, 0x16}"}
> since most (all?) ethernet cards have the first byte zero.

There are quite a few starting with 08:.. these days. But at least the
LSB of the first Byte should be 0 - otherwise, it's a
multicast/broadcast address.

Martin



More information about the Ecos-discuss mailing list