找回密码
 注册
查看: 6800|回复: 0

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
- p: W9 H+ C- }1 d2 O8 z修改前
& _, f' x- C2 B* V* }+ k/ ^( rFlags: X - disabled, R - running
+ s9 M$ n. f! j4 Y, G, I#   NAME                       MTU   MAC-ADDRESS     ARP     # g3 U) z, ^5 O1 K( y- l; \
0 R ether1                       1500 00:11:22:33:44:55 enabled   * j* ~1 W1 V5 V* |5 }# W* c
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
$ ^. O9 }9 O3 M0 b  M$ u3 V% a2 R ether3                       1500 00:E0:81:02:21:BF enabled   
6 X6 V9 r/ y' N9 }( ^5 d3 R ether4                       1500 00:E0:81:02:21:C0 enabled   6 |, v+ x2 M. i7 b
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:564 v9 [# b4 w& g5 l) {- r' B
注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56
7 N3 Q# l9 d1 f. ~7 m" s" w[admin@MikroTik] > interface ethernet pr) y/ P, N% `# n- H/ @" z
查看修改后结果9 ^5 h; m& R3 C5 y/ \$ ~
Flags: X - disabled, R - running
% H- T/ j9 I: T- C2 ~5 n" U* f#   NAME                       MTU   MAC-ADDRESS     ARP     
" b+ e: e$ G; D& U  ?0 R ether1                       1500 00:11:22:33:44:55 enabled   
: |! H5 a- z: F5 u: z" J2 c+ x1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
  |) w8 R0 ]6 W- z0 L) {, c% _2 R ether3                       1500 00:11:22:33:44:56 enabled   % \# R) K3 m+ G! s: ?  G
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
* a( P/ @) ?! \[admin@MikroTik] >
; d5 M2 L/ l: j3 P
, ~; X; X, {5 ^* q2 r( F$ d这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-10-2 05:43 , Processed in 0.016704 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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