knowledge_base:linux:ipconfig:netplan
Dies ist eine alte Version des Dokuments!
IP Configuration: Netplan
Netplan is the default to configure on Ubuntu.
- /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. # 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: eth0: dhcp4: no addresses: - 192.168.25.40/24 - 2001:6b0:1234:1470::40/64 gateway4: 192.168.25.1 gateway6: 2001:6b0:1234:1470::1 version: 2
sudo netplan apply
/storage/data/attic/knowledge_base/linux/ipconfig/netplan.1739972229.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
