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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr; j% m: k% A$ q  F
修改前
' ?! |' I7 f) w- kFlags: X - disabled, R - running
/ \' _$ Z: t) {7 Q#   NAME                       MTU   MAC-ADDRESS     ARP     * y6 \2 ~- l/ {/ I+ D
0 R ether1                       1500 00:11:22:33:44:55 enabled   
5 B& Y3 O& r2 W" O/ Y/ ~1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
+ Z/ j7 F* P' f6 _2 R ether3                       1500 00:E0:81:02:21:BF enabled   
. ^0 h# w5 m' V' v0 P+ `3 R ether4                       1500 00:E0:81:02:21:C0 enabled   , V% ?, J$ @5 o2 ?9 m& v: [
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
" E3 o, A% O9 q6 D0 c, u注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56- `- N& S3 V0 p- S. X
[admin@MikroTik] > interface ethernet pr
) |4 k3 b* B- _/ k查看修改后结果
$ B8 e6 U: a7 U4 V) eFlags: X - disabled, R - running
7 c: {! t, ?+ A8 v#   NAME                       MTU   MAC-ADDRESS     ARP     ! L4 Y5 T% U3 }+ ^/ u
0 R ether1                       1500 00:11:22:33:44:55 enabled   4 K" K- W! X& S
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
( g' Z9 m8 ~* h5 u" J2 R ether3                       1500 00:11:22:33:44:56 enabled   
+ M4 ^, L+ p  d3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
  C4 f) \+ a4 S, o" G( y) U[admin@MikroTik] >1 j( l8 x) m9 f

. w% a* X' E3 B+ E, x$ f+ ]. n4 r这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-9 01:42 , Processed in 0.036441 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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