DHCP 接口永远不会转换为 systemd 中的配置状态

DHCP 接口永远不会转换为 systemd 中的配置状态

我有一台运行 CoreOS 的服务器,通过 DHCP 配置的主网络接口获得了运营商并可路由,但从未离开该configuring状态。这导致systemd-networkd-wait-online.service失败。查看日志文件systemd-networkd.service,我看到接口获得运营商的位置,但没有看到任何错误消息可以帮助我找出它卡在该configuring状态的原因。关于如何调试此问题,有什么建议吗?

以下是一些相关细节:

core@server ~ $ networkctl
IDX LINK             TYPE               OPERATIONAL SETUP     
  1 lo               loopback           carrier     configured
  2 enp0s25          ether              routable    configuring
  3 docker0          ether              no-carrier  configured

3 links listed.

core@server ~ $ networkctl status enp0s25
● 2: enp0s25
       Link File: /usr/lib64/systemd/network/99-default.link
    Network File: /usr/lib64/systemd/network/zz-default.network
            Type: ether
           State: routable (configuring)
            Path: pci-0000:00:19.0
          Driver: e1000e
          Vendor: Intel Corporation
           Model: Ethernet Connection (3) I218-V
      HW Address: b8:ae:ed:76:f9:cd (Elitegroup Computer Systems Co., Ltd.)
         Address: 10.20.1.10
                  fe80::baae:edff:fe76:f9cd
         Gateway: 10.20.1.1 (ADI Engineering, Inc.)
             DNS: 8.8.8.8
                  8.8.4.4
  Search Domains: localdomain

core@server ~ $ journalctl -r -u systemd-networkd
-- Logs begin at Sat 2016-08-06 23:23:32 UTC, end at Sat 2016-10-08 17:29:00 UTC. --
Oct 08 17:03:41 nm-nuc systemd-networkd[1209]: enp0s25: DHCPv4 address 10.20.1.10/24 via 10.20.1.1
Oct 08 17:03:41 nm-nuc systemd-networkd[1209]: enp0s25: Gained carrier
Oct 08 17:03:41 nm-nuc systemd-networkd[1209]: docker0: Could not set bridge vlan: Operation not permitted
Oct 08 17:03:41 nm-nuc systemd-networkd[1209]: docker0: Failed to assign VLANs to bridge port: Operation not permitted
Oct 08 17:03:41 nm-nuc systemd-networkd[1209]: docker0: Could not append VLANs: Operation not permitted
Oct 08 17:03:41 nm-nuc systemd-networkd[1209]: docker0: IPv6 enabled for interface: Success
Oct 08 17:03:38 nm-nuc systemd[1]: Started Network Service.
Oct 08 17:03:38 nm-nuc systemd-networkd[1209]: lo: Configured
Oct 08 17:03:38 nm-nuc systemd-networkd[1209]: enp0s25: IPv6 enabled for interface: Success
Oct 08 17:03:38 nm-nuc systemd-networkd[1209]: Enumeration completed
Oct 08 17:03:38 nm-nuc systemd[1]: Starting Network Service...
Oct 08 17:03:36 localhost systemd[1]: Stopped Network Service.
Oct 08 17:03:36 localhost systemd-networkd[350]: lo: Lost carrier
Oct 08 17:03:36 localhost systemd[1]: Stopping Network Service...
Oct 08 17:03:35 localhost systemd-networkd[350]: lo: Configured
Oct 08 17:03:35 localhost systemd-networkd[350]: eth0: IPv6 enabled for interface: Success
Oct 08 17:03:35 localhost systemd[1]: Started Network Service.
Oct 08 17:03:35 localhost systemd-networkd[350]: Enumeration completed
Oct 08 17:03:35 localhost systemd[1]: Starting Network Service...

相关内容