Skip to content

Instantly share code, notes, and snippets.

@mingyuchoo
Created March 2, 2021 00:35
Show Gist options
  • Save mingyuchoo/8b0758f22bc08e126e4f61c63fa7de3f to your computer and use it in GitHub Desktop.
Save mingyuchoo/8b0758f22bc08e126e4f61c63fa7de3f to your computer and use it in GitHub Desktop.
Setting up Ubuntu Server 18.04 on Virtualbox 6 with Host-only Network
# /etc/netplan/01-host-only.yaml
network:
version: 2
renderer: networkd
ethernets:
enp0s8: # this is your interface name for your NAT network
dhcp6: no
dhcp4: no
addresses: [192.168.56.101/24]
gateway4: 192.168.1.1
nameservers:
addresses: [192.168.1.1, 8.8.8.8]
@mingyuchoo
Copy link
Author

How to use this file

Please check this link - https://hadisinaee.github.io/posts/setting-up-vbox6/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment