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

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

日志

ros更改MAC地址

已有 577 次阅读2011-4-6 07:32 |个人分类:论坛传说|

改MAC地址是可以的

用interface ethernet pri查看网卡

再用interface ethernet set 2 mac-address=00:11:22:33:44:56

这条是修改把编号为2的网卡的MAC地址改为 00:11:22:33:44:56

再用interface ethernet pri查看是否修改成功

在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] >

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


路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

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

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

GMT+8, 2024-6-2 21:42 , Processed in 0.083622 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

返回顶部