Static MAC Address for App/Pod

TempleHasFallen

Dabbler
Joined
Jan 27, 2022
Messages
34
It seems for now, every time an app is restarted/started, the interface receives a new MAC address (using external interface).

While this does not present an issue when using a Static IP address, it definitely is an issue if a static MAC is required (ex. trying to assign reserved address via DHCP or firewall functions based on MAC).

Is there any feature which will allow setting a static MAC address for an app? For regular docker containers it is a simple as
Code:
--mac-address=12:34:56:78:89:0A


Any ideas?
 

flymin

Dabbler
Joined
Oct 8, 2022
Messages
10
Expecting the same feature. My router relies on a static MAC for NAT.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
While I have no experience with Scale, I know a bit about Docker and K8S. So my thoughts may be not applicable here.

In K8S the use of fixed IP addresses does not really work due to the highly dynamic nature of deployments. So instead one needs to properly set up the DNS in K8S and work only with hostnames. I would assume the same applies here. Again, I may be completely wrong here.
 

ASiC

Dabbler
Joined
Jun 21, 2022
Messages
12
+1 from me as well.

Unifi:
Without static MACs, there's no alternative way to assign route rules on endpoints
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
+1 for me as well, also useful for Vlans, but don't think Kubernetes supports this.
 
Last edited:

HarryMuscle

Contributor
Joined
Nov 15, 2021
Messages
161
Anyone ever figure out how to specify a MAC address for a container using an external interface? Or is this still a feature everyone is waiting for?

Thanks,
Harry
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
Not on Bluefin at least. Need to use static IP for now.
 

Simon Lock

Dabbler
Joined
Aug 12, 2015
Messages
11
+1

And one of the main reasons I like jails.
I wish they'd introduce XLC containers in scale as a substitute for jails in core, then we could have mac addresses per app to allow dns reservation and vlan assignments.
 
Top