Skip to content

Instantly share code, notes, and snippets.

@kupereal
Last active February 18, 2026 12:05
Show Gist options
  • Select an option

  • Save kupereal/3827fc09a9255b8a833c19c1df7024d8 to your computer and use it in GitHub Desktop.

Select an option

Save kupereal/3827fc09a9255b8a833c19c1df7024d8 to your computer and use it in GitHub Desktop.
Конфиг Netplan с виртуалки - статический IP
network:
ethernets:
eth0:
dhcp4: false
addresses:
- 192.168.0.8/24
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
routes:
- to: 192.168.0.0/24
via: 192.168.0.1
on-link: true
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment