Virtual Network

  • Thread starter Thread starter alekseyz
  • Start date Start date
A

alekseyz

Guest
Hello, I am trying to accomplish the following.

I have 2 NIC in the Server.
I have 2 Virtual Machines running on the same Server.

I first NIC is configured as:

vmbr0
IP Address: 192.168.0.2
Submask: 255.255.255.0
Gateway: 192.168.0.1
Ports: eth0

On each of the Virtual Machines I have a Virtual NIC card attached to the vmbr0. Everything works there, I am able to interconnect within the 2 servers.

I need to build another virtual network and it does not need to communicate with the rest of the world, just between 2 servers. So I can use the second hardware NIC if I have to but I rather not.

I created another bridge vmbr1 with the following configuration:
IP Address: 192.168.1.1
Submask: 255.255.255.0
Ports: none

I created a second virtual NIC cards on the Virtual Machines with IPs of 192.168.1.11 and 192.168.1.12.
When I tried to ping from Virtual Machine 1(192.168.1.11) the 192.168.1.1, it pings.
When I tried to ping from Virtual Machine 2(192.168.1.12) the 192.168.1.1, it pings.

When I am pinging from Virtual Machine 1(192.168.1.11) the Virtual Machine 2 (192.168.1.12), the ping does not work.

When I am pinging from Virtual Machine 2(192.168.1.12) the Virtual Machine 1 (192.168.1.11), the ping does not work.

I am doing something wrong or it is simply impossible to setup?
 
Sorry, found the problem.

The Firewall on the OS prevented the ping.