Open a PowerShell prompt as an Administrator and run:
wsl --installNote
Additional Windows features are required for wsl to work -open the Control panel -go to "turn windows features on or off" -select "Windows subsystem for linux", "Virtual machine platform" and "windows Hypervisor platform" -reboot
Go to the Microsoft Store, search for and install "Ubuntu 24.04 LTS" (or the latest LTS).
Open Ubuntu and run the following commands:
sudo apt-get update
sudo apt-get full-upgrade -y # This might take a whileRun the following command:
curl -sL https://containerlab.dev/setup | sudo -E bash -s "all"Note
WSL creates its own file hierarchy seperate from your windows files, to access the downloaded lab1 folder you should link the windows Downloads folder to a WSL dowloads folder using the command:
ln -s /mnt/c/Users/<windows_username>/Downloads ~/downloads
#Then
cd ~/downloads/lab1In your lab1 directory run the following command:
docker import cEOS-lab-4.32.0F.tar.xz ceos:4.32.0FRun the following command:
sudo containerlab deployRun the command:
docker exec -it clab-srlceos01-ceos bashOpen dnsmasq config file
sudo nano /etc/dnsmasq.confadd this line:
server=1.1.1.1restart dnsmasq
sudo systemctl restart dnmasqWhile running wireshark, run these commands on the nodes:
ping 8.8.8.8 #Google server
nslookup mit.edu
traceroute yahoo.com🔥 Thats It, You're Done!! 👏
To power off the nodes run:
sudo containerlab destroy