mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 10:40:19 -04:00
Change the default of net.link.epair.ether_gen_addr 0 -> 1.
Now if_epair(4) uses ether_gen_addr(9) to generate a stable MAC.
This feature was committed in 590493c141.
Approved by: kp
MFC after: never
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D51157
This commit is contained in:
parent
0950ab7d76
commit
3a2d4a1017
2 changed files with 7 additions and 1 deletions
6
UPDATING
6
UPDATING
|
|
@ -27,6 +27,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
|
|||
world, or to merely disable the most expensive debugging functionality
|
||||
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20250806:
|
||||
if_epair(4) now uses ether_gen_addr(9) to generate a stable MAC
|
||||
address.
|
||||
To keep using the random address, set the loader tunable
|
||||
net.link.epair.ether_gen_addr=0.
|
||||
|
||||
20250804:
|
||||
bsdconfig (including sysrc(8)) has moved to the new bsdconfig
|
||||
package. If you use pkgbase and wish to use bsdconfig, you should
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ SYSCTL_DECL(_net_link);
|
|||
static SYSCTL_NODE(_net_link, OID_AUTO, epair, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
||||
"Pair of virtual cross-over connected Ethernet-like interfaces");
|
||||
|
||||
static bool use_ether_gen_addr = false;
|
||||
static bool use_ether_gen_addr = true;
|
||||
SYSCTL_BOOL(_net_link_epair, OID_AUTO, ether_gen_addr, CTLFLAG_RWTUN,
|
||||
&use_ether_gen_addr, false,
|
||||
"Generate MAC with FreeBSD OUI using ether_gen_addr(9)");
|
||||
|
|
|
|||
Loading…
Reference in a new issue