Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prerequisites

  • Ubuntu 16 running in VirtualBox

VirtualBox Preferences

In VirtualBox Preferences define Host-only adaptor (should already exist and default to the following)

  • Ip: 192.168.56.1
  • Netmask: 255.255.255.0
  • DHCP: Enabled

Create K8Master Node

Create VM

Create a VM with the following:

...

Start VM and install Ubuntu Server 16


Networking Setup

Log into the VM and issue the following commands.

...

> ssh -p PORT test@localhost


Appendix - Virtual Box


Network Configurations

+-----------+-------------+-------------+----------------+----------------+
| | VM <-> Host | VM1 <-> VM2 | VM -> Internet | VM <- Internet |
+-----------+-------------+-------------+----------------+----------------+
| HostOnly | Yes | Yes | No | No |
| Internal | No | Yes | No | No |
| Bridged | Yes | Yes | Yes | Yes |
| NAT | No | No | Yes | Port forward |
| NATNet | No | Yes | Yes | Port forward |
+-----------+-------------+-------------+----------------+----------------+

Reference

...