|
马上注册成为ROSABC会员,随时发帖回复。
您需要 登录 才可以下载或查看,没有账号?会员注册
x
在一些特殊的应用上必须去修改 ethernet port 的 MAC addresss, 例如有些 ISP 是锁 MAC address, 那麽要利用 IP 分享器或是 router 连网时, 必须将 WAN Port MAC address 以手动方式设定.
在 RouterOS 可利用 /interface ethernet set ether? mac-address 方式来达成.
要恢复原值只要用 reset-mac-address 即可.
[admin@MikroTik] /interface ethernet> set ether5 mac-address=00:11:22:33:44:55
[admin@MikroTik] /interface ethernet> print
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP MASTER-PORT SWITCH
0 R ether1-g... 1500 00:0C:42:E9:19:C4 enabled none switch1
1 R ether2-LAN 1500 00:0C:42:E9:19:C5 enabled none switch1
2 S ether3-s... 1500 00:0C:42:E9:19:C6 enabled ether2-LAN switch1
3 S ether4-s... 1500 00:0C:42:E9:19:C7 enabled ether2-LAN switch1
4 S ether5-s... 1500 00:11:22:33:44:55 enabled ether2-LAN switch1
[admin@MikroTik] /interface ethernet> reset-mac-address
numbers: 4
[admin@MikroTik] /interface ethernet> print
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP MASTER-PORT SWITCH
0 R ether1-g... 1500 00:0C:42:E9:19:C4 enabled none switch1
1 R ether2-LAN 1500 00:0C:42:E9:19:C5 enabled none switch1
2 S ether3-s... 1500 00:0C:42:E9:19:C6 enabled ether2-LAN switch1
3 S ether4-s... 1500 00:0C:42:E9:19:C7 enabled ether2-LAN switch1
4 S ether5-s... 1500 00:0C:42:E9:19:C8 enabled ether2-LAN switch1
[admin@MikroTik] /interface ethernet>
若不想下指令, 透过 winbox 选择欲变更的 interface ethernet 端口也是可以的.
同样的在 wireless interface 上也有 /interface wireless set mac-address 指令. 至于在 wireless 上, 利用 Virtual AP & 修改 mac address 是否可以突破有些 hotspot, 做到多重登入这就不晓得了.
|
评分
-
查看全部评分
|