找回密码
 注册
搜索
查看: 6413|回复: 0

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
! k: `7 D: f$ E修改前
0 A+ X: `- U9 S$ ^8 l4 WFlags: X - disabled, R - running
7 I+ H, I* V: a' `$ P#   NAME                       MTU   MAC-ADDRESS     ARP     ! t5 V& i; E: A: b9 L- l* ^# A* U8 _
0 R ether1                       1500 00:11:22:33:44:55 enabled   
* [) `- ]+ f/ U- C1 R ether2                       1500 00:08:02:B3:FC:99 enabled   # m% Y6 o8 a0 k( ]
2 R ether3                       1500 00:E0:81:02:21:BF enabled   
& A! k: i3 r- E* l2 \3 R ether4                       1500 00:E0:81:02:21:C0 enabled   2 N. V* i4 g0 |7 f! ~
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
# \! K+ P  R* b7 M7 r- O( V注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:567 D. Y" x! }/ f) h) X
[admin@MikroTik] > interface ethernet pr* M8 `3 U: a/ V" B- }
查看修改后结果
, B, K# p5 l; H0 GFlags: X - disabled, R - running ' S: t' R0 N) v  z1 G, y# J. R
#   NAME                       MTU   MAC-ADDRESS     ARP     9 d" s7 x, @* I
0 R ether1                       1500 00:11:22:33:44:55 enabled   2 b& v* M9 E" B: [3 S4 V
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   1 }+ j" }& [9 @/ `+ Q0 O0 e
2 R ether3                       1500 00:11:22:33:44:56 enabled   
. e. I' e4 L; H3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
8 b; P; R/ Z9 X3 m" @4 ~7 Q[admin@MikroTik] >1 ?. W# T! t/ [. J" D

/ ]% B+ ~$ B! i: y% }% _% G# N# Q这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宁德市腾云网络科技有限公司 ( 闽ICP备2022007940号-5|闽公网安备 35092202000206号 )

GMT+8, 2025-11-14 16:31 , Processed in 0.018893 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表