weiyu99 wrote:
想问一下有没有人知道如何在 RouterOS 里面实现 dnsmasq 的功能...(恕刪)
IP > DNS, allow remote requests 打勾就好了, 裡面有一個 'static' 就是自己做 host & ip 的對應.
[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>






