netplan_static_ip_template

netplan static IP template

network:
  ethernets:
    eno1:
      dhcp4: false
      addresses: [192.168.1.10/24]
      routes: 
      - to: default
        via: 192.168.1.1
        metric: 100
        on-link: true
      nameservers: 
        search: [my.domain,second.domain]
        addresses: [8.8.8.8,8.8.4.4]]
  version: 2
  • netplan_static_ip_template.txt
  • Last modified: 16.02.2023 18:49
  • by Pascal Suter