|
|
[admin@MikroTik] > interface ethernet pr
" B& s% Z5 D( d- G7 t5 ?修改前# e6 ]: e& @: y. x
Flags: X - disabled, R - running
' z" l `" i: m6 z# NAME MTU MAC-ADDRESS ARP F0 {# X6 V7 g7 B$ R4 `
0 R ether1 1500 00:11:22:33:44:55 enabled 2 {7 J( s" T4 G8 H) T
1 R ether2 1500 00:08:02:B3:FC:99 enabled
/ P) K! I* i7 {2 R ether3 1500 00:E0:81:02:21:BF enabled
3 F9 N, { M @2 m3 R ether4 1500 00:E0:81:02:21:C0 enabled
3 n' P$ I0 e7 r9 [; V[admin@MikroTik] > interface ethernet set 2 mac-address=00:11:22:33:44:56
2 s! w' h+ d5 e# z+ ?5 a4 d) t) C注释:把编号为2的网卡的MAC地址改为:00:11:22:33:44:561 v8 g& e; M2 U% f
[admin@MikroTik] > interface ethernet pr
6 Q. G0 K2 z; T1 I$ G4 Q查看修改后结果
0 n# c! l) a0 ?Flags: X - disabled, R - running
3 @( ]* V" K0 ~( f s& z8 B D# NAME MTU MAC-ADDRESS ARP
5 G8 N. E; b! @: `9 y0 R ether1 1500 00:11:22:33:44:55 enabled
) H, A( I$ z( D/ t( h1 R ether2 1500 00:08:02:B3:FC:99 enabled ; w- Q& u+ }3 {0 q$ _* v
2 R ether3 1500 00:11:22:33:44:56 enabled
+ E$ U) L4 T3 l/ S' V2 s; r1 s3 R ether4 1500 00:E0:81:02:21:C0 enabled
: g( W5 X$ t9 R4 g2 V' a$ d. [, Q[admin@MikroTik] >5 M- G& S% }* H, A( Q% c1 r
# V* @& O. w. H3 r& S/ l
这个办法很少人知道,实用的。 |
|