-
Notifications
You must be signed in to change notification settings - Fork 437
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
Apple silicon M1 support for the GNS3 VM #3257
Comments
I am not too familiar with this but maybe you must install VMware Fusion for M1? |
I tried all the methods, it seems like I was able to get a hold of VMware Fusion tech preview for M1. But now it seems like the only way for gns3 VM to work, they have to update a copy of GNS3 VM just for M1. |
This is correct, the current GNS3 VM won't work because everything inside is meant to work on Intel processors. We would have to make a GNS3 VM specifically for the ARM64 architecture (which M1 is based on). The 2 main problems we have right now is we don't have any apple computer with M1 and we also have to find a way to automate the GNS3 VM build for it (all our VMs are built using circleCI / bare metal servers as a service) I am thinking about a few solutions:
|
for what it is worth @grossmj, i am of the opinion that your third dot point is commercially and technically the way to go. i for one, would be more than willing to help out in any way i can to support the ongoing gns3 development. |
Just to double check, does the GNS3 app run correctly on M1? (should automatically use Rosetta 2 I believe) Thanks 👍 |
sorry @grossmj, that i can't answer because i don't have an Apple M1-based computer yet. is there a mechanism for a private communicaton by any chance? |
Is working correctly for the GNS3 App, my school was kindly able to loan me a laptop for the semester to run a copy of GNS3 VM server. (MY VM is currently off) |
As a first step toward M1 apple silicon support, we now have Debian packages for ARM64 on our ppa (see #2419) |
Hi team, I was able to get GNS3 VM running on a MacBook Air with M1 by using an emulator called UTM. I posted it on the GNS3 community site. Hope this can help you somehow: https://gns3.com/my-workaround-to-get-gns3-vm-working-on-my-macbook-air-with-m1 |
GNS3 client runs fine on M1 (tested personally) using Rosetta 2. As for the server portion and it's related packages, won't there still be a problem with virtualization? My understanding is that KVM on ARM64 has all kinds of issues for virtualizing x86_64, which most modern virtualized appliances are built for. |
Hi @eantowne, there has not been any problem for me. I'm running the VM simulating a x86_64 so it works as if it's installed on an AMD64 CPU. I explained all that in the original post, which I pasted above. Check it out and test it. It's working fine for me. |
@kiraberserk My comment was not in relation to using UTM, but more to native installation of the server portion on Mac. Honestly, glad to see that there is a virtualization solution that does work for M1 architecture. |
@kiraberserk Thanks for the workaround 👍 Have you notice any slowness or have you tried to run many nodes? We will still try to provide a GNS3 VM for ARM64 has it will be a lot better performance wise I think ;) |
Have you been able to import the GNS3 VM OVA using VMware Fusion tech preview for M1? This is what I get when I try to import: I suspect this is because it is still a preview.... |
Well that seemed to be the best option until I found out that Apple forces provider (like MacStadium and Scaleway) to lease macOS servers for a minimum of 24 hours... 😞 I only need something like 15-20 max to build a GNS3 VM. So, I used Qemu for aarch64 on my AMD64 computer to create an Ubuntu image and I was successful running it in VMware Fusion tech preview for M1 (I leased that mac mini M1 for 24 hours...) The only problem I faced is I couldn't import any OVA I created into VMware Fusion (see #3257 (comment)). |
Hey, I tried all the method before with Tech Preview, it seems like VMware yet to update their OVA toolkit. So for now they need VM developer to build their VM on ARM64 Architect. |
Yes, It runs slower than what I expected and I haven't done a really big network either. I think KVM is gonna be the big deal for you guys to get GNS3 VM working native on M1. But hey! I have a Macbook M1 and I could help if you can guide me through. :) |
let us know if u need me or @kiraberserk help to build the VM up. My Machine might be slower compare to the new M1 Pro haha |
I managed to build a GNS3 VM for ARM that you can run on macOS M1. Please see #3261 how to use it as well as limitations and other workarounds. |
It would be interesting to compare the speed of the running the x86_64 VM in UTM vs running the ARM64 VM in VMware Fusion, especially with running Qemu based appliances like IOSv, IOSv-L2 etc. Please @kiraberserk @Haterss could you test that? Thanks :) |
I'd like to, but I don't know how to do it. Can you guide me through it? |
@NineTailed999 this is the post: #3261 |
Hi Team, how to integrate the VM fusion to GNS3 once installed on M1, can you please confirm ? @Haterss & @grossmj |
Hey @grossmj I got it running! will monitor from now on not too sure what did I do. I just pasted all the cmd that was given to me hahaha. Thanks so much and all the swift responds everyone Hey man, what I did was making the GNS server running as In background (like normal VM copy) then I would upload my IOS router copy and connect them via remote server. |
@grossmj yo, so far I notice when running GNS. when start up the Virtual Device, it would freeze upon booting up (probably I only assign 2 core and 4gb RAM. |
Hey @grossmj I got it running! will monitor from now on not too sure what did I do. I just pasted all the cmd that was given to me hahaha. Thanks so much and all the swift responds everyone Am unable to integrate VM to GNS3, getting the error (Could not probe: failed to launch helper process) while importing the file in fusion, how to integrate it ??? |
I don't think we support it at the moment. Just run the GNS3 VM manually with VMware Fusion preview for M1. |
I have released a new GNS3 VM that should work with VMware Fusion on M1: https://github.com/GNS3/gns3-gui/releases/download/v2.2.28/GNS3.VM.ARM64.2.2.28.zip instruction how to install can be found on #3261 |
GNS3 2.2.28 hasn't been published on the website yet. You can download it here https://github.com/GNS3/gns3-gui/releases/tag/v2.2.28 |
Hey, Thanks with that. Now when I try running IOS router I'm getting this error message- "Dynamips hypervisor process has stopped, return code: -11 Do you know how can I solve this one? Thanks from advance |
Hi, I have been able to get this working but won't all of this be pointless as the M1 doesn't support nested virtualisation? I get this error when trying to run anything on my M1 ARM GNS3 VM: "The selected server does not support KVM. A Linux server or the GNS3 VM running in VMware is required." |
@EDB4YLI55 I had to use UTM to get Nested virtualization to work. It's slow but works. Have a look: https://gns3.com/my-workaround-to-get-gns3-vm-working-on-my-macbook-air-with-m1 |
@EDB4YLI55 the M1 ARM GNS3 VM is experimental as explained in #3261 however you should be able to use it to run almost everything (VPCS, IOU, Docker etc.) excepting of course Qemu/KVM based VMs since nested virtualization isn't supported, at least until Apple or VMware does something... and that network vendors start to release their virtual appliances for ARM. That may take a long time before we get there so until that time I would recommend the UTM option if you are okay with slower performances or a remote Linux server running GNS3. |
ok :( |
It's not perfect, but yes. You can create a remote server on google compute engine. So you connect to the GNS3 VM via a remote server. It's not ideal, but it will get you the GNS3 client and GNS3 VM talking to each other. I've done the setup so can confirm it works. Just be sure to shut down your VM instance when you don't need it! |
Does this require a subscription to GCP?
Adil
…On Wed, Jan 26, 2022 at 2:00 PM Michael Conti ***@***.***> wrote:
I got an issue with supporting M1 architect for the GNS3 VM, it just won't
run in vm. does anyone have a work around for this issue?
It's not perfect, but yes. You can create a remote server on google
compute engine. So you connect to the GNS3 VM via a remote server. It's not
ideal, but it will get you the GNS3 client and GNS3 VM talking to each
other. I've done the setup so can confirm it works. Just be sure to shut
down your VM instance when you don't need it!
GNS3 v2 with Google Compute Engine | Binary Nature.pdf
<https://github.com/GNS3/gns3-gui/files/7944458/GNS3.v2.with.Google.Compute.Engine.Binary.Nature.pdf>
.
—
Reply to this email directly, view it on GitHub
<#3257 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG5TTAGR2TT6OTZSDJHZOLDUYBAGNANCNFSM5G6L2GEQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
May I know how did you install iosv2 image on this gns3 vm? |
How do you install iosvl2 image on this gns3 VM? |
I have a solution for Cisco IOSv and IOL. GNS3 on Apple Silicon |
Awesome, thank you @mweisel |
I got an issue with supporting M1 architect for the GNS3 VM, it just won't run in vm. does anyone have a work around for this issue?
The text was updated successfully, but these errors were encountered: