Linux下修改MAC地址方法
 在Linux下修改MAC地址方法如下:
 
方法1:在文件“/etc/rc.local”中加入
ifconfig eth0 hw ether 00:D0:59:0D:9B:4C
方法2:在文件“/etc/rc.d/rc.sysinit”加入
ifconfig eth0 down
ifconfig eth0 hw ether 00:D0:59:0D:9B:4C
ifconfig eth0 up
方法3:
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 hw ether 00:D0:59:0D:9B:4C
/sbin/ifconfig eth0 up
其中,00:D0:59:0D:9B:4C是新的MAC地址。
   方法1:在文件“/etc/rc.local”中加入
ifconfig eth0 hw ether 00:D0:59:0D:9B:4C
方法2:在文件“/etc/rc.d/rc.sysinit”加入
ifconfig eth0 down
ifconfig eth0 hw ether 00:D0:59:0D:9B:4C
ifconfig eth0 up
方法3:
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 hw ether 00:D0:59:0D:9B:4C
/sbin/ifconfig eth0 up
其中,00:D0:59:0D:9B:4C是新的MAC地址。
相关推荐
  longjing    2020-08-07  
   insularisland    2020-08-09  
   书弋江山    2020-07-26  
   pimshell    2020-07-05  
   lishaokang    2020-06-14  
   PlayerL    2020-06-08  
   jyj00    2020-05-04  
   wxthillwill    2020-04-10  
   kanpiaoxue    2020-03-23  
   89284553    2020-03-23  
   xushxbigbear微信    2020-03-04  
   老谢的自留地    2020-02-21  
   zlsh00    2020-02-19  
   zhouchenz    2020-02-02  
   MichelinMessi    2020-01-09  
   wqx    2013-08-07  
   89284553    2019-12-26  
 