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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
+ y9 W5 J; o4 x; k" l3 d: Y* f! m( p修改前
6 u( e$ A" f+ W& D" FFlags: X - disabled, R - running
7 f+ h3 m4 c7 ?' E9 P9 S1 T( ~#   NAME                       MTU   MAC-ADDRESS     ARP     ; B3 d1 [; h: q5 _  ]/ G2 E9 D
0 R ether1                       1500 00:11:22:33:44:55 enabled   * O. Q6 S; p% X2 W
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
# _+ b* V5 S2 ~; ?* d$ R) m! `2 R ether3                       1500 00:E0:81:02:21:BF enabled   8 |& ~$ C3 `7 R+ e, B9 \
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
; {  C& A8 J, S- C* n" I[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56; V, Y2 R) W& w/ {, \
注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:566 j( Z. U/ I$ }! o' x
[admin@MikroTik] > interface ethernet pr
* O* D; I9 X& K7 A1 o6 I( _查看修改后结果
/ x  S2 l- x% I3 w# BFlags: X - disabled, R - running ! Q+ |6 G, p0 p4 z) ^
#   NAME                       MTU   MAC-ADDRESS     ARP     
. a: G: d% C; y5 B% i0 R ether1                       1500 00:11:22:33:44:55 enabled   
& i8 n' }2 y! t1 G+ g$ M1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
7 j4 W+ }! Y& M+ p* B; n  n2 R ether3                       1500 00:11:22:33:44:56 enabled   
1 n" X( W; R( M2 J3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
# n; D9 R* _( J' a5 P, r2 Y[admin@MikroTik] >, r7 g4 u: [1 m* G+ [3 U
* `0 E1 o" q1 `2 e% I5 A* g7 @
这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-18 07:59 , Processed in 0.018661 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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