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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
9 c* U/ r* B# r+ B' s* t修改前
: b' R) Z6 [9 K6 T# V+ ZFlags: X - disabled, R - running 8 I6 G4 A5 v0 ?: P5 J
#   NAME                       MTU   MAC-ADDRESS     ARP     
* `5 _5 l4 t# o5 j' x  o8 w0 R ether1                       1500 00:11:22:33:44:55 enabled   
( t, H1 w* H0 @& ?7 R2 P0 H1 R ether2                       1500 00:08:02:B3:FC:99 enabled   9 u) d0 \# [$ _9 N& E0 j
2 R ether3                       1500 00:E0:81:02:21:BF enabled   9 ^3 Y& G& E/ f7 i/ m# J' o
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
9 H  z+ b0 }9 @3 }* q9 f[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
6 R( w, ?. b) z% X/ m! f注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:561 c. o- B) @7 V- g) L. I4 d1 ^# v& w
[admin@MikroTik] > interface ethernet pr) j9 \7 G: R& [7 {  P
查看修改后结果
9 L5 V+ ^+ H7 _1 ^* EFlags: X - disabled, R - running * A, f# ], P# W1 r
#   NAME                       MTU   MAC-ADDRESS     ARP     
8 `) _  P- @5 p0 R ether1                       1500 00:11:22:33:44:55 enabled   
+ Y3 U1 H( Z; m' V1 R ether2                       1500 00:08:02:B3:FC:99 enabled   + K) o6 A/ g# j  E
2 R ether3                       1500 00:11:22:33:44:56 enabled   - }$ X. [1 S. R5 D
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
, E2 V% S6 q! R7 S5 x[admin@MikroTik] >
2 [# B6 ?$ v5 z+ f$ {' V3 b
/ N9 |' i6 @& g这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-18 04:51 , Processed in 0.017363 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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