Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: Maciek Borzecki <maciek.borzecki@gmail.com>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] systemd-networkd: cherry picking route handling patch
Date: Thu, 8 Jan 2015 20:44:30 +0100	[thread overview]
Message-ID: <20150108194430.GA3617@localhost.localdomain> (raw)
In-Reply-To: <CAP9ODKpUV8+ZvnLba83djVXeFw8cR0cBTYobf5DG9A38jMG--Q@mail.gmail.com>

On 01/08 12:13, Otavio Salvador wrote:
> On Thu, Jan 8, 2015 at 6:43 AM, Maciej Borzecki
> <maciej.borzecki@open-rnd.pl> 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
>
> typo: systemd-networkd
>
> > 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
>
> collocated?

Yes, obviously collocated. I'm not sure why, but somehow I missed
[PATCH 0/1] for this cover letter when sending a 1-patch series. If
that's ok, I won't resend the cover letter with typos fixed. It was to
give some background as the backported patch, as it's not that intuitive.

>
> > these setups the current code will effectively render any
> > communication to or past the router impossible.
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

--
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079


Niniejsza wiadomość wraz z załącznikami może
zawierać chronione prawem lub poufne informacje i została
wysłana wyłącznie do wiadomości i użytku osób, do których
została zaadresowana. Jeśli wiadomość została otrzymana
przypadkowo zabrania się jej kopiowania lub rozsyłania do osób
trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o
zaistniałej sytuacji za pomocą wiadomości zwrotnej.
Dziękujemy.

This message, including any attachments hereto,
may contain privileged or confidential information and is sent
solely for the attention and use of the intended addressee(s).
If you are not an intended addressee, you may neither use this
message nor copy or deliver it to anyone. In such case, you
should immediately destroy this message and kindly notify the
sender by reply email. Thank you.


  reply	other threads:[~2015-01-08 19:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08  8:43 [PATCH] systemd-networkd: cherry picking route handling patch Maciej Borzecki
2015-01-08  8:43 ` [PATCH] systemd: cherry-pick patch fixing networkd gateway route handling Maciej Borzecki
2015-01-08 14:14   ` Otavio Salvador
2015-01-08 15:46     ` Maciej Borzecki
2015-01-08 16:04       ` Otavio Salvador
2015-01-08 19:59   ` Maciej Borzecki
2015-01-08 20:36     ` Otavio Salvador
2015-02-02  7:36       ` Maciej Borzecki
2015-02-02  7:52         ` Maciej Borzecki
2015-01-08 14:13 ` [PATCH] systemd-networkd: cherry picking route handling patch Otavio Salvador
2015-01-08 19:44   ` Maciej Borzecki [this message]
2015-01-08 19:54     ` Peter A. Bigot
2015-01-08 22:35 ` akuster808
2015-01-09  8:12   ` Maciej Borzecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150108194430.GA3617@localhost.localdomain \
    --to=maciej.borzecki@open-rnd.pl \
    --cc=maciek.borzecki@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox