I figured out the problem: the ip of the router coincides with the ip of the modem)). Thanks for the quick response!