I'm trying to follow the perfect setup on a debian wheezy virtual machine. I added a static IP, but I can't get it to connect to the network. I have the virtual machine's Network Connection settings set to "Bridged: Connected directly to the physical network" and "Replicate physical network connection state" is unchecked since it's not a mobile device. Anyone know what these settings should be or what I might be doing wrong?
I can ping IP addresses from the machine, but not domains. Is it a DNS issue since I also can't connect to ftp.us.debian.org for updates? The following is the result from 'netstat -s':
Thanks, Arjen, but I'm not sure how to do that. The following is my /etc/network/interfaces: and my /etc/hosts: Code: 127.0.0.1 localhost.localdomain localhost 173.8.196.155 vserver.rwhm.net vserver # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually I know this is not the way to go on ubuntu but a quick google learned me that you have to edit /etc/resolv.conf Make it look like this nameserver 8.8.8.8 nameserver 8.8.4.4 Then restart network services and try again. See if you can do a ping google.com. If so then it was an dns related issue. You could change the DNS to your ISP dns afterwards.
Thanks! That worked. One more question, however: how do I figure out my ISP's dns? I have a static IP for this machine and a gateway IP address?
I have another server that runs ubuntu, and I took them from that machine's resolv.conf file. It seems to have worked.