I should note, I'm kinda new to this so I am not sure what to do. Ifconfig returns the following:eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500    inet 192.168.1.39  netmask 255.255.255.0  broadcast 192.168.1.255    inet6 fe80::a00:27ff:fefa:258e  prefixlen 64  scopeid 0x20<link>    ether 08:00:27:fa:25:8e  txqueuelen 1000  (Ethernet)    RX packets 0  bytes 0 (0.0 B)    RX errors 0  dropped 0  overruns 0  frame 0    TX packets 20  bytes 1368 (1.3 KiB)    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0My etc/network/interfaces looks like this:# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).source /etc/network/interfaces.d/*auto eth0iface eth0 inet staticaddress 192.168.1.39netmask 255.255.255.0gateway 192.168.1.1Route -n returns the following:Kernel IP routing tableDestination     Gateway         Genmask         Flags Metric Ref    Use Iface0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0I am using the following dns:domain **search **nameserver 172.139.62.5nameserver 8.8.8.8(Stars hiding my local DNS which I rather not have public)Using a non-static IP does work. I am running Linux in a VM.I have tried everything that is easy enough to Google and I'm running out of solutions. What could it be?
Internet not working when using Static IP. No current solutions working
networking;configuration
It appears that the gateway address you are using, 192.168.1.1 does not match the address of your router. If you are using static IP addressing the details much match your network or it cannot work.Start with the IP address of your router. It might be 192.168.1.254. It might be 10.11.12.13. It could be something else entirely.You then need the netmask, again from your router configuration, which will either be 24 or something like 255.255.255.0.For every 255 in the netmask you need to copy through the corresponding numbers from your router's IP address. So three lots of 255 would mean you copy through the first three groups of numbers. (If you have only a single number netmask such as 24, divide it by 8, and the result gives you the count of the numbers you must copy through.) Finally, you need to assign unused values so that you end up with four groups of numbers.Assume your router is 10.1.1.254 and your netmask is 255.255.0.0. Then you'd copy through 10.1 and come up with the remaining two numbers in the range 1-254. The result is your IP address, eg 10.1.44.66, but do not use a number group that's already in use!