[OE-core] [PATCH] systemd-networkd: cherry picking route handling patch
akuster808
akuster808 at gmail.com
Thu Jan 8 22:35:54 UTC 2015
Does this affect Dizzy?
- armin
On 01/08/2015 12:43 AM, Maciej Borzecki wrote:
> There is a problem in systemd-networkd version used in OE-core (216 as
> of now) that prevents a successful communication in a configuration
> that uses a static or IPv4 LL address alongside a dynamically obtained
> one. The setup is rather not uncommon as is makes sense to always have
> a static well known address that a technician or a support engineer
> can access while in the field.
>
> The current code in systed-networkd uses a clever trick to add a
> static route to the gateway, to workaround a misconfigured DHCP server
> that would assign an address from network pool that the gateway is not
> a part of. The trick was missing a source IP address specification in
> the static route, thus normally the first assigned IP address would be
> used for outgoing IP packets. In this particular case the address
> would the static one, hence the packet would most probably be dropped
> by the router. Also, it is quite common in smaller networks that the
> DHCP server, gateway router and even a DNS server are colocated. In
> these setups the current code will effectively render any
> communication to or past the router impossible.
>
>
> Maciej Borzecki (1):
> systemd: cherry-pick patch fixing networkd gateway route handling
>
> ...d-preferred-source-to-dhcp4-gateway-route.patch | 109 +++++++++++++++++++++
> meta/recipes-core/systemd/systemd_216.bb | 1 +
> 2 files changed, 110 insertions(+)
> create mode 100644 meta/recipes-core/systemd/systemd/0001-networkd-add-preferred-source-to-dhcp4-gateway-route.patch
>
More information about the Openembedded-core
mailing list