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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
: B) h0 L0 B- S& R7 G修改前, K& f- z5 X; g- W
Flags: X - disabled, R - running
) F0 ~2 |" s/ e' u#   NAME                       MTU   MAC-ADDRESS     ARP     - V6 g+ k7 |4 m6 p# ~
0 R ether1                       1500 00:11:22:33:44:55 enabled   . h; o9 ]& L2 K% h  u
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   + c+ a  X+ r. Z1 V; J/ N
2 R ether3                       1500 00:E0:81:02:21:BF enabled   
# D5 q% |# c. s% G- n$ `/ o2 a3 R ether4                       1500 00:E0:81:02:21:C0 enabled   ( x& m% K/ e" G. Y0 b! n
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
% Y$ Z7 j: D' Q$ D9 R注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56
+ i* f6 d& |. D9 o. d! j+ O( f[admin@MikroTik] > interface ethernet pr
2 Y+ K' b' H+ i3 V# Q8 l2 n8 L( ]查看修改后结果/ s( a! F+ M  X# e1 D
Flags: X - disabled, R - running
3 x& W3 |+ a+ Z8 I. h#   NAME                       MTU   MAC-ADDRESS     ARP     5 h% ?& `) H( E9 Y! a- f+ ~6 O7 c
0 R ether1                       1500 00:11:22:33:44:55 enabled   
( k! `; g! D9 F2 w5 G1 E1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
+ c: T% P2 ?! }. |8 N) H2 R ether3                       1500 00:11:22:33:44:56 enabled   ; L  _- K! q- ]* o
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   ) Q, u0 a+ D4 @6 `9 z5 O
[admin@MikroTik] >
" [' ]% P, @% [# e% r( @- w8 C9 J
8 c, U2 \3 N. i! z$ O/ ]) f这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-8-13 22:52 , Processed in 0.016872 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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