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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!