Manually (w/o Web gui) add bridge between host and VM

Grillmeister

New Member
Jan 23, 2023
4
0
1
Hi all,

I have the following issue and I am desperately looking for a solution.

VM1 is running Pfsense and all network traffic is managed by this VM - this included all NICs and virtual NICS.
VM2 is running a normal Debian install.
VM1 and VM2 can talk to each other and both have internet access.

The problem that I have is that none of VMs can access the host. I can however access the host by directly login to the host PC. But I dont know how to manually setup a bridge between the host and the VMs without using the browser GUI.

Any help is very much appreciated. Thanks a lot Grillmeister
 
Thanks so much for your reply. I will try to find the config files of the VMs and see if i can find out how to add the veth. Will report back on the outcome. Thanks
 
I will try to find the config files of the VMs and see if i can find out how to add the veth.

go to your proxmox ost web interface, create a new vmbrX
give that vmbrX an ip-address.
go to your VM1, add a virtual network ethernet (veth) which is connected to your vmbrX
go to your VM2, add a virtual network ethernet (veth) which is connected to your vmbrX

For example:
vmbrX 192.168.7.1/29
VM1 192.168.7.2/29
VM2 192.168.7.3/29

Code:
      +-----+
  +---+vmbrX+---+
  |   +-----+   |
  |             |
+-+-+         +-+-+
|VM1|         |VM2|
+---+         +---+

The Bridge is now acting like a dumb Switch.
Check on your Host Firewall settings, if your PVE Host accepts traffic on that virtual NIC.
My guess is, ping should be already working for all 3 of them.
from VM1 and VM2 you should also be able to SSH to your Host. Check if SSH binds to the Bridge IP.

Network Address: 192.168.7.0/29
Usable Host IP Range: 192.168.7.1 - 192.168.7.6
Broadcast Address: 192.168.7.7
Total Number of Hosts: 8
Number of Usable Hosts: 6
Subnet Mask: 255.255.255.248
 
Thanks Cave! I would like to use the proxmox host interface but I cannot access it from outside at the moment and on the host there is no window manager installed. That is my issue and why I need to play around with the config files. Will give it a try shortly - report back