-
Notifications
You must be signed in to change notification settings - Fork 2
Running BGP or IPv6 security lab on Apple M1
Ondřej Caletka edited this page Apr 17, 2023
·
1 revision
The newest hardware made by Apple (M1/M2) dropped CPUs by Intel and developed their own ARM-based Systems-on-Chip. Because of that, VirtualBox does not work there well (at the time of writing there is a developer preview of VirtualBox for M1, but it is still far from usable). There are however some working virtualisation solutions (to run native aarch64
operating systems) as well as emulation solutions (to emulate amd64
architecture). One of them that is freely available is UTM. It uses QEMU behind the scenes and provide nice frontend which is very well integrated with macOS.
The lab can be installed automatically from scratch, but we provide pre-build images for M1 computers, read further.
- Download and install UTM
- Download lab VM image for BGP Security Labs (2 GB) or lab VM image for IPv6 Security Labs (2 GB)
- Unzip the downloaded file.
- Start the UTM app.
- Double click on unzipped UTM package. The VM gets imported into UTM app.
- Press the
▶️ button to start the VM. - Wait about a minute to give the VM time to start up. Nothing will be visible on the screen.
- Open a web browser and point it to
http://localhost:8080/
. You should see the lab environment. - When you want to stop the lab, open "Admin console" in the lab environment and type in
sudo poweroff
. The virtual machine will stop in a minute. - In case you want to start fresh, the only option is to delete the unzipped UTM package and unzip it again.