[SOLVED] Proxmox main IP switching between vmbr's

dsimoes

New Member
Nov 18, 2021
8
0
1
41
Hello,

I'm running proxmox 7.1-8 and I have two NIC's connected. I've configured two bridges:

vmbr0 <> enp3s0 192.168.1.5/24, Gateway: 192.168.1.1
vmbr1 <> enp2s0 192.168.1.6/24

I only use 192.168.1.5, but I also assigned .6 in case I needed to access from there.

I have most of my VM's / LXC assigned to vmbr0 and I have a couple assigned to vmbr1. This is to offload some traffic to the 2nd NIC.

I was checking my firewall logs (OPNsense) and noticed this:

2022-02-28T10:33:24kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T09:59:16kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T09:25:08kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T08:51:04kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T08:50:59kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:de to 00:01:2e:91:f7:dd on igb0
2022-02-28T08:16:56kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T08:16:51kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:de to 00:01:2e:91:f7:dd on igb0
2022-02-28T07:42:43kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T07:08:40kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T07:08:35kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:de to 00:01:2e:91:f7:dd on igb0
2022-02-28T06:34:31kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T06:34:26kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:de to 00:01:2e:91:f7:dd on igb0
2022-02-28T06:00:23kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T06:00:18kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:de to 00:01:2e:91:f7:dd on igb0
2022-02-28T05:26:10kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T04:52:07kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T04:52:02kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:de to 00:01:2e:91:f7:dd on igb0
2022-02-28T04:17:53kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T03:43:45kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0
2022-02-28T03:09:37kernelarp: 192.168.1.5 moved from 00:01:2e:91:f7:dd to 00:01:2e:91:f7:de on igb0


Means opnsense is detecting proxmox main ip address is moving from the first NIC to the 2nd and vice-versa. Any idea what's going on?

Thanks for the help.
 
You should not give a single host two IPs in the same subnet. That will just cause problems because no network member will know where to send the packets. Either give your vmbr0 or your vmbr1 a IP in the 192.168.1.0/24 subnet but not both. If you want to offload some traffic create a bond with those 2 NICs, connect that bond to your vmbr0 and remove the vmbr1. For example a balance-rr bond attached to your vmbr0, then all guests attached to that vmbr0 will use both NICs.
 
Last edited:
You should not give a single host two IPs in the same subnet. That will just cause problems because no network member will know where to send the packets. Either give your vmbr0 or your vmbr1 a IP in the 192.168.1.0/24 subnet but not both. If you want to offload some traffic create a bond with those 2 NICs, connect that bond to your vmbr0 and remove the vmbr1. For example a balance-rr bond attached to your vmbr0, then all guests attached to that vmbr0 will use both NICs.
Ok, I've removed the 2nd IP Address on Proxmox host.
Thanks for your reply.
 

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!