Network related information#
Disable MAC randomisation#
As part of securing of internal network, all devices must be registered, as only registered ones will have access to internal network.
Windows#
To disable MAC address randomization in Windows 10/11:
- go to Settings > Network & Internet > Wi-Fi
- click Properties
- toggle
Random hardware addresses(orUse random hardware addresses for this network) to Off.
To disable it for a specific network:
- go to Settings > Network & Internet > Wi-Fi > Manage known networks
- select the network
- click Properties
- turn off
Random hardware addresses(orUse random hardware addresses for this network).
IOS#
Randomized MAC address is configured for each network:
- Open Settings --> Wi-Fi
- Tap the (i) icon next to the target network name
- Locate the
Private Wi-Fi Addresstoggle - Set it to Off
- The device will prompt that it will reconnect using the hardware MAC --> confirm
Android#
Randomized MAC address is configured for each network:
- Open Settings app
- Select Connections
- Select Wi-Fi
- Select ... (the three dots menu)
- Select
Manage networks - Select target network
- Select
View more - Select
MAC address typeand chosePhone MAC
Linux#
NetworkManager#
Global disable#
Create or edit /etc/NetworkManager/NetworkManager.conf and add:
[device]
wifi.scan-rand-mac-address=no
[connection]
wifi.cloned-mac-address=permanent
ethernet.cloned-mac-address=permanent
Per connection disable#
- List connections with
nmcli connection show nmcli connection modify "YourConnectionName" wifi.cloned-mac-address permanentnmcli connection modify "YourConnectionName" 802-3-ethernet.cloned-mac-address permanent
Then apply changes:
- systemctl reload NetworkManager
or for NetworkManager.conf changes:
- nmcli general reload
SystemD - Networkd#
- Edit the
.networkfile under/etc/systemd/network/ - Add to (or create) section
[Link] - add the option:
MACAddressPolicy=none
Apply changes:
networkctl reload
or
systemctl restart systemd-networkd