「LINUX」- 通过配置(持久化),修改网卡的 MAC 地址

Debian/Ubuntu

Changing Your MAC Address/Linux

需要修改 /etc/network/interfaces 文件,在对应的 iface 部分中加入某些内容:

iface eth0 inet static
	address 172.16.4.1
	netmask 255.255.255.0
	hwaddress ether 02:01:02:03:04:08

上面的黑色加粗的字体是需要加入的内容。