Using ARP to assign IP address to APC Switched PDU

I’ve purchased two used APC switchable PDU’s (AP9720) to complement my existing  APC Smart-UPS. This allows me more fine-grained power control on each attached component.

These PDU’s cannot be reset to factory default by using the reset button, only by using the serial port. Unfortunately APC does not standardize on serial ports, so the APC serial cable I have from the Smart-UPS (RJ45 connector) does not fit the APC PDU (RJ12 connector).

So I don’t know the IP address but I do know the MAC address as this is printed on the unit.

  1. connect the PDU to the same network segment as the Macbook. The Macbook has 172.16.200.1/26
  2. look for the MAC address sticker on the PDU. In this example the PDU has 00:c0:b7:xx:xx:xx
  3. look at the local arp table to see if the MAC address of the PDU is already in the list. if it is, use the IP address to connect. If not, go to step 3

    arp-a

  4. assign an IP address, in the same space as the Macbook, to the PDU’s MAC address in the ARP table

    arp -s 172.16.200.2 00:c0:b7:xx:xx:xx

  5. ping that IP address with exactly 113 bytes to “assign” it to the PDU

    ping -s 113 172.16.200.2

  6. the first couple of pings will fail but then the PDU will respond
  7. connect to the PDU either by telnet or by webinterface. The default user/password is apc/apc
  8. now you can either assign a new IP address and default gateway for the location where you’ll be using the PDU or reset the PDU to the factory default and take it from there.

If you change the IP address make sure you delete the old ARP entry you’ve made in step 4 !

This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.