My VB pref HOST-ONLY network settings are:
Code: Select all
IPv4 addr: 192.168.200.1
IPv4 NM: 255.255.255.0
DHCP is DISABLED
I want to be able to communicate from the host to either guest and between each guest.
I also want each guest to have access to the internet (but NOT internet to guest).
All examples I have seen say I need 2 adapters: a NAT adapter and a HOST-ONLY adapter.
The NAT adapter settings are defaults except for port forwarding for SSH from host to guest.
The HOST-ONLY adapter is also defaults.
The "interfaces" file on both guests is identical except for the static IP address of each:
Code: Select all
# ---------- start of file
auto lo
iface lo inet loopback
auto enp0s3
iface enp0s3 inet static
address 192.168.200.xx
netmask 255.255.255.0
# ---------- end of file
Code: Select all
enp0s3 Link encap:Ethernet HWaddr 08:00:27:8d:8d:54
inet addr:192.168.200.xx Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe8d:8d54/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
...
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
...
I cannot SSH to either guest from the host.
I cannot ping the other guest from either guest ... "Destination Host Unreachable"
I also cannot access the internet from either guest.
Can anyone see if a setting is causing the issues?
Any suggestions would be appreciated.
Thanks