linux 修改mac地址
来源:懂视网
责编:李赢赢
时间:2021-11-03 21:15:41
linux 修改mac地址
1、查看网卡的MAC地址,ifconfig,可以看到HWaddr即是网卡物理地址;2、修改前,将ifdown 或者ifconfig 网卡 down,关闭网卡;3、ifconfig 网卡 选项 网卡类型 值;4、打开网卡,ifup 网卡,或者ifconfig 网卡 up即可。
导读1、查看网卡的MAC地址,ifconfig,可以看到HWaddr即是网卡物理地址;2、修改前,将ifdown 或者ifconfig 网卡 down,关闭网卡;3、ifconfig 网卡 选项 网卡类型 值;4、打开网卡,ifup 网卡,或者ifconfig 网卡 up即可。
linux 修改mac地址需要分四步进行,下面是修改mac地址的具体介绍:
-
1
查看网卡的MAC地址
查看网卡的MAC地址,ifconfig,可以看到HWaddr即是网卡物理地址。
-
2
关闭网卡
修改前,将ifdown 或者ifconfig 网卡 down,关闭网卡。
-
3
ifconfig 网卡 选项 网卡类型
ifconfig 网卡 选项 网卡类型 值。
-
4
ifconfig网卡up
打开网卡,ifup 网卡,或者ifconfig 网卡 up即可。
-
end
linux 修改mac地址
1、查看网卡的MAC地址,ifconfig,可以看到HWaddr即是网卡物理地址;2、修改前,将ifdown 或者ifconfig 网卡 down,关闭网卡;3、ifconfig 网卡 选项 网卡类型 值;4、打开网卡,ifup 网卡,或者ifconfig 网卡 up即可。