Something changing MAC address


Recommended Posts

I recently added a pfSense box to my network and assigned some static IP addresses. I see in my pfSense logs a ton of entries like this:

arp: xx:xx:xx:xx:xx:xx attempts to modify permanent entry for 192.168.y.yyy on igb1

It looks like something is changing my Unraid MAC address to the address represented by xxx's above. I thought maybe it was my pihole docker, but I deleted that since I no longer need it. Upon each reboot I get a different random and unique MAC address for Unraid. 

 

Any ideas what could be causing this?

Link to comment
11 hours ago, johnsanc said:

Upon each reboot I get a different random and unique MAC address for Unraid

Very unlikely. The MAC address of your Unraid systeem is tight to the NIC and doesn't change.

 

Seems more a configuration issue on pfsense, it receives a different MAC address associated with the IP address as configured.

 

Link to comment

Hmmm... I'm going to have to dig deeper into my dockers. When the Docker service is disabled, I can clear the ARP table and I get the correct MAC address. If I I start the docker service, clear the ARP table again, then I get the weird random MAC address.

 

EDIT: Ok the MAC address I am seeing in pfSense when I turn on the Docker service is the one from "shim-br0". I assume this is because I have "Host access to custom networks" enabled in my Docker settings. I believe I only needed this for Pi-Hole, but now I replaced that with pfBlockerNG. Once I disabled the custom networks I saw my correct MAC address in pfsense.

Edited by johnsanc
Link to comment
3 hours ago, johnsanc said:

I believe I only needed this for Pi-Hole

Host access is not needed for Pi-hole. It is recommended to set regular DNS servers for Unraid itself, because Pi-hole will interfere with the operation of Unraid.

 

When host access is enabled and shim networks are used, your pfSense box will see the same IP address twice and gets confused.

Link to comment
  • 1 year later...
  • 1 year later...
On 6/17/2020 at 1:24 AM, bonienl said:

Very unlikely. The MAC address of your Unraid systeem is tight to the NIC and doesn't change.

 

Seems more a configuration issue on pfsense, it receives a different MAC address associated with the IP address as configured.

 

Since about Sept 2022 every time I reboot my Unraid server my Plex docker get's a new MAC Address and is not allowed on my network until I log in and manually allow it. Seems plausible this is Unraid and not pfsense.

Link to comment
  • 4 months later...

I also am getting random MAC addresses leaking to the broader network. I have 2 NIC's, 1 for management and the other for Docker (MAC VLAN errors...). This only seems to popup when I make a change within docker. I'll try disabling Host access to custom networks because I don't really need that enabled anyways because the router is taking care of segmentation via VLAN.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.