|
[admin@MikroTik] > interface ethernet pr
9 l, @' K# V7 N8 j' h p修改前) a( Q' C# U3 D
Flags: X - disabled, R - running 3 `1 f, |) o" B2 u5 S$ K6 S3 p8 q" Y
# NAME MTU MAC-ADDRESS ARP
% \* B2 D8 Z2 f( U& C4 d3 N0 R ether1 1500 00:11:22:33:44:55 enabled - n: E/ ~) u5 t: G1 {7 v2 ]4 _
1 R ether2 1500 00:08:02:B3:FC:99 enabled " w- K3 f4 _4 W4 d
2 R ether3 1500 00:E0:81:02:21:BF enabled + |, L: r% T# B8 G
3 R ether4 1500 00:E0:81:02:21:C0 enabled 4 `, x/ |8 u: `$ K S) Q
[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
0 n0 v! V, W( M0 E% x, m9 k, a注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:56! F4 i3 {5 n; I! R7 p3 K: v0 L/ J3 X" N- d* }
[admin@MikroTik] > interface ethernet pr
* i4 l: b% V9 k- x查看修改后结果
1 h4 G3 N/ @0 \' H$ SFlags: X - disabled, R - running
% n, z" M9 ?/ X% x6 ]1 V0 s* F# NAME MTU MAC-ADDRESS ARP $ F7 w l$ `. A6 Y, T7 _- f
0 R ether1 1500 00:11:22:33:44:55 enabled
6 F9 [/ x% o" R' Z9 \" @1 R ether2 1500 00:08:02:B3:FC:99 enabled
) p) k; H" u' Y6 E" Y7 G* b% \& w2 R ether3 1500 00:11:22:33:44:56 enabled
+ \" L7 z- {. h6 W3 ^, z( x3 R ether4 1500 00:E0:81:02:21:C0 enabled
! E- G2 D; k6 D# ^; Y7 I5 W, D" Z[admin@MikroTik] >
. I& r: L! N- n$ n3 c- T5 B9 C" ` _
这个办法很少人知道,实用的。 |
|