less than 1 minute read

Przykładowa konfiguracja sieci ubuntu netplan

network:
  version: 2
  renderer: networkd
  ethernets:
    enp1s0:
      addresses:
        - 192.168.0.21/24
      nameservers:
        search: [local, local.reszt.xyz]
        addresses: [192.168.0.20, 1.1.1.1]
      routes:
        - to: default
          via: 192.168.0.1

Tags:

Categories:

Updated: