[SOLVED]Behind two routers, can't configure second one

My PC's run behind two routers. My set up is as follows.

 

[Cable modem/router combo:192.168.0.1]------------[DD-wrt router:192.168.0.2]---[PC's]

The ddwrt router is used for wifi, as well as ethernet.

I have the ddwrt router set to passthrough DHCP from the modem, and its gateway set to 192.168.0.1.

Now, when connected to the network via the dd-wrt router, I CAN connect to the modem via "192.168.0.1" But I can NOT connect to the secondairy router, the dd-wrt one, via "192.168.0.2". Chrome says it can not connect.

My static IP is set as follows.

192.168.0.9

255.255.255.0

192.168.0.1

8.8.8.8

8.8.4.4

I have also tried setting my Gateway to 192.168.0.2, with no luck. as well as automatic configuration.

The dd-wrt router allows me to connect to it until I change it's IP address to 192.168.0.2. Then it does not allow the connection.

Can anyone help me out? I'm usually pretty network savvy. 

disconnect the dd wrt from cable modem router then restart the dd wrt router?

Aha! I got it working. I just needed to disable wan connection type, and set the router to "router" mode instead of gateway.

I don't know how I overlooked that to begin with.