# Systemd-networkd: static IP device not able to reach non-local addresses

**URL:** <https://hub.mender.io/t/systemd-networkd-static-ip-device-not-able-to-reach-non-local-addresses/5560>\
**Category:** General Discussions\
**Tags:** systemd, network\
**Created:** [January 18, 2023, 2:58pm UTC](https://hub.mender.io/t/systemd-networkd-static-ip-device-not-able-to-reach-non-local-addresses/5560 "2023-01-18T14:58:30Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![bobhobelman](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/bobhobelman/32/1818_2.png) [@bobhobelman](https://hub.mender.io/u/bobhobelman)\
**Post date:** [January 19, 2023, 11:04am UTC](https://hub.mender.io/t/systemd-networkd-static-ip-device-not-able-to-reach-non-local-addresses/5560/10 "2023-01-19T11:04:45Z")

</div>

After some fiddling around it seems that it’s a change in `systemd-networkd`. The older versions are adding the routes that we would expect.

Thanks for helping out!

For people looking for a solution:  
We decide to use **LinkLocal** during the device discovery. After that based on some logic we switch to **static IP address** in the **private network range**. With this logic, we also define a gateway in the system that can be used by the other devices.  
This way we comply with the RFC and can use new versions of `systemd-networkd`.

---

_[View the full topic](https://hub.mender.io/t/systemd-networkd-static-ip-device-not-able-to-reach-non-local-addresses/5560)._
