linux 下修改网关mac地址

以rtl8196e为例

eth0:mac 地址设为123456789012

# flash set hw_nic0_addr  123456789012

eth1:mac 地址设为112233445566

# flash set hw_nic1_addr 112233445566

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

猜你喜欢

转载自www.cnblogs.com/z3286586/p/10762761.html
今日推荐