Home assistant Yellow unresponsive after assigning static IP address

I have Home assistant Yellow (HAY), which was working as expected. A few days ago the management interface became unavailable due to the Dynamic IP address changing. I was able to find the new IP address via NMAP, and was able to access the Management interface.
In order to prevent this issue fro reoccurring, I changed the IP address to a static address. The address is correctly on the subnet but excluded from the DHCP pool. After this the HAY management interface became unavailable.
The device does not respond to ping, however it is found in an NMAP scan, which seems to indicate there may be a firewall blocking traffic.
I plan on connecting the console today, but am curious on the correct method to changing an IP address, this is Specific to Home assistant Yellow.

Welcome!

Where did you change this (on your router or in Home Assistant)?

I changed this in Home Assistant.
Private IP address was 192.168.1.71
Changed to 192.168.1.2

These devices are directly connected to a layer 2 switch.

A few thoughts:

  1. I assign my static IP addresses from the router. This is a personal preference because I want to manage all assignments from a single location and I think it helps me avoid duplicate assignments. This also allows the clients to keep using DHCP automatic requests.

  2. I have found network devices to be finicky when there is a change of IP assignments so I usually reboot everything to try and clear any cached information.

  3. I am assuming that you tried to get to Home Assistant using the new IP address 192.168.1.2:8123 and received a device timeout. Did you also try the observer port: 192.168.1.2:4357?

  4. Once you connect to the console of your Home Assistant Yellow, you should be able to get the network information on the initial splash screen and by issuing the command:

ha network info

Thanks, I did find the solution;
Root cause, The subnet mask was /32… not sure how that changed, Perhaps I dint notice it during the change from DHCP to Static… I was able to change it to /24…
Note: After changing from /32 to /24 the problem persisted, had to manually remove the /32 entry… I.E. multiple ID addresses can be assigned.

The Yellow is a bit troublesome in that one cannot connect a monitor… So the CLI must be used. The instructions to manually changing the IP via CLI can be found here. How to change IP adresse in CLI - #3 by 3th3r… Also remember to issue a Save command, I dont think the attached article explicitly references a save.

I do like using Dynamic reservations as well… Im using an FPR1140 as my DHCP server, which is limited in this capacity. Perhaps ill change it someday but for now I have a pool that is excluded from DHCP.

Thanks for your help.

1 Like