I had the same problem. Hopefully this will help.
It sounds as though it may have been the router that assigned the IP address. This address is necessary for your comuter to connect to the internet and if it seems in anyway invalid then the computer will not be allowed to connect. So here is a way to fix that issue. If the old router assigned the IP then the new router does not recognize it as being valid.
network and internet
network and sharing - this is a title and there are smaller links under it - click on the title
view status = link after Local area connection
double click on Internet protocol version IPv6 (you will need to repeat these steps with IPv4 also)
make sure that optain IPv6 (IPv4) address automatically is chosen.
make sure that optain DNS server address is automatically is chosen
click ok and restart you computer with your cable connected
If your problem was you IP address this will resolve it.
if you still have issue feel free to email me I will do what I can to help