Netplan/Ubuntu example config

Users installing from ISO often have trouble with Netplan on Ubuntu, an example below is given as a reference:

 

network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      critical: true
      dhcp4: false
      dhcp6: false
      addresses:
      - 123.45.6.78/23
      - 2a0f:93c1:99:123::4567/64
      routes :
        - to: 0.0.0.0/0
          via: 123.45.6.1
        - to: "2a0f:93c1:99::1/128"
          scope: link
        - to: "::/0"
          via: "2a0f:93c1:99::0001"
          on-link: true
      nameservers:
          addresses:
              - 8.8.8.8
              - 8.8.4.4
              - 2001:4860:4860::8888
              - 2001:4860:4860::8844

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

set or update rDNS/PTR record

This process is fully automated, please login to the VPS control panel:   EU:...

I cannot log in to the SolusVM Control Panel

Please make sure you are entering your actual SolusVM username not your email address or 'root'...

Network Issues

If you wish to report network issues please provide the following information in your support...

Memory / Ram is wrong

If your Ram is a little bit out and you have a KVM VPS, please check your dmesg logs, you will...

Upgrade or Downgrade

If you want to upgrade or downgrade your hosting plan or virtual server product then this has...