linux 下修改网关mac地址

以rtl8196e为例

 

eth0:mac 地址设为123456789012

# flash set hw_nic0_addr  123456789012

eth1:mac 地址设为112233445566

# flash set hw_nic1_addr 112233445566

 

设置完成后要reboot重启才生效。

posted @ 2019-04-24 15:44  K_Code  阅读(532)  评论(0编辑  收藏  举报