Fixed IP using Balena Cloud

Good evening,

I have a project which is deployed to multiple Raspberry Pi’s using BalenaCloud.

When I log into the Balena Dashboard, the Pi’s have a local IP of 192.168.225.46 for example. However I need them on 192.168.1.X. How would I achieve this at deployment please?

I’ve read the following post Network Setup on balenaOS - Balena Documentation however it is not obvious to me how I deploy this to the fleet.

Any assistance greatly appreciated.

Many thanks.

@Tissy
You have to change the wifi-ssid.nmconnection file inside /etc/NetworkManager/system-connection manually for every device in the fleet to give them a unique IP address if they are already deployed.
But when you are creating a device inside a fleet after flashing the balenaOS in the SD Card then navigating into the root partition and searching for the balena-wifi-01 file then you can assign the Static IP. After saving it you need to plug the SD card in your RPI then it after connecting to the network provided in balena-wifi-01 it will try to get the static IP provided in the file.

1 Like

If what @mani13jha doesn’t help, it might be worth you sharing a bit more information about your setup. If you’re deploying a lot of devices, setting a static IP for each one at the device level is going to be a bit labour intensive - personally I would tackle it at the DHCP server level.