Modify Linux network card MAC address

xiaoxiao2021-03-06  45

method 1:

IFConfig Eth0 Down

IFConfig Eth0 HW Ether 00: AA: BB: CC: DD: EE

IFCONFIG EHT0 UP

Method 2:

IP Link Set Eth1 Down

IP Link Set Eth1 Address 00: AA: BB: CC: DD: EE

IP Link Set Eth1 Up

转载请注明原文地址:https://www.9cbs.com/read-54930.html

New Post(0)