Container MAC address not showing in network (Linux Bridge)

Umbrella-Corp.

New Member
Aug 23, 2023
3
0
1
Hi everyone,

I do habe a question regardning linux bridges and mac addresses.
I have two identical server with several NICs, each NIC has only one VM/CT connected to it.
For the at the time two VMs (vmbr30 & 31) my switch reconizes the mac addresses of these VMs at the specific port and also shows the corresponding VM mac address and not the mac address of the hardware NIC (it only shows the hardware mac address if the VM is shut down), but for the CTs (vmbr03 & 04) the switch shows the mac address of the hardware NIC connected to the port and not the address of the CT. The CTs are getting an IP and also network access is possible, but connected to the switch itself is the mac address of the NIC not the CT as far as the switch software concerns. And if I restrict to the port by whitelisting the mac address of the CT it is complaining about a second device connected to the port.

VMs & CTs are set to DHCP.

I'm sorry if my description is confusing, but I hope it is somwhow understandable what my issue is.

I.'m running proxmox 8.2.7

Regards,
Jonas

GNU nano 7.2 /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
address 10.20.5.14/24
gateway 10.20.5.1
#Management - 1Gbit

iface enp134s0f2 inet manual

iface enp134s0f3 inet manual

auto enp24s0f0
iface enp24s0f0 inet static
address 10.34.1.14/25
#PCIe Slot 2: ZFS Replication - 10Gbit

iface enp24s0f1 inet manual
#PCIe Slot 2:

iface enp94s0f0 inet manual
#PCIe Slot 3: SV-FS01-PVE - 10Gbit

iface enp94s0f1 inet manual
#PCIe Slot 3: SV-DOCKER-PVE - 10Gbit

iface eno3np0 inet manual
#SV-DNS01-PVE - 1Gbit

iface eno4np1 inet manual
#SV-PROXY-PVE - 1Gbit

iface eno2 inet manual

iface eno5np2 inet manual


iface eno6np3 inet manual

iface enp134s0f0 inet manual

iface enp134s0f1 inet manual

auto vmbr30
iface vmbr30 inet manual
bridge-ports enp94s0f0
bridge-stp off
bridge-fd 0
#SV-FS01-PVE - 10Gbit

auto vmbr31
iface vmbr31 inet manual
bridge-ports enp94s0f1
bridge-stp off
bridge-fd 0
#SV-DOCKER-PVE - 10Gbit

auto vmbr03
iface vmbr03 inet manual
bridge-ports eno3np0
bridge-stp off
bridge-fd 0
#SV-DNS01-PVE - 1Gbit

auto vmbr04
iface vmbr04 inet manual
bridge-ports eno4np1
bridge-stp off
bridge-fd 0
#SV-PROXY-PVE - 1Gbit

source /etc/network/interfaces.d/*

switch.pngCT_1.png
 
Last edited:
If I understood your issue correctly - maybe your eno3np0 & eno4np1 NICs do not allow MAC-spoofing for some reason?
 
Last edited:
Hello,

that would be an option, any idea how to find out?, I could not find any BIOS-Option for this. It is an Intel OCP I357-T4 inside a Fujitsu Primergy RX2530 M4, This issue was not with my previous RX2530 M1.

Regards,
Jonas
 
Last edited:

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!