openWRT如何修改MAC地址


最简单的做法是通过串口控制台修改 /etc/config/ 下的网络配置文件 network.

两个步骤:

步骤一:用vi编辑器打开/etc/config/network 文件

步骤二:在其中增加 macaddr 参数,

config interface lan
option ifname   eth2
option status   1
option proto    static
option ipaddr   192.168.200.1
option netmask  255.255.255.0

option macaddr 00:01:02:03:04:05

转载自:http://blog.csdn.net/nice_cxf/article/details/7939000

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.