[systemd-devel] networkd: Link local static IP address behind NAT
Mike Gilbert
floppym at gentoo.org
Thu Jan 19 14:30:48 UTC 2023
On Wed, Jan 18, 2023 at 9:12 AM Thomas Burghout
<thomas.burghout at nedap.com> wrote:
>
> On 18.01.20233 04:06, Andrei Borzenkov wrote:
> > On 17.01.2023 18:28, Thomas Burghout wrote:
> > > inet 169.254.146.171/16 brd 169.254.255.255 scope link eth0
> >
> > Is it output from the correct system? Because address is different. I do
> > not see how "ping -I 169.254.1.2" can work with this.
>
> That is unfortunate, I copied the wrong notes indeed. Apologies. The
> following output should completely describe the configuration of the
> system:
>
>
> $ cat /usr/lib/systemd/network/10-lan.network
> [Match]
> Name=eth0
>
> [Network]
> Address=169.254.1.2/16
> DNS=169.254.1.1
> Gateway=169.254.1.1
Maybe move Address=169.254.1.2/16 to an Address section with
Scope=global. For example:
[Address]
Address=169.254.1.2/16
Scope=global
More information about the systemd-devel
mailing list