How can two Linux guest servers establish network connectivity on a Windows host?
Posted: 9. Mar 2017, 00:38
I am running two Linux CentOS guest VMs with Oracle VirtualBox. The host is a Windows 7 laptop. When I use on either of the VMs, they show the same IP address. How do I configure their IP addresses to be static and different from each other?
I tried configuring a static IP address. I configured the ifcfg-enp0s3 interface of the CentOS to have a static IP address. I rebooted the VM. When I am on the other guest server, I cannot ping this IP address. It says "destination host unreachable." I can reach the Internet however.
I get the same result when I try to ping one CentOS server from the CentOS server with the static IP address.
I just want to establish TCP/IP connectivity between the two hosts. What do I do?
Code: Select all
ip addr showI tried configuring a static IP address. I configured the ifcfg-enp0s3 interface of the CentOS to have a static IP address. I rebooted the VM. When I am on the other guest server, I cannot ping this IP address. It says "destination host unreachable." I can reach the Internet however.
I get the same result when I try to ping one CentOS server from the CentOS server with the static IP address.
I just want to establish TCP/IP connectivity between the two hosts. What do I do?