# 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: ``` sudo 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 ```