systemd-networkd-wait-online
시작에 실패하고 시간이 초과되었습니다. 우분투 22.04.3을 실행 중입니다.
세 가지 인터페이스가 있습니다.
$ networkctl status -a
● 1: lo
Link File: n/a
Network File: n/a
Type: loopback
State: carrier (unmanaged)
Online state: unknown
HW Address: 00:00:00:00:00:00
MTU: 65536
QDisc: noqueue
IPv6 Address Generation Mode: eui64
Queue Length (Tx/Rx): 1/1
Address: 127.0.0.1
::1
Activation Policy: up
Required For Online: yes
● 2: enp33s0
Link File: /usr/lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-all.network
Type: ether
State: routable (configured)
Online state: unknown
Path: pci-0000:21:00.0
Driver: ixgbevf
Vendor: Intel Corporation
Model: X550 Virtual Function
HW Address: *
MTU: 1500 (min: 68, max: 9710)
QDisc: mq
IPv6 Address Generation Mode: eui64
Queue Length (Tx/Rx): 8/8
Auto negotiation: no
Speed: 10Gbps
Duplex: full
Address: 10.20.31.45 (DHCP4 via 10.20.31.229)
*
DNS: 10.20.31.229
Search Domains: *
Activation Policy: up
Required For Online: no
DHCP4 Client ID: IAID:0xa8cc043a/DUID
DHCP6 Client DUID: DUID-EN/Vendor:0000ab117136b3e83ccf80800000
● 3: enp27s0
Link File: /run/systemd/network/10-netplan-enp27s0.link
Network File: /run/systemd/network/10-netplan-all.network
Type: ether
State: routable (configured)
Online state: unknown
Path: pci-0000:1b:00.0
Driver: virtio_net
Vendor: Red Hat, Inc.
Model: Virtio network device
HW Address: *
MTU: 1500 (min: 68, max: 1500)
QDisc: fq_codel
IPv6 Address Generation Mode: eui64
Queue Length (Tx/Rx): 1/1
Auto negotiation: no
Speed: n/a
Address: 10.145.101.139 (DHCP4 via 169.254.75.10)
*
Gateway: 169.254.1.1
DNS: 10.135.192.10
Search Domains: *
Activation Policy: up
Required For Online: no
DHCP4 Client ID: IAID:0x9d8432b/DUID
DHCP6 Client DUID: DUID-EN/Vendor:0000ab117136b3e83ccf80800000
다음은 시스템 시작 후 다양한 테스트 결과입니다.
# "Timeout occurred while waiting for network connectivity."
/lib/systemd/systemd-networkd-wait-online --any
/lib/systemd/systemd-networkd-wait-online --interface=lo
/lib/systemd/systemd-networkd-wait-online --ignore=lo
# Works
/lib/systemd/systemd-networkd-wait-online --interface=enp27s0
/lib/systemd/systemd-networkd-wait-online --interface=enp33s0
/lib/systemd/systemd-networkd-wait-online --interface=enp33s0 --interface=enp27s0
이것이 예상되는가? 이 문제를 해결하기 위해 제가 할 수 있는 다른 방법이 있나요?