Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 436  / 2 Years ago, sat, february 5, 2022, 8:50:11

Exactly what is the process on bringing up an interface in Ubuntu 20.04?


i.e Which process manages this? (Is it systemd-networkd?) And what configuration data does it base this on?


Note: I'm not asking about netplan configuration, netplan is merely an abstraction layer that converts a netplan configuration into a configuration suitable for the specific backend in use - I'm more interested in the underlying functionality of that specific backend, and the process that it goes through.


(Edited to refocus the question to make it clear that I'm interested in what happens underneath the netplan config abstraction layer).


More From » networking

 Answers
0

Early during the boot process the netplan-generate binary is run as a systemd generator. The binary can be seen (symlinked) at /lib/systemd/system-generators/netplan.


The netplan-generate binary uses the netplan configuration to create configuration for either systemd-networkd or NetworkManager. E.g. for systemd-networkd a file is created at /run/systemd/network/10-netplan-SOMETHING.network.


Later in the boot process, systemd starts the service for systemd-networkd.service or NetworkManager.service. The service configures the network based on its configuration (which was just created by netplan).


[#402] Sunday, February 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
musining

Total Points: 171
Total Questions: 124
Total Answers: 121

Location: Zambia
Member since Thu, Jun 25, 2020
4 Years ago
;