|Obviously, you have 2 networks.|
One is 192.168.0.x
second is 192.168.1.x
Either, there are 2 routers, that are both acting as DHCP server or, you've configure the ip addresses for one of the networks manually.
In the case of manual configuration, you have to set it to automatically obtain ip address and DNS server address.