[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring Static ARP Entries on Ethernet Interfaces

By default, the Services Router responds to an Address Resolution Protocol (ARP) request only if the destination address of the ARP request is on the local network of the incoming interface. For Fast Ethernet or Gigabit Ethernet interfaces, you can configure static ARP entries that associate the IP addresses of nodes on the same Ethernet subnet with their media access control (MAC) addresses. These static ARP entries enable the Services Router to respond to ARP requests even if the destination address of the ARP request is not local to the incoming Ethernet interface.

In this example, you configure a static ARP entry on Gigabit Ethernet interface ge-0/0/3 of the Services Router consisting of the IP address and corresponding MAC address of a node on the same Ethernet subnet. The ge-0/0/3 interface has the IP address 10.1.1.1/24. The node has the IP address 10.1.1.3 and the MAC address 00:ff:85:7f:78:03. If the node on your network is another router running the JUNOS software, you can enter the show interfaces interface-name command to learn the IP and MAC (hardware) address of the node.

For more information about configuring static ARP entries, see the JUNOS Network Interfaces Configuration Guide.

To configure a static ARP entry on the ge-0/0/3 interface:

  1. Navigate to the top of the interfaces configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 36.
  3. If you are finished configuring the router, commit the configuration.
  4. To verify the configuration, see Verifying Interface Configuration.

Table 36: Configuring Static ARP Entries

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Edit.

From the [edit] hierarchy level, enter

edit interfaces ge-0/0/3

Select the Gigabit Ethernet interface ge-0/0/3.

In the Interface name column, click ge-0/0/3.

Configure a static ARP entry on logical unit 0 with the source address 10.1.1.1/24 on the ge-0/0/3 interface.

Set the IP address of the subnet node to 10.1.1.3 and the corresponding MAC address to 00:ff:85:7f:78:03.

To have the router reply to ARP requests from the node, use the publish option.

  1. Under Unit, next to 0, click Edit.
  2. Under Family, next to Inet, click Edit.
  3. Under Address, next to 10.1.1.1/24, click Edit.
  4. Next to Arp, click Add new entry.
  5. In the Address box, type the IP address of the node—10.1.1.3.
  6. Select the Publish check box.
  7. From the Mac address type list, select Mac.
  8. In the Mac box, type the MAC address 00:ff:85:7f:78:03 of node.
  9. Click OK until you return to the Interfaces page.
  1. Enter

    edit unit 0

  2. Enter

    edit family inet address 10.1.1.1/24

  3. Enter

    set arp 10.1.1.3 mac 00:ff:85:7f:78:03 publish


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]