Ubuntu 18.04: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 18: Zeile 18:
  
 
*apt-get install ifupdown
 
*apt-get install ifupdown
 +
*systemctl stop networkd-dispatcher
 +
*systemctl disable networkd-dispatcher
 +
*systemctl mask networkd-dispatcher
 +
*apt-get purge nplan netplan.io

Version vom 10. Juli 2018, 15:02 Uhr

Netzwerk konfigurieren

  • vi /etc/netplan/50-cloud-init.yaml
network:
 version: 2
 renderer: networkd
 ethernets:
   ens3:
     dhcp4: no
     dhcp6: no
     addresses: [10.81.3.44/16]
     gateway4: 10.81.0.1
     nameservers:
       addresses: [10.80.0.2,10.80.0.3]


  • apt-get install ifupdown
  • systemctl stop networkd-dispatcher
  • systemctl disable networkd-dispatcher
  • systemctl mask networkd-dispatcher
  • apt-get purge nplan netplan.io