Config ipaddr » Historie » Revision 3
Revision 2 (Jeremias Keihsler, 19.03.2024 09:39) → Revision 3/4 (Jeremias Keihsler, 19.03.2024 12:41)
h1. Config IP adr h2. netplan / nmtui https://www.linuxtechi.com/static-ip-address-on-ubuntu-server/ <pre><code class="shell"> sudo vim /etc/netplan/00-installer-config.yaml </code></pre> <pre> # 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 </pre> h2. 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@ <pre><code class="shell"> sudo nmtui </code></pre>