Duplicate MAC address across two NICs?

rakali

Active Member
Jan 2, 2020
42
4
28
41
Hello,

I have two onboard NICs connected to my network. No VLANs for now. I have both connected to a pfsense VM with bridges. ISP router is on 192.168.2.1 with DHCP disabled.

It appears that one NIC does not have its own MAC address and copies the other?

This causes my console to be flooded these errors:

Code:
vmbr0: received packet on enp2s0 with own address as source address (addr:XX:XX , vlan:0)

Any advice? Thanks!

Code:
~# ip -o link | awk '$2 != "lo:" {print $2, $(NF-2)}'
enp2s0: XX:XX
eno1: ff:ff:ff:ff:ff:ff\
vmbr0: XX:XX
vmbr1: XX:XX

Code:
find /sys/class/net -mindepth 1 -maxdepth 1 ! -name lo -printf "%P: " -execdir cat {}/address \;
vmbr1: XX:XX
eno1: XX:XX
enp2s0: XX:XX
vmbr0: XX:XX

But I still don't know what to do about it...

XX:XX is the repeating MAC address

These are my two NICs on motherboard:

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (7) I219-V [8086:15bc] (rev 10) 02:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network

Code:
~# cat /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

iface enp2s0 inet manual

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet manual
    bridge-ports enp2s0
    bridge-stp off
    bridge-fd 0

auto vmbr1
iface vmbr1 inet static
    address 10.0.0.2/24
    gateway 10.0.0.1
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0

Here is my pfsense config:

Code:
WAN (wan)       -> vtnet0     -> v4: 192.168.2.2/24
 LAN (lan)       -> vtnet1     -> v4: 10.0.0.1/24

Code:
vtnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: WAN
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether YY:YY
    inet6 BB:BB%vtnet0 prefixlen 64 scopeid 0x1
    inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vtnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether ZZ:ZZ
    inet6 AA:AA%vtnet1 prefixlen 64 scopeid 0x2
    inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0<> metric 0 mtu 1536
    groups: enc
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
    inet 127.0.0.1 netmask 0xff000000
    inet 10.10.10.1 netmask 0xffffffff
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=100<PROMISC> metric 0 mtu 33160
    groups: pflog
pfsync0: flags=0<> metric 0 mtu 1500
    groups: pfsync
 

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!