Docker Community Forums

Share and learn in the Docker community.

I installed docker on my MacBook. Then mac address and IP address changed

(Oozsakarya) #1


I installed docker on my mac.
After that my MacBook’s mac address and IP address changed.
How can I restore my mac address?

The command below restored my mac address temporarily until I restart the MacBook or unplug the ethernet cable.
sudo ifconfig en3 ether a8:60:b6:1b:de:f9

How can I restore mac and IP addresses permanently?

I was using a static IP address in order to connect to some databases.
Static IP address was assigned according to my previous mac address.
When my IP address and mac address changed, I could not connect to the databases.

Thanks in advance