NetworkManager에서 마이그레이션하려고 합니다 systemd-networkd
(Ubuntu 18.04로 업그레이드한 후). 모든 인터페이스, 브리지, VLAN을 구성했는데 모든 것이 잘 작동합니다.
로그 표시
root@srv ~# journalctl -b | grep " lo" | grep networkd
May 20 10:55:44 srv systemd-networkd[765]: lo: Removing non-existent address: ::1/128 (valid forever), ignoring
May 20 10:55:44 srv systemd-networkd[765]: lo: Link is not managed by us
May 20 10:55:44 srv systemd-networkd[765]: lo: Link is not managed by us
May 20 10:55:44 srv systemd-networkd[765]: lo: Link is not managed by us
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
May 20 10:55:44 srv systemd-networkd[765]: lo: Link is not managed by us
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
May 20 10:55:44 srv systemd-networkd-wait-online[801]: ignoring: lo
( ignoring: lo
그런 다음 로그에서 여러 번 반복됨)
첫 번째, lo: Link is not managed by us
. 그럼 누가 관리할 것인가?
그러면 올바르게 설정된 것 같습니다.
root@srv ~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
실제로 다음에서 관리하지 않습니다 systemd-networkd
.
root@srv ~# networkctl status lo
● 1: lo
Link File: /lib/systemd/network/99-default.link
Network File: n/a
Type: loopback
State: carrier (unmanaged)
Address: 127.0.0.1
그러나 그렇지 않으면 예상대로 작동합니다.
root@srv ~# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.056 ms
구성해야 합니까 systemd-networkd
? 그렇다면 어떻게 구성하나요?