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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
0 L7 g  }. v; s2 g修改前
% m9 C* L+ B3 c! O4 P6 bFlags: X - disabled, R - running
* U+ Y6 v. V2 G9 D#   NAME                       MTU   MAC-ADDRESS     ARP     7 k" ]+ ~& X3 M' x4 E
0 R ether1                       1500 00:11:22:33:44:55 enabled   & [6 }7 j: R$ [5 D
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   + w$ ]2 p4 z9 c% c! A7 g# s% Y
2 R ether3                       1500 00:E0:81:02:21:BF enabled   
( B8 x- E3 `# h/ J; N5 g5 X' y3 R ether4                       1500 00:E0:81:02:21:C0 enabled   , j8 g  ~5 ?7 f1 ]2 ~5 g3 O: L0 ]( C
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
8 k8 k6 W3 ~$ |! w+ A7 i! {) }注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56- R+ l! a+ `/ J3 _# o
[admin@MikroTik] > interface ethernet pr" [/ E5 Q( k8 f& o9 x" ~
查看修改后结果
5 [  F0 n( E' d3 u+ IFlags: X - disabled, R - running
7 }& q' F& N2 T- C/ D#   NAME                       MTU   MAC-ADDRESS     ARP     
( O. M& }; \0 Q4 ?0 R ether1                       1500 00:11:22:33:44:55 enabled   
  x: ]1 y$ y2 [( a* b1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
: }0 z5 j  P: ?2 R5 f( y% G2 U0 E2 R ether3                       1500 00:11:22:33:44:56 enabled   
2 H$ B; M7 I- `( z% }3 R ether4                       1500 00:E0:81:02:21:C0 enabled   % Q/ @; u2 ~, E4 y/ w; {
[admin@MikroTik] >
  W1 h$ h& r4 J7 p3 @, c0 t8 H. \8 J; _; e  `) s3 V
这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-18 09:18 , Processed in 0.018794 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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