# spoof MAC address with NetworkManager we will be using the `nmcli` utility to set the spoofed MAC address, which is the same configuration that the Ubuntu settings UI uses. first, list the available connections: ``` nmcli connection show ``` choose the connection you want to manage and enter the interactive editing prompt with: ``` nmcli connection edit ${connection:?} ``` ## nmcli interactive prompt To set the the spoofed MAC address, enter: ``` set 802-3-ethernet.cloned-mac-address ${spoofed_mac:?} ``` If you no longer wish to be spoofing a MAC address, enter: ``` remove 802-3-ethernet.cloned-mac-address ``` Once you are finished, save the settings and exit: ``` save quit ``` ## reconnect take the interface down and bring it back up to make the change take effect: ``` nmcli con down id ${connection:?} nmcli con up id ${connection:?} ```