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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr7 c3 |; p/ i- u3 }" ~+ ^
修改前
3 j9 X* {7 e2 c% H$ Q# T8 |Flags: X - disabled, R - running
: X* D1 [% Y" [" }; E8 O% F4 h#   NAME                       MTU   MAC-ADDRESS     ARP     / X, w; q, Q9 |1 y" o; b3 F
0 R ether1                       1500 00:11:22:33:44:55 enabled   . [+ y7 e* h* |6 h% m
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   " Y. ?" F. P' P4 D
2 R ether3                       1500 00:E0:81:02:21:BF enabled   8 A0 S( u5 N: g
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   & |, t2 k# A8 b7 y( S- _# v
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
, l3 t6 B, |" i" A) c# B注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56
( t4 m" n- H/ k) m: f- j[admin@MikroTik] > interface ethernet pr
* {( R8 A+ p0 [查看修改后结果
) O" I" F: A5 [: F" U3 u6 _3 lFlags: X - disabled, R - running . Q, [1 p; O8 w. s2 s4 ?' Z, J
#   NAME                       MTU   MAC-ADDRESS     ARP     
+ E; H3 |* b( A( S1 C0 R ether1                       1500 00:11:22:33:44:55 enabled   ; L6 _# c& t7 a( f6 I
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
" x9 ^, P, _7 X- ~" ?; T2 R ether3                       1500 00:11:22:33:44:56 enabled   , `- p  S( h: j* X% Y
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
& v: S8 v4 ~  ~9 w4 [. t# n9 W[admin@MikroTik] >
6 k& G) S  l6 v' _% T1 c  I  l3 q* P0 J! a
这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-19 04:17 , Processed in 0.014473 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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