Run the gateway script first with: ./gateway_script.sh This will set up the path for the DHCP and DNS to run through Next load up the DHCP with: ./dhcp_script.sh Once these have compiled, load up the DNS with: ./dns_script.sh