Device need Telnet to configure, but no IP is assigned

arpdhcpjuniperjuniper-ex

I have a UPS device connected to a Juniper EX switch. According to the UPS device documentation the device used DHCP and BOOTP to obtain a IP. This is part of a management network which doesn't have a DHCP or BOOTP Server.

With wireshark I can see the BOOTP messages from the UPS device on a laptop connected to the same switch. I tried making a static arp entry in windows laptop I used run wireshark, which is also suggested in the documentation.

arp -s 10.10.12.3 00-c0-b7-xx-xx-xx

My laptop network is set to 10.10.12.2/ 255.255.255.0. When I try to ping, ssh, telnet that IP of the new ARP entry I don't get a response. If I connect directly to the device, with the arp entry intact, I get no response.

Without setting up a DHCP, or BOOTP, server what other options do I have to get telnet/ssh to a device which does not have a set IP address?

I've considered editing EX configure the interface of the UPS, but it is producing errors

[edit interfaces ge-0/0/24] #show
unit 0 {
  family inet {
    address 10.10.12.1/24 {
        arp 10.10.12.11 mac 00:c0:b7:c6:45:a3 publish;

Interface ge-0/0/24.0 not enabled for switching
error: configuration check-out failed

Best Answer

Until the device has an IP address, you will not be able to Telnet to it. While a static ARP entry may get you a mapping on the host PC, the UPS IP stack will ignore any traffic destined for an IP address it does not bind to.

You didn't mention the model, but you should be able to set up a DHCP server on most EX switch platforms (the configuration does vary a bit on the newer models).