您现在的位置是:网站首页> 编程资料编程资料

Linux与win2003下修改mac地址方法_RedHat/Centos_操作系统_

2024-03-11 109人已围观

简介 Linux与win2003下修改mac地址方法_RedHat/Centos_操作系统_

一、在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地址。   二、在windows下修改mac地址方法:    网上邻居属性----本地连接属性----配置----高级---network address----在值中输入要修改的MAC地址就可以了!

-六神源码网