I would like to change the MAC address on a Fedora 2o webserver, but it seams that ifdown
and ifup
doesn't work like they used too before systemd were introduced. This is what I would like to do
ifdown eth0
ifconfig eth0 hw ether 00:E0:81:5C:B4:0F
ifconfig eth0 up
The ethernet card is called em1
and using dhcp.
# ifdown em1
usage: ifdown <device name>
Question
How do I do the equivalent of the above on the new ifdown
and ifup
.