First of all, and to address your question, you should verify that the new settings shown are already effective. Just don't trust what ifconfig
or some command may say - test it.
For example by sniffing the traffic from your network interface using tcpdump
or Wireshark
.
The bigger question is, why do you want to change your MAC address.
If your concern is privacy, that is a perfectly valid reason. But then you should change it before the network service starts. There are different ways of automating this.
If you think about it, it is possible that your computer will already have sent a DHCP request to the network (for instance, if your ethernet cable was plugged in), thus leaking your true MAC address. So changing the MAC address thereafter does not change the fact that the previous (true) address could have leaked (and may have been recorded somewhere).
Network Manager already has options to randomize the MAC address.
Or you might be using a plain /etc/network/interfaces
file. A pre-up
directive will take care of it.
See for example this post for more details.
So doing ifdown
, changing MAC address, then ifup
manually is probably not good practice if the goal is privacy.
Finally, it's important to keep in mind that a typical DHCP request contains not only the MAC address but also the host name and various identifiers, some of which may be constant/unique. So, merely changing the MAC address may not suffice for anonymisation purposes.