|
|
[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
这个办法很少人知道,实用的。 |
|