Linux Bridge to static address question.

Dec 9, 2021
8
0
1
49
Need some help. New to Proxmox, and have watched numerous videos about how to setup a network for a VM. I have read the documentation as well and still don't grasp what I have to do to set this up. Everything is setup static, no DHCP in environment.
My host is on Linux bridge with 172.18.32.44/24 GW is 172.18.32.1, this is connected to NIC "A" I can get to it just fine and other machines see this host.
Completely separate NIC, which we will call NIC "B" will have VM. So for the moment, I want 1 NIC to got to 1 VM.
eno1 will be the network device, I will bridge eno1 and create vmbr2. Then I need vm to have IP address of 172.18.37.10.
I can not ask for additional IP addresses.
I need eno1 to pass 172.18.37.10 to the vm with the same IP address. Is this possible?
 
you don't need to define ip address on bridge, to get this subnet/ip woking inside the vm.
bridge are simply layer2, they don't care about ip address.

ip on vmbrX are only use to have management ip on proxmox.
 
I have tried that and is it still does not work.
I have a nic card connected to a trunked switch, because I have to use vlan 37 for my VM.
eno1 with no IP address, goes to vmbr1 with no ip address. I modified the file to allow 1-4094 in vlan tagging, typically it's 2-4094.
On my VM i used the vmbr1 to connect my machine to the network. I set the IP and used the gateway i set for the proxmox management.
So my vm network is this:
1639406783494.png
 
I have tried that and is it still does not work.
I have a nic card connected to a trunked switch, because I have to use vlan 37 for my VM.
eno1 with no IP address, goes to vmbr1 with no ip address. I modified the file to allow 1-4094 in vlan tagging, typically it's 2-4094.
On my VM i used the vmbr1 to connect my machine to the network. I set the IP and used the gateway i set for the proxmox management.
So my vm network is this:
View attachment 32339
your gateway (x.x.32.x)is not in the same network (x.x.37.x) than your ipaddress, so it's impossible to each it.
 

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!