Netplan
Netzkonfiguration mit YAML-Files (ab Ubuntu 17.10)
Links
Netplan Dokumentation : https://netplan.io/
Netplan Design : https://wiki.ubuntu.com/Netplan/Design
Netplan : https://powersj.github.io/post/ubuntu-bionic-netplan/
netplan Manpages : http://manpages.ubuntu.com/manpages/cosmic/man5/netplan.5.html
Networking Config Version 2 : https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html#examples
/etc/netplan : Verzeichnis mit der Netplan-Netzkonfiguration
/etc/netplan/01-netcfg.yaml : Konfigurationsdatei für Netplan
/etc/netplan/50-cloud-init.yaml : Konfigurationsdatei für Netplan
netplan apply : Konfigurationsfiles anwenden
netplan --debug apply : Konfigurationsfiles nach Debugging anwenden
01-netcfg.yaml
nameservers:
Beispiel:
# This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: ens160:: addresses: [1.2.3.4/30, "2a02:708:xx:xx::2/64"] gateway4: 1.2.3.4 gateway6: 2a02:708:xx:xx::1 nameservers: addresses: [8.8.8.8, "2001:4860:4860::8888"] ens192: addresses: [192.168.0.10/24]
Backlinks:
2 Network