Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker containers MAC addresses change after a restart #2412

Closed
yoennb opened this issue Aug 21, 2024 · 4 comments · Fixed by GNS3/ubridge#94, #2415 or GNS3/gns3-gui#3632
Closed

Docker containers MAC addresses change after a restart #2412

yoennb opened this issue Aug 21, 2024 · 4 comments · Fixed by GNS3/ubridge#94, #2415 or GNS3/gns3-gui#3632

Comments

@yoennb
Copy link

yoennb commented Aug 21, 2024

Hello,

I use the GNS3 VM version 2.2.49 on VMWare ESXi. I added a few docker containers in my project (based on different images, e.g webterm), and noticed that their MAC address changes after being stopped and restarted. This makes it inconvenient to create static DHCP mappings.

I did not observe this behavior when running containers on my docker engine, and I see that docker network is disabled on containers managed by GNS3, so I assume docker has no control over this.

Is this the expected behavior? I did not find any documentation on that topic.

Thanks for the help!

@grossmj
Copy link
Member

grossmj commented Sep 17, 2024

This is unsupported for Docker containers. We have to check how we could add it.

@grossmj
Copy link
Member

grossmj commented Sep 17, 2024

I remember we already tried to implement this and this is my answer at that time: #2034 (comment)

@grossmj
Copy link
Member

grossmj commented Sep 18, 2024

We have added support for configuring custom MAC addresses.

@grossmj grossmj closed this as completed Sep 18, 2024
@yoennb
Copy link
Author

yoennb commented Sep 18, 2024

Excellent, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants