I'd be more than happy to assist you. What brand and model router are you using? Also what's your end goal? Are you trying to set your router to work off the 192.168.5.0 subnet? Keep in mind there is the IP address provided from your ISP which typically connects to the ISP's cable modem/router). You then typically plug your ISP's router into the INTERNET port on your router.
Their (ISP) router will typically assign an internal IP address to your router. This would be considered the WAN IP.
Then there's the LAN IP
Then there's the DHCP Scope.
It sounds to me like you might be setting your WAN IP to 192.168.1.1 versus the LAN IP.
To make this easier, I think it's best you tell me your end goal and we'll work from there.
We can do this one of two ways, we can continue to chat this way or I can setup a remote session and phone call where I can take control and do it. There is an additional $20 fee for the latter. But it's totally optional.
The first thing I need to know is when you can access the Internet, what is YOUR IP address?
I apologize for the delay in getting back to you. 18.104.22.168 is the IP address that your COMPUTER is receiving? Or your router? This is important because that IP shouldn't be assigned directly to your computer, but instead your router. Can you tell me the brand and model of your router and how you have your ethernet cables connected?