-
Notifications
You must be signed in to change notification settings - Fork 31
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
Same IP address received from DHCP when running multiple GNS3 VM's on same VirtualBox host #152
Comments
This is all within the realm of virtualbox 7.0.6 and 7.0.8 and per David Bombal, nested virtualization became available in 7.0. I do not know what 6.1.46 is, maybe it is for Linux? |
@ean, I recommend closing this out. Edit: you can't have 5 different GNS3VMs in VMware - it does not work and there is no reason to try to make it work. I recommend a "Won't Fix"...and anything under Virtualbox 7.0.10 is an absolute non-starter. |
As noted, this is an edge-case issue. I somehow missed your response in 2023, this issue has nothing to do with nested virtualization. There is a use case (until 3.0 is fully released and adopted for use by all parties, important to note that release and adoption are 2 wildly different things). Use case: Could the automated lab environment incorporate this fix, conceivably, but it would be better to have the fix be native in the VM at the time that the VM is being built. The implementation of this fix should be simply an addition to the build process for the VM, and should probably be applied to all GNS3 VM build templates, not just the VirtualBox VM. The reason for this is that this Ubuntu behavior, not specific to a certain hypervisor. Here is a reference: https://kb.vmware.com/s/article/82229 (this document has a couple of other methods for fixing this issue as well) To be fair I have not tested this since this issue was created in 2021. So I have no idea if it still an issue, but I suspect it may be. |
The duplicated hosted up my ability to defeat Jeremy's statement: mac-addresses are only of any relevance on the same subnet/private vlan. I do not understand why my gns3vm should be able talk to your gns3vm. Years ago, i had a gns3vms named gns3vm-2.21, gns3vm-2.22, and gns3vm all in vmware, although they were never on at the same time. Finally, I moved to only permitting one gns3vm, named GNS3 VM, in vmware. I threw out my windows 10 host yesterday. Strictly speaking, it is silly for the GNS3 VM to have the same mac-address every time. |
Once again, methods are provided in the VMware reference I provided as well as the method I provided in my original post.
|
As a side note, I am not even sure that anything in this repo is even being used anymore. @grossmj , is this repo still handling the method/process for build of the GNS3 VM's at version release? |
NOTE: This is an edge case.
Ubuntu (not sure what version this started with) does not use the MAC address to request DHCP lease, it uses Machine-ID. this causes the same IP address to be leased to Multiple VM's based on the same .ova. Resetting the MAC address for a NIC has no effect.
Tested Hypervisor: Virtualbox 6.1.22
Host OS: Pop-OS 20.10 (Ubuntu)
NOTE: NOT tested on any other hypervisor, but conceivably should have same behavior.
Recommendation:
Implement the below in order to cause the VM to generate a new Machine-ID on boot. It is important to note that if the master VM is booted, then this process will have to be executed again.
The text was updated successfully, but these errors were encountered: