Page MenuHomeFreeBSD

if_re: generate an address if there is none in the EEPROM
ClosedPublic

Authored by evgeni_debian.org on Mar 8 2022, 8:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 11:42 PM
Unknown Object (File)
Sat, Nov 9, 11:38 PM
Unknown Object (File)
Tue, Nov 5, 12:48 PM
Unknown Object (File)
Mon, Nov 4, 4:31 AM
Unknown Object (File)
Thu, Oct 17, 3:35 PM
Unknown Object (File)
Thu, Oct 17, 2:57 AM
Unknown Object (File)
Wed, Oct 16, 7:49 AM
Unknown Object (File)
Oct 14 2024, 10:36 PM

Details

Summary

There exists hardware that has no ethernet address burned into the EEPROM. Loading if_re on such a HW brings the device up with '00:00:00:00:00:00' as the address, and that doesn't get you too far in a real network.

Other drivers use ether_gen_addr(9) in such cases, to generate an address, and so should if_re.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262406

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable