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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
9 l, @' K# V7 N8 j' h  p修改前) a( Q' C# U3 D
Flags: X - disabled, R - running 3 `1 f, |) o" B2 u5 S$ K6 S3 p8 q" Y
#   NAME                       MTU   MAC-ADDRESS     ARP     
% \* B2 D8 Z2 f( U& C4 d3 N0 R ether1                       1500 00:11:22:33:44:55 enabled   - n: E/ ~) u5 t: G1 {7 v2 ]4 _
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   " w- K3 f4 _4 W4 d
2 R ether3                       1500 00:E0:81:02:21:BF enabled   + |, L: r% T# B8 G
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   4 `, x/ |8 u: `$ K  S) Q
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
0 n0 v! V, W( M0 E% x, m9 k, a注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56! F4 i3 {5 n; I! R7 p3 K: v0 L/ J3 X" N- d* }
[admin@MikroTik] > interface ethernet pr
* i4 l: b% V9 k- x查看修改后结果
1 h4 G3 N/ @0 \' H$ SFlags: X - disabled, R - running
% n, z" M9 ?/ X% x6 ]1 V0 s* F#   NAME                       MTU   MAC-ADDRESS     ARP     $ F7 w  l$ `. A6 Y, T7 _- f
0 R ether1                       1500 00:11:22:33:44:55 enabled   
6 F9 [/ x% o" R' Z9 \" @1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
) p) k; H" u' Y6 E" Y7 G* b% \& w2 R ether3                       1500 00:11:22:33:44:56 enabled   
+ \" L7 z- {. h6 W3 ^, z( x3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
! E- G2 D; k6 D# ^; Y7 I5 W, D" Z[admin@MikroTik] >
. I& r: L! N- n$ n3 c- T5 B9 C" `  _
这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-8 20:29 , Processed in 0.034597 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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