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

在RouterOS中修改mac地址的方法

[复制链接]
发表于 2006-12-29 20:06:33 | 显示全部楼层 |阅读模式
[admin@MikroTik] > interface ethernet pr" b8 y- U# f% r" y
修改前& t5 q" K( Q3 e3 F$ K3 n
Flags: X - disabled, R - running
& }# \6 X& B2 x$ w! t3 g#   NAME                       MTU   MAC-ADDRESS     ARP     
! O. |" Y7 }4 r. W0 \1 g1 K0 R ether1                       1500 00:11:22:33:44:55 enabled   
8 w. a3 h4 I5 c9 U1 E7 m: |1 R ether2                       1500 00:08:02:B3:FC:99 enabled   
' s7 |9 u5 [% ]' [: C& b2 R ether3                       1500 00:E0:81:02:21:BF enabled   % D# o7 M/ S9 F) V
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   
: f( A* \$ Y* p  F  T: [. c[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56" a; L- E1 o. j+ c/ T
注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56, K; S, l( q# H4 `  Y8 M6 {/ u3 m
[admin@MikroTik] > interface ethernet pr
8 D" g/ ?# v3 m5 \查看修改后结果& k# f2 b; k( f, S! y; _( X7 ^
Flags: X - disabled, R - running ) J+ I! y; s0 _! r. y$ j! j
#   NAME                       MTU   MAC-ADDRESS     ARP     7 V( V! o( N/ L% E2 F
0 R ether1                       1500 00:11:22:33:44:55 enabled   
) f# }% A! X7 C, L% T, I: A' H( b1 R ether2                       1500 00:08:02:B3:FC:99 enabled   8 F6 }4 m9 B' Q: n6 P7 n4 k
2 R ether3                       1500 00:11:22:33:44:56 enabled   3 v9 k+ a2 f$ C
3 R ether4                       1500 00:E0:81:02:21:C0 enabled   ) F- [, V* T6 R& i! n
[admin@MikroTik] >8 H$ @0 i; N; X
- o- y. b. i9 L, ]- x9 \
这个办法很少人知道,实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-11-14 23:43 , Processed in 0.019838 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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