Page 1 of 1

connecting between two Linux guests with different subnet

Posted: 26. Aug 2014, 22:24
by hacksaw
Hi

I am trying to establish network connectivity between two Oracle Linux Server 6.5 guests with different subnet for the public interface (eth1).

1st guest:
eth0 - NAT - DHCP (for internet)
eth1 - Host Only adapter- 192.168.46.112 ( public interface for Oracle RAC 11g)
eth2- internal network - 192.168.2.112 (private interface for Oracle RAC 11g)

2nd guest:
eth0- NAT - DHCP (for internet)
eth1- Host only adapter - 192.168.36.112 (PUBLIC interface for Oracle RAC 12c)
eth2 - internal network - 192.168.3.112 (private interface for Oracle RAC 12c)

When both VMs are powered on, they cannot ping each other, even though I turned off the firewall. What can I do to allow the two VMs to be able to ping (and communicate) with each other, even though they are in different subnets?

Re: connecting between two Linux guests with different subne

Posted: 26. Aug 2014, 23:00
by Perryg
Networking 101. Unless you are using something to do routing, machines on different subnets will not see or talk to each other.

Re: connecting between two Linux guests with different subne

Posted: 27. Aug 2014, 02:16
by hacksaw
Hi

Thanks for your response.

is there anything that can be easily used in virtual box to providing routing between two VMs with different subnets?

Re: connecting between two Linux guests with different subne

Posted: 27. Aug 2014, 02:24
by Perryg
Not in VirtualBox but I like pFsence. Linux based, but easy to setup and has a small footprint.