The docker setup for Advanced network programming made with help from Job Paardekooper
git clone https://github.com/atlarge-research/ANP-docker.git
Unzip your anp-2024-netskeleton into anp-netskeleton THE NAME MATTERS
unzip anp-2024-skeleton-main.zip -d anp_netskeleton
chmod +x ./container.sh && ./container.sh
chmod +x ./start.sh && ./start.sh
Password:
dev
ssh -p 2222 dev@localhost
- In vscode, go to the extentions tab, and look for
Docker
fromMicrosoft
and install it. - Then go to the bottom-left corner of vscode, and click the >/< symbols, and Attach to running container. You should see your container here, if not, you may be (accidentally) doing something odd with docker contexts.
Due to the docker setup, some scripts need fixing. When in the container, navigate to /home/ubuntu/anp_netskeleton/bin/
cd /home/ubuntu/anp_netskeleton/bin/
sudo ./bin/sh-make-tun-dev.sh
sudo ./bin/sh-disable-ipv6.sh
Setup NATing between the TUN/TAP device and virtual machine - use the NIC which connects to the host via NAT
sudo ./bin/sh-setup-fwd.sh eth0
Now you can follow the regular build instructions from the handbook PDF.