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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr
; h) z' X0 Q, I+ B# p修改前6 ]2 ?, `, u# J; H+ \: n
Flags: X - disabled, R - running
  l7 P; S5 c6 h2 k/ d- d% u#   NAME                       MTU   MAC-ADDRESS     ARP     2 h* R+ Q% z! s- n
0 R ether1                       1500 00:11:22:33:44:55 enabled   
2 y& T/ W4 j' {; j1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
1 o0 t6 _" J5 k/ V! S2 R ether3                       1500 00:E0:81:02:21:BF enabled   6 K- |  s. T: o
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
5 H/ Z* G, S# K/ i# Z; U. b* l[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56' t' a) f9 W7 {5 L" }. [1 H& @" w6 ~
注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56! m. i  S' T1 T; R$ V8 o
[admin@MikroTik] > interface ethernet pr, F& `5 @2 L% `. C
查看修改后结果( J* [  [& N! z2 p" c1 _, l% q
Flags: X - disabled, R - running
" U0 N# t) |  B3 b/ p8 T8 t0 Y#   NAME                       MTU   MAC-ADDRESS     ARP     
- b# V" l3 i: @( t* Z8 \: Q0 R ether1                       1500 00:11:22:33:44:55 enabled   & }! M4 y% a$ O' I: l
1 R ether2                       1500 00:08:02:B3:FC:99 enabled   + F# J  S$ Q7 D5 ^+ S! `
2 R ether3                       1500 00:11:22:33:44:56 enabled     ^- `3 P2 i' s9 b5 Y3 P
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
0 b+ p7 D: m& x. r" Y. e$ [0 ~[admin@MikroTik] >% y/ o4 H9 n. f5 w

& m) g+ H+ L, Q& ?7 u这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-5-2 08:53 , Processed in 0.019271 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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