Systemd-networkd
Overview
Systemd-networkd에 대한 기술 문서입니다.
Summary
- 무엇인가? - Systemd-networkd
- 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
- 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
Purpose
이 문서가 존재하는 이유
- Goal: Systemd-networkd에 대한 기술 정보 제공
- Scope: Systemd-networkd의 개념, 사용법, 설정
- Non-goals: 다른 주제로의 확장
Key Concepts
| Concept | Description | Related |
|---|---|---|
| Systemd-networkd | HPC/서버 환경에서 중요한 기술 개념 | Linux, Server |
Detailed Explanation
systemd-networkd is a system daemon that manages network, can detect and configure network devices and is also capable of creating virtual network devices configurations sinde 2010. systemd-network can be especially useful to set up complex network configurations for a container managed by systemd-nspawn or for virtual machines. This site explains technical details including system service dependencies of systemd-netword.
The default network management moved to netplan[1] from the Ubuntu 20.04 server, so admin is able to configure various network configuration by modifing /etc/netplan/*.yaml file and netplan commands.
To use systemd-networkd, start/enable systemd-networkd.service.
There are two different network managers can be installed on the same system at the time this post is wrote. by default, HPCMATE's automated server setup script disabled NetworkManager to avoid potential confliction between systemd-networkd service.
Networkctl is a command line utility which has been developed in order to show a summary of the network devices in the system and their respective connection status, in addition, with networkctl it will be possible to consult and control the Linux network subsystem.[2][3] <syntaxhighlight lang="bash"> $ networkctl --help
status [PATTERN...] Show link status lldp [PATTERN...] Show LLDP neighbors label Show current address label entries in the kernel delete DEVICES... Delete virtual netdevs renew DEVICES... Renew dynamic configurations reconfigure DEVICES... Reconfigure interfaces reload Reload .network and .netdev files
Options:
-h --help Show this help
--version Show package version
--no-pager Do not pipe output into a pager
--no-legend Do not show the headers and footers
Best Practices
- 최신 버전 사용 권장
- 공식 문서 참고
- 테스트 환경에서 먼저 검증
References
Related Pages
Knowledge Graph
Related
→ Network performance test → RDMA → NIC Bonding → Network → IPMI → SDN → NFS