找回密码
 注册
查看: 6802|回复: 0

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
. d  P% D4 Z; \1 q" f+ V& b3 F* p修改前
2 G8 y4 _. b& \$ _: u8 vFlags: X - disabled, R - running : H# ^0 \$ y4 Z+ F
#   NAME                       MTU   MAC-ADDRESS     ARP     
/ j! B3 O5 B7 x" q* N5 y0 R ether1                       1500 00:11:22:33:44:55 enabled   
  e$ w- c+ O( I5 ?% ~  o1 R ether2                       1500 00:08:02:B3:FC:99 enabled   $ {! h2 a& W- N( n! D/ g
2 R ether3                       1500 00:E0:81:02:21:BF enabled   ( D/ N0 Z& M3 U' r, d
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
8 c# f; S% }: O[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56' f5 }9 t; {1 d, [6 J
注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56, y: H4 A# b$ b7 a5 N. S
[admin@MikroTik] > interface ethernet pr
  Y. a% d& {4 [$ B# p' Q查看修改后结果  [) c3 w, }/ k- I& g
Flags: X - disabled, R - running
5 u. H/ u% Y8 L; A5 I3 B+ X  B+ |#   NAME                       MTU   MAC-ADDRESS     ARP     4 D* c5 V0 N3 Y3 ]6 A
0 R ether1                       1500 00:11:22:33:44:55 enabled     i- ~& H! {* h+ l8 W
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
/ `. Q. }) y% W- J! [: w# b4 Y2 R ether3                       1500 00:11:22:33:44:56 enabled   * T( z, y8 L$ e1 T: ?) N( q
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
/ s2 B6 t4 U! t8 M( p[admin@MikroTik] >
6 K0 p) ~5 |9 P% H# a: ~/ \0 E
这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-10-2 07:31 , Processed in 0.017647 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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