Linux与win2003下修改mac地址方法

番茄系统家园 · 2022-08-26 03:37:15

一、在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地址就可以了!

免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/xtwt/197149Ix6jaT.html
猜你喜欢
最新应用
热门应用