Professional Documents
Culture Documents
1 vi /etc/netplan/50-cloud-init.yaml
1 network:
2 version: 2
3 ethernets:
4 eth0:
5 addresses:
6 - YOUR_FO_IP_HERE/32
7 nameservers:
8 addresses:
9 - 1.1.1.1
10 search: []
11 optional: true
12 routes:
13 - to: 0.0.0.0/0
14 via: YOUR_GW_IP_HERE
15 on-link: true
example
1 netplan try
1 netplan apply
StormMadness says:
August 3, 2021 at 10:26 pm
Can confirm: this works like a charm on a fresh Ubuntu Server 20.04 install. I’m using Proxmox
7.0-10 on an OVH dedicated server.
Reply
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Post Comment