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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
9 i9 S! F& x+ H/ I; h修改前
" \( Z4 t3 w: P  VFlags: X - disabled, R - running
  l5 M3 {: f0 {2 D: R( ]#   NAME                       MTU   MAC-ADDRESS     ARP     1 ^3 X; A6 O% c. _3 p7 ^
0 R ether1                       1500 00:11:22:33:44:55 enabled   ( [) K6 Y3 o! ?# F# t; y7 [
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   9 @2 T7 N* Q  l8 F$ Y  {( E
2 R ether3                       1500 00:E0:81:02:21:BF enabled   5 C* ?3 z. |/ t; C
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
! h! {" t. |" Z/ k+ m* \[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
+ I+ K) h* d; ]8 r注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56- j+ j3 S4 d, E4 w% ?  P; |
[admin@MikroTik] > interface ethernet pr) j. ]% n* s* e- F9 }0 K  d
查看修改后结果$ H: E8 [2 M7 s  ^/ v" _7 o/ c- Q
Flags: X - disabled, R - running ! N1 c" R* N6 _
#   NAME                       MTU   MAC-ADDRESS     ARP     
6 @; U- r, s# n1 j9 i! Q0 R ether1                       1500 00:11:22:33:44:55 enabled   6 j4 q& |3 x5 v- K9 \1 E
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
, e3 s; j: O" B+ k2 w" b5 |2 R ether3                       1500 00:11:22:33:44:56 enabled   
2 Z- H8 {6 D6 @) R9 \$ b1 s( t3 R ether4                       1500 00:E0:81:02:21:C0 enabled   ! f# v+ i0 J+ |1 ?8 {* A6 t
[admin@MikroTik] >
2 P8 A; E5 [; V2 v1 N
( W5 G: A9 q. M这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-11-15 05:03 , Processed in 0.017730 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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