# p1
> This is done in a **DEBIAN** machine
clone the repo for the images
`git clone https://github.com/neosizzle/badass.git && cd badass/p1`
----
run `install-tools.sh` to install docker, docker-compose and gns3
`bash install-tools.sh`
----
load the images so GNS3 is able to find it using systems docker
`docker load -i _jng-1_host && docker load -i _jng-2`
----
---
Click Go to prefrences > docker > add docker container template
Create 1 template for host and 1 template for router. The config is quite straightforward, pick and choose the image you loaded earlier.
The start command will be what you want to put as ENTRYPOINT in dockerfile. This command will also run if you want to access its terminal via GNS3
For host its `sh`, for router its `/usr/lib/frr/docker-start start`.
> `route_switch_processor.svg` is made the symbol of router to match the subject.
----
launch gns3server as daemon
`gns3server --daemon`
----
go to localhost:3808 (remeber to port forward if you are using NAT)

---
Import project > Choose file > Select p1.gns3project
Start them and have fun
---
{"description":"This is done in a DEBIAN machine","title":"BADASS setup","contributors":"[{\"id\":\"1798f4c1-ef7c-41af-85a6-1b80d476f83d\",\"add\":2012,\"del\":863}]"}