Projekt

Allgemein

Profil

Aktionen

Config ipaddr » Historie » Revision 3

« Zurück | Revision 3/4 (Vergleich) | Weiter »
Jeremias Keihsler, 19.03.2024 12:41


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

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 8 Monaten aktualisiert · 3 Revisionen