How to share internet from Cellular to LAN with specific static IP?

Hi Balena team,

I found the way to share internet access thru LAN from the document below.
By set method=shared.

But have no detail about how to set the IP address of shared network.

In my case, the device connected to LAN has static IP= and Gateway=
I would like to share the internet access to this device?

Thanks in advance.

hello, does setting method=shared successfully shared the internet access for you? And now you are looking for a way to assign a static IP to the device you want to share the internet access to?

Hi Belena team,

Such as I would like to set the static IP on LAN to be while sharing the internet.

And the connected device to LAN, set IP address =, Gateway =, and would lime the connected device can get internet access.

Hi! Just to be sure I understood correctly, you have one device connected to the internet through LAN. And you want to use that device as a hotspot for another device right? Then, for the device connected through LAN, you set the ipv4 config ip to and gateway to: . So which is the static IP you want to set now?

Hi Balena Team,

The BalenaFin’s LAN IP will be

Best regards

Hi there, I think I understand what you’re asking, in which case you can set the IP address on the shared interface with the normal address1 parameter in the ipv4 section. I’d expect your config then to look something like:




This way the Fin would use the IP address (rather than the default 10.42.x.0/24 address) for the shared interface eth0 and you’d be able to set your connected device to use with gateway and that should work fine.

There’s more information on this in the NetworkManager docs.

I hope this helps!