Talk to a device with APIPA?

Hi there,

I’ve run into a problem where a device connected to a routerboard has an automatically assigned IP address (169.254.0.0/16). (I can see the DHCP lease has been “offered” but it never completes. I’ve read a number of people having this issue recently and will follow up with suggestions around that later.)

For now though, I’d really like to get the device online and give it a proper static IP. I am not able to physically get to the equipment, so I was wondering if it is possible to do something in the mikrotik to be able to talk to this device? Setup a bridge or a route or something like that… Any pointers in the right direction would be much appreciated.

Thanks!
Tim

Add random addres from same subnet to router and it will be able to talk to device. Then either connect to it from router (if it supports telnet or ssh), or just forward some other ports to it. If you also add masquerade to make connections look like they came from router (which would in same /16), you’ll be able to connect to it from anywhere.

Thanks Sob, that is useful info.

As far as adding a new address to the router, do I add to the same interface as the existing router IP? So I would end up with another entry for ether2-master-local to something like 169.254.100.100/16?

[tikadmin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                    
 0   ;;; default configuration
     192.168.10.1/24    192.168.10.0    ether2-master-local                          
 1 D 192.168.1.2/24   192.168.1.0     ether1-gateway

If ether2-master-local is the interface where that device is connected, then the address needs to go there (= they need to be able to see each other).

I got it back! thanks! :slight_smile: