How to Setup Multiple Static IPs on BlueOS

Hello,

I would appreciate the community’s help in setting up multiple static IP addresses for BlueOS, precisely a setting that would enable me to specify the subnet mask. I understand that the default way to do this would be to configure over the “Add static ip” in the BlueOS gui, however, this approach would set the default subnet mask to be 24. Is there a way to do this so that I can configure the subnet mask to 16-bit instead and also specify a gateway for each of the ip addresses?

I have also tried editing the /etc/dhcpcd.conf file but it seems to conflict with whatever setting was made on the BlueOS gui.

Hi @Sir_MuEL -
Happy to help. Setting a /16 address may be possible, via ip addr add <IP_ADDRESS>/<MASK_LEN> dev <DEVICE> however this change will likely not persist between reboots. This command would be executed from the BlueOS Terminal, after taking the red-pill.

If this is a desired feature, please submit an issue request on the BlueOS Github and our software team can address it!

Thanks a lot, we have fixed this by installing a custom netplan configuration onboard the pi

1 Like