1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| [root@ningan netplan]
network: version: 2 renderer: NetworkManager ethernets: eth0: dhcp4: yes dhcp6: yes eth1: dhcp4: no dhcp6: no addresses: - 192.168.20.201/24 routes: - to: default via: 192.168.20.20 nameservers: addresses: - 114.114.114.114 - 8.8.8.8
[root@ningan netplan]
(generate:22000): GLib-WARNING **: 23:11:36.612: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: /etc/netplan/01-network-manager-all.yaml:15:9: Error in network definition: unicast route must include both a 'to' and 'via' IP - to: default ^ /etc/netplan/01-network-manager-all.yaml:15:15: Error in network definition: invalid IP family '-1' - to: default ^
|