Projekt

Allgemein

Profil

Aktionen

Config IP adr

netplan

https://www.linuxtechi.com/static-ip-address-on-ubuntu-server/

sudo vim /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  renderer: networkd
  ethernets:
    ens33:
      addresses:
        - 192.168.1.247/24
      nameservers:
        addresses: [4.2.2.2, 8.8.8.8]
      routes:
        - to: default
          via: 192.168.1.1
  version: 2
sudo netplan apply

netplan / nmtui (22.04lts Workstation)

but when looking into config I did see that the connection is managed by Network-Manager.
So instead of using the .yaml-approach I stuck with nmtui

sudo nmtui

Von Jeremias Keihsler vor etwa 2 Monaten aktualisiert · 4 Revisionen