注册 登录
自由的生活_软路由 返回首页

lcgjk的个人空间 https://bbs.routerclub.com/?49072 [收藏] [复制] [分享] [RSS]

日志

在RouterOS中修改mac地址的方法

热度 1已有 1413 次阅读2010-12-7 23:42 |个人分类:routeros|

在RouterOS中修改mac地址的方法
[admin@MikroTik] > interface ethernet pr
修改前
Flags: X - disabled, R - running
#   NAME                       MTU   MAC-ADDRESS     ARP    
0 R ether1                       1500 00:11:22:33:44:55 enabled  
1 R ether2                       1500 00:08:02:B3:FC:99 enabled  
2 R ether3                       1500 00:E0:81:02:21:BF enabled  
3 R ether4                       1500 00:E0:81:02:21:C0 enabled  
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56
[admin@MikroTik] > interface ethernet pr
查看修改后结果
Flags: X - disabled, R - running
#   NAME                       MTU   MAC-ADDRESS     ARP    
0 R ether1                       1500 00:11:22:33:44:55 enabled  
1 R ether2                       1500 00:08:02:B3:FC:99 enabled  
2 R ether3                       1500 00:11:22:33:44:56 enabled  
3 R ether4                       1500 00:E0:81:02:21:C0 enabled  
[admin@MikroTik] >

这个办法很少人知道,实用的。

路过

雷人

握手

鲜花

鸡蛋

发表评论 评论 (1 个评论)

回复 cyanfleck 2011-1-5 18:06
学习了  呵呵    这个真不知道 初始化下那是不是MAC又还原了?

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-4-16 16:00 , Processed in 0.043312 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

返回顶部