From: Vishnu Singh <[email protected]> Added LinkLocalAddressing=ipv4 to the network configuration to enable automatic IPv4 address self-configuration (169.254.x.x/16) when no DHCP server is available on the network. This configuration applies to all physical Ethernet interfaces (eth*) and USB Ethernet adapters (usb*).
This change: - Allows devices to communicate on local networks without manual IP configuration - Ensures addresses are assigned directly to the physical interfaces (not virtual interfaces) - Maintains network connectivity in zero-configuration environments - Follows the RFC 3927 standard for IPv4 Link-Local addressing - Provides consistent behavior across all Ethernet connections, including USB adapters The Link-Local addressing serves as a fallback mechanism, enabling basic network functionality and service discovery even in the absence of network infrastructure. Signed-off-by: Vishnu Singh <[email protected]> --- meta-arago-distro/recipes-core/systemd/systemd/10-eth.network | 1 + meta-arago-distro/recipes-core/systemd/systemd/15-eth.network | 1 + meta-arago-distro/recipes-core/systemd/systemd/60-usb.network | 1 + 3 files changed, 3 insertions(+) diff --git a/meta-arago-distro/recipes-core/systemd/systemd/10-eth.network b/meta-arago-distro/recipes-core/systemd/systemd/10-eth.network index b16ce4c3..aad5e194 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd/10-eth.network +++ b/meta-arago-distro/recipes-core/systemd/systemd/10-eth.network @@ -3,4 +3,5 @@ Name=eth0 KernelCommandLine=!root=/dev/nfs [Network] +LinkLocalAddressing=ipv4 DHCP=yes diff --git a/meta-arago-distro/recipes-core/systemd/systemd/15-eth.network b/meta-arago-distro/recipes-core/systemd/systemd/15-eth.network index be47a01f..0aa8b22d 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd/15-eth.network +++ b/meta-arago-distro/recipes-core/systemd/systemd/15-eth.network @@ -6,4 +6,5 @@ KernelCommandLine=!root=/dev/nfs RequiredForOnline=no [Network] +LinkLocalAddressing=ipv4 DHCP=yes diff --git a/meta-arago-distro/recipes-core/systemd/systemd/60-usb.network b/meta-arago-distro/recipes-core/systemd/systemd/60-usb.network index dbba1898..73e5587c 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd/60-usb.network +++ b/meta-arago-distro/recipes-core/systemd/systemd/60-usb.network @@ -2,4 +2,5 @@ Name=usb* [Network] +LinkLocalAddressing=ipv4 DHCP=yes -- 2.50.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17018): https://lists.yoctoproject.org/g/meta-arago/message/17018 Mute This Topic: https://lists.yoctoproject.org/mt/117413391/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
