Disable the DHCP server feature in the modem router
By default, the modem router acts as a DHCP server. The modem router assigns IP, DNS server, and default gateway addresses to all computers connected to the LAN. The assigned default gateway address is the LAN address of the modem router.
You can use another device on your network as the DHCP server or specify the network settings of all your computers.
To disable the DHCP server feature in the modem router: