I looked at several solutions for this question, but none of them worked.

My aim is to use the RPi as a router with an existing wireless router connected as an access point. The following figure explains this:

[![enter image description here][1]][1]

'eth0' is the Rpi's Ethernet port. 'eth1' is an 'USB to Ethernet' adapter.

I am following [this tutorial][2] as a guide. I have already configured the router as an AP.

My Problem: When I configure the network (i.e. edit the /etc/network/interfaces file) and restart the networking services (`sudo /etc/init.d/networking restart`), I get the following error:

    Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. 
    See 'systemctl status networking.service' and 'journalctl -xn' for details. 

I also get a similar error when I try to start the DHCP server after configuration.

    Starting isc-dhcp-server (via systemctl): isc-dhcp-server.serviceJob for isc-dhcp-server.service failed because the control process exited with error code. 
    See 'systemctl status isc-dhcp-server.service' and 'journalctl -xn' for details.


In addition, when I install isc-dhcp-server using `sudo apt-get install isc-dhcp-server`, it gives an error saying `failed to start` although it installs properly.

Can someone show me what I'm doing wrong?

  [1]: https://i.sstatic.net/BhXAT.png
  [2]: http://qcktech.blogspot.com/2012/08/raspberry-pi-as-router.html