Created
March 2, 2021 00:35
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use this file
Please check this link - https://hadisinaee.github.io/posts/setting-up-vbox6/