系统版本:Ubuntu 18.04.5 LTS
网卡:Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
代码: 全选
$ cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enp3s0:
dhcp4: false
addresses: [192.168.0.8/24]
gateway4: 192.168.0.1
nameservers:
addresses: [114.114.114.114,192.168.0.1]
optional: false
version: 2
代码: 全选
Jan 08 23:09:26 ubuntu systemd-networkd[934]: veth943647f: Gained carrier
Jan 08 23:09:26 ubuntu systemd-networkd[934]: veth9def294: Gained IPv6LL
Jan 08 23:09:26 ubuntu systemd-networkd[934]: veth2bdede5: Gained IPv6LL
Jan 08 23:09:26 ubuntu systemd-networkd[934]: veth4385ec7: Link UP
Jan 08 23:09:26 ubuntu systemd-networkd[934]: veth521cd67: Gained IPv6LL
Jan 08 23:09:27 ubuntu systemd-networkd[934]: vethdd84adf: Gained IPv6LL
Jan 08 23:09:27 ubuntu systemd-networkd[934]: veth29645eb: Gained carrier
Jan 08 23:09:27 ubuntu systemd-networkd[934]: veth943647f: Gained IPv6LL
Jan 08 23:09:28 ubuntu systemd-networkd[934]: vethc00e410: Gained carrier
Jan 08 23:09:28 ubuntu systemd-networkd[934]: veth802e3e8: Gained carrier
Jan 08 23:09:28 ubuntu systemd-networkd[934]: veth3a025d8: Gained carrier
Jan 08 23:09:28 ubuntu systemd-networkd[934]: veth2ab26d7: Gained carrier
Jan 08 23:09:28 ubuntu systemd-networkd[934]: vethd53ad09: Gained carrier
Jan 08 23:09:28 ubuntu systemd-networkd[934]: veth8ebf5ae: Gained carrier
Jan 08 23:09:28 ubuntu systemd-networkd[934]: veth4385ec7: Gained carrier
Jan 08 23:09:29 ubuntu systemd-networkd[934]: vethc00e410: Gained IPv6LL
Jan 08 23:09:29 ubuntu systemd-networkd[934]: veth29645eb: Gained IPv6LL
Jan 08 23:09:29 ubuntu systemd-networkd[934]: veth3a025d8: Gained IPv6LL
Jan 08 23:09:29 ubuntu systemd-networkd[934]: veth802e3e8: Gained IPv6LL
Jan 08 23:09:29 ubuntu systemd-networkd[934]: vethd53ad09: Gained IPv6LL
Jan 08 23:09:30 ubuntu systemd-networkd[934]: veth8ebf5ae: Gained IPv6LL
Jan 08 23:09:30 ubuntu systemd-networkd[934]: veth2ab26d7: Gained IPv6LL
Jan 08 23:09:30 ubuntu systemd-networkd[934]: veth4385ec7: Gained IPv6LL
Jan 08 23:46:05 ubuntu systemd-networkd[934]: virbr0-nic: Link UP
Jan 08 23:46:05 ubuntu systemd-networkd[934]: virbr0-nic: Gained carrier
Jan 08 23:46:05 ubuntu systemd-networkd[934]: virbr0: Link UP
Jan 08 23:46:05 ubuntu systemd-networkd[934]: virbr0-nic: Link DOWN
Jan 08 23:46:05 ubuntu systemd-networkd[934]: virbr0-nic: Lost carrier
Jan 08 23:46:18 ubuntu systemd-networkd[934]: vnet0: Link UP
Jan 08 23:46:18 ubuntu systemd-networkd[934]: vnet0: Gained carrier
Jan 08 23:46:19 ubuntu systemd-networkd[934]: vnet0: Gained IPv6LL
Jan 08 23:46:22 ubuntu systemd-networkd[934]: virbr0: Gained carrier
-- Reboot --
Jan 10 04:35:32 ubuntu systemd[1]: Starting Network Service...
Jan 10 04:35:33 ubuntu systemd-networkd[987]: Enumeration completed
Jan 10 04:35:33 ubuntu systemd-networkd[987]: wlp2s0: Interface name change detected, wlp2s0 has been renamed to wlan0.
Jan 10 04:35:33 ubuntu systemd[1]: Started Network Service.
Jan 10 04:35:33 ubuntu systemd-networkd[987]: wlan0: Interface name change detected, wlan0 has been renamed to wlp2s0.
Jan 10 04:35:33 ubuntu systemd-networkd[987]: enp3s0: IPv6 successfully enabled
Jan 10 04:35:33 ubuntu systemd-networkd[987]: wlp2s0: Link is not managed by us
Jan 10 04:35:33 ubuntu systemd-networkd[987]: lo: Link is not managed by us
Jan 10 04:35:33 ubuntu systemd-networkd[987]: enp3s0: Link UP
Jan 10 04:35:36 ubuntu systemd-networkd[987]: enp3s0: Gained carrier
Jan 10 04:35:37 ubuntu systemd-networkd[987]: enp3s0: Gained IPv6LL
Jan 10 04:35:37 ubuntu systemd-networkd[987]: enp3s0: Configured
Jan 10 04:35:43 ubuntu systemd-networkd[987]: br-0a36c48d97f1: Link UP
Jan 10 04:35:43 ubuntu systemd-networkd[987]: docker0: Link UP
Jan 10 04:35:43 ubuntu systemd-networkd[987]: br-81ed36bdd834: Link UP
Jan 10 04:35:55 ubuntu systemd-networkd[987]: veth07906b5: Link UP
Jan 10 04:35:55 ubuntu systemd-networkd[987]: vethf0a4dc3: Link UP
Jan 10 04:35:55 ubuntu systemd-networkd[987]: veth30c01c2: Link UP