Clearly something is not quite right. Perhaps the IP settings of the LAN port you have connected to the router. I'd suggest you set that port to DHCP and let the router give it a valid IP and gateway. Failing that, the device probably has IPTables or UWF or similar firewall.
As for uploading a tgz, see this: Can't install node-red-contrib-chart-image - #4 by Steve-Mcl