Address Resolution Protocol - MikroTik RouterOS v2.9 Reference Manual

Reference manual
Table of Contents

Advertisement

ether1 or ether2.
Example
[admin@MikroTik] ip address> add address=10.10.10.1/24 interface=ether2
[admin@MikroTik] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
#
ADDRESS
0
2.2.2.1/24
1
10.5.7.244/24
2
10.10.10.1/24
[admin@MikroTik] ip address>

Address Resolution Protocol

Home menu level: /ip arp
Description
Even though IP packets are addressed using IP addresses, hardware addresses must be used to
actually transport data from one host to another. Address Resolution Protocol is used to map OSI
level 3 IP addreses to OSI level 2 MAC addreses. A router has a table of currently used ARP
entries. Normally the table is built dynamically, but to increase network security, it can be built
statically by means of adding static entries.
Property Description
address ( IP address ) - IP address to be mapped
interface ( name ) - interface name the IP address is assigned to
mac-address ( MAC address ; default: 00:00:00:00:00:00 ) - MAC address to be mapped to
Notes
Maximal number of ARP entries is 8192.
If arp feature is turned off on the interface, i.e., arp=disabled is used, ARP requests from clients
are not answered by the router. Therefore, static arp entry should be added to the clients as well. For
example, the router's IP and MAC addresses should be added to the Windows workstations using
the arp command:
C:\> arp -s 10.5.8.254
If arp property is set to reply-only on the interface, then router only replies to ARP requests.
Neighbour MAC addresses will be resolved using /ip arp statically.
Example
[admin@MikroTik] ip arp> add address=10.10.10.10 interface=ether2 mac-address=06 \
\... :21:00:56:00:12
[admin@MikroTik] ip arp> print
Flags: X - disabled, I - invalid, H - DHCP, D - dynamic
#
ADDRESS
0 D 2.2.2.2
Page 102 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.
NETWORK
2.2.2.0
10.5.7.0
10.10.10.0
00-aa-00-62-c6-09
MAC-ADDRESS
00:30:4F:1B:B3:D9 ether2
BROADCAST
INTERFACE
2.2.2.255
ether2
10.5.7.255
ether1
10.10.10.255
ether2
INTERFACE

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RouterOS v2.9 and is the answer not in the manual?

Table of Contents

Save PDF