The docker setup for Advanced network programming made with help from Job Paardekooper
git clone https://github.com/atlarge-research/ANP-docker.gitUnzip your anp-2024-netskeleton into anp-netskeleton THE NAME MATTERS
unzip anp-2024-skeleton-main.zip -d anp_netskeletonchmod +x ./container.sh && ./container.shchmod +x ./start.sh && ./start.shPassword:
dev
ssh -p 2222 dev@localhost- In vscode, go to the extentions tab, and look for
DockerfromMicrosoftand 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.shsudo ./bin/sh-disable-ipv6.shSetup 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 eth0Now you can follow the regular build instructions from the handbook PDF.