Question : running Fedora on VMWARE. cant resolve domains...

# ping -c2 google.com
connect: Network is unreachable

# traceroute google.com
traceroute to google.com (64.233.167.99), 30 hops max, 40 byte packets
Unable to connect to 64.233.167.99: Network is unreachable

the gate way seems to be 192.168.158.2 so i ran...

# /sbin/route add -net 0.0.0.0 gw 192.168.158.2 eth0
# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.158.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         192.168.158.2   0.0.0.0         UG        0 0          0 eth0

now i get...
# ping -c2 google.com
PING google.com (72.14.207.99) 56(84) bytes of data.
--- google.com ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1001ms

# traceroute google.com
traceroute to google.com (64.233.167.99), 30 hops max, 40 byte packets
 1  192.168.158.2 (192.168.158.2)  0.043 ms   0.000 ms   0.000 ms
 2  * * *


# uname -a
Linux laptopfedora6 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux-

im running Fedora Core 6 on VMWARE on Windows VISTA. Im trying to test some shell scripts that use WGET but I cant resolve any domains so they fail downloading the files i requested... any suggestions??

Answer : running Fedora on VMWARE. cant resolve domains...

But you actually can reach the DNS server as you are getting resolved for google.com

Therefor this could be a firewall on the host machine that is the vista that is blocking the fedora machine.
Random Solutions  
 
programming4us programming4us