IP address of my RPi changed

Normally I access my home assistant through 192.168.0.114, but today it was changed to 192.168.0.115.
So I want this not to happen anymore.
Strange thing is that under config/network/ the file “my-network” is set to have a fixed ip : 192.168.0.114

[connection]
id=hassos-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=telenet-apn-e868e-5

#hidden=true

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=i6pt6ggff2qr

[ipv4]
method=manual
address=192.168.0.114/24,192.168.0.1
dns=8.8.8.8;8.8.4.4;

[ipv6]
addr-gen-mode=stable-privacy
method=auto

or am I wrong with this?

Is your PI on DHCP? If so you should set the fixed IP in your router administration.

My RPi is connected with a Access point and this access point cannot give out fixed IPs, so I have to configure my RPi manually.

OK. Just to be sure: I guess your accespoint is just a forwarder for your primary router, which is DHCP server? In that case you should still set the fixed IP at your DHCP server (not your acces point, but your router in that case).

If your network only has fixed IP addresses and no DHCP at all, then you are right and you should configure it in the PI settings. In that case I am not sure why it doesn’t work.

1 Like

I also saw this when using the command ifconfig

eth0 Link encap:Ethernet HWaddr 02:42:AC:1E:21:03
inet addr:172.30.33.3 Bcast:172.30.33.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:990 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:102307 (99.9 KiB) TX bytes:6651 (6.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Although I make a connection through the ip 192.168.0.115 now it says that my ip is 172.30.33.3 ???

That’s the docker IP address

What’s a docker? And why is it only giving these 2 ip adresses

You’re SSH into the docker container. Docker is what runs hassio. You’re not in the host os which is HassOS. It only shows those 2 IP addresses because you’re inside a containerized application. It’s segmented from your actual hardware.

I understand now! Thanks. Something new learned today.

Still have the problem with the ip address tho. :frowning: