Zend certified PHP/Magento developer

Routing between 2 Networks [Gateway is on a different Network]

due to a hardware failure I have to put a temp. solution in place to give internet to a small office.

We have the office network like this: 192.168.1.0/24 with a Windows DC at 192.168.1.5.
The only working internet router now is the one used for our phone connections (the main internet router went bye bye on us).

The network where we still have internet is 192.168.0.0/24 with the router at 192.168.0.1.

I have done the following so far:

  • disabled DHCP on the “phone” router
  • connected the phone router to our main network switch
  • connected the dc on it’s second NIC to the main network switch with an IP of 192.168.0.10 and gateway of 192.168.0.1 (IP of the “phone” router)
  • added a route on the “phone” router to network 192.168.1.0/24 with gateway 192.168.0.10

The Domain Controller now has internet which is good. But how do I get all other PC’s to use the available internet connection?

Do I have to setup routes on every single PC or can I (I would prefer it this way of cource) do something on the DC that routes all traffic to the temporary gateway?

I thought of setting the DC (192.168.1.5) as the the gateway on all PC’s (through it’s DHCP) and since the DC knows that the way to the internet is 192.168.0.1 but that somehow that doesn’t work.

regards