{"id":128,"date":"2021-10-11T03:35:04","date_gmt":"2021-10-11T10:35:04","guid":{"rendered":"https:\/\/www.xh86.me\/?p=128"},"modified":"2021-10-11T14:12:55","modified_gmt":"2021-10-11T21:12:55","slug":"routeros-%e8%ae%be%e7%bd%aearp%e9%9d%99%e6%80%81%e7%bb%91%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=128","title":{"rendered":"RouterOS \u8bbe\u7f6eARP\u9759\u6001\u7ed1\u5b9a"},"content":{"rendered":"<p>\u6bcf\u4e2a\u8def\u7531\u5668\u90fd\u4e00\u4e2aARP\u5217\u8868\uff0c\u8bb0\u5f55ARP\u4fe1\u606f\uff0c\u7531IP\u5730\u5740\u548c\u76f8\u7b26\u5408\u7684MAC\u5730\u5740\u6784\u6210\uff0cARP\u63d0\u4f9b\u4e86\u52a8\u6001\u7684IP\u4e0eMAC\u5730\u5740\u5bf9\u5e94\u5173\u7cfb\uff0c\u5728ARP\u5217\u8868\u4e2d\u81ea\u52a8\u4ea7\u751f\uff0c\u5efa\u7acb\u52a8\u6001\u7684ARP\u5173\u7cfb\uff0c\u8def\u7531\u5668\u901a\u8fc7ARP\u5217\u8868\u7684\u8bb0\u5f55\u6765\u54cd\u5e94\u5404\u4e2a\u4e3b\u673a\u7684IP\u6570\u636e\u901a\u8baf\u3002RouterOS\u7684\u52a8\u6001ARP\u5217\u8868\u662f60s\u66f4\u65b0\u4e00\u6b21\uff0c\u4e3a\u4e86\u907f\u514d\u7528\u6237\u79c1\u81ea\u4fee\u6539MAC\u6216\u51fa\u73b0\u7684ARP\u75c5\u6bd2\uff0c\u4ee5\u53ca\u7528\u6237\u64c5\u81ea\u4fee\u6539IP\u5730\u5740\uff0c\u6211\u4eec\u53ef\u901a\u8fc7\u9759\u6001\u7684ARP\u8bb0\u5f55\uff0c\u8981\u6c42\u8def\u7531\u5668\u53ea\u5bf9\u6dfb\u52a0\u4e86\u9759\u6001\u7684ARP\u5173\u7cfb\u7684\u4e3b\u673a\u505a\u54cd\u5e94\u3002\u5982\u901a\u8fc7\u4e0b\u9762\u7684\u8bbe\u7f6e\uff1a<\/p>\n<p>\u7b2c\u4e00\u6b65\uff1a\u5728WinBox\u4e2d\u8fdb\u5165ip arp\u83dc\u5355\uff0c\u5c06\u52a8\u6001ARP\u8bbe\u7f6e\u4e3a\u9759\u6001\u7684ARP\u6761\u76ee\uff0c\u9009\u4e2d\u9700\u8981\u8bbe\u7f6e\u9759\u6001\u7684\u6761\u76ee\uff0c\u53f3\u952e\u70b9\u51fa\u4e0b\u62c9\u83dc\u5355\uff0c\u9009\u62e9Make Static\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"469\" class=\"wp-image-129\" src=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/table-description-automatically-generated-9.png\" alt=\"Table\n\nDescription automatically generated\" srcset=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/table-description-automatically-generated-9.png 460w, https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/table-description-automatically-generated-9-294x300.png 294w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/p>\n<p>\u6216\u8005\u901a\u8fc7\u547d\u4ee4\u64cd\u4f5c\u624b\u52a8\u8bbe\u7f6e\u4e3b\u673a\u548cMAC\u7684ARP\u5173\u7cfb\uff1a<\/p>\n<p><em>[admin@MikroTik] ip arp&gt; add address=192.168.1.248 interface=ether1-lan mac-address=00:21:00:56:00:12<\/em><\/p>\n<p>\u7b2c\u4e8c\u6b65\uff1a\u8bbe\u7f6eether1\u7684arp\u9009\u9879\uff0c\u8bbe\u7f6earp=reply-only\uff0c\u4ec5\u54cd\u5e94\u9759\u6001ARP\u7684\u8bf7\u6c42\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"310\" height=\"301\" class=\"wp-image-130\" src=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/graphical-user-interface-application-description-19.png\" alt=\"Graphical user interface, application\n\nDescription automatically generated\" srcset=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/graphical-user-interface-application-description-19.png 310w, https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/graphical-user-interface-application-description-19-300x291.png 300w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/p>\n<p>\u547d\u4ee4\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<p><em>[admin@MikroTik] &gt; interface ethernet set ether1 arp=reply-only<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6bcf\u4e2a\u8def\u7531\u5668\u90fd\u4e00\u4e2aARP\u5217\u8868\uff0c\u8bb0\u5f55ARP\u4fe1\u606f\uff0c\u7531IP\u5730\u5740\u548c\u76f8\u7b26\u5408\u7684MAC\u5730\u5740\u6784\u6210\uff0cARP\u63d0\u4f9b\u4e86\u52a8\u6001\u7684IP\u4e0eMAC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,2],"tags":[],"class_list":["post-128","post","type-post","status-publish","format-standard","hentry","category-mikrotik","category-network"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=128"}],"version-history":[{"count":1,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/128\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/128\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}