This is the LAN address that you've posted: 18.104.22.168
Is this within the range that your router is issuing? Is your Router set for DHCP or do you need to assign the address manually?
Also you'll need to check the router to make sure that it has a proper internet connection. Even if you're getting a proper LAN address from your router, that still doesn't tell whether the router has a proper address itself, in which case it needs to either be restart, or reconfigured. Please be aware that if you restart your router, that you'll probably need to re-initialize your PC's connection to the router.