New here, and sorry to enter with such a problematic question...
Anyway, I've got RHEL5 and Solaris 10 running under VMWare Workstation 6.0 on my Windows XP system. It's going great but there's just one problem, and it's the network: I can't connect to hardly any websites, the only exception being
www.redhat.com (I have no idea why), and even that doesn't work sometimes.
Networking is set on bridged, which connects to my ADSL router/gateway at 10.1.1.1. Addresses are assigned by DHCP. There is another wireless router on this network. Both are DLink. (I doubt it is a Windows or networking hardware problem, which is eliminated later...)
My desktop is an Athlon 64 3000+, 2gb of RAM. Each virtual machine is allocated 512mb and swap is on.
Since both RHEL and Solaris show exactly the same symptoms, I'll just put one set of the diagnostic data here.
A quick look at ifconfig:
Code:
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:64:7C:DC
inet addr:10.1.1.5 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20c:29ff:fe64:7cdc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1759 errors:0 dropped:0 overruns:0 frame:0
TX packets:2039 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1406588 (1.3 MiB) TX bytes:223739 (218.4 KiB)
Interrupt:169 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2429 errors:0 dropped:0 overruns:0 frame:0
TX packets:2429 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3435236 (3.2 MiB) TX bytes:3435236 (3.2 MiB) Which looks fine. This is the RHEL system, Solaris was assigned to 10.1.1.6 (not an IP problem)
dig:
Code:
[root@localhost ~]# dig www.google.co.nz
; <<>> DiG 9.3.3rc2 <<>> www.google.co.nz
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44936
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.google.co.nz. IN A
;; ANSWER SECTION:
www.google.co.nz. 10000 IN A 74.125.19.99
;; Query time: 8 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Sat Dec 1 21:34:13 2007
;; MSG SIZE rcvd: 50
So the host lookup is alright and the DNS is resolving. Which is also corroborated by Firefox hanging at "Connecting to www.google.nz".
Now I wouldn't be worried, but this is why I'm a bit frustrated:
Code:
[root@localhost ~]# tracert www.freshrpms.net
traceroute to www.freshrpms.net (195.10.6.66), 30 hops max, 40 byte packets
1 mygateway1.ar7 (10.1.1.1) 3.080 ms 3.352 ms 4.650 ms
2 210 (210.55.64.128) 92.254 ms 98.835 ms 111.442 ms
3 mygateway1.ar7 (10.1.1.1) 5.752 ms 6.176 ms 6.520 ms
[root@localhost ~]#
The link just kills itself. Sometimes it hangs too.
I can't update via yum, and also rpm, wget time out. No idea. Moving right along...
Code:
[root@localhost ~]# ifconfig eth0 flush
flush: Host name lookup failure
[root@localhost ~]# ifconfig eth0 plumb
plumb: Host name lookup failure
Nope, doesn't work either.
That's pretty much it. I haven't touched the VMWare settings, and DHCP server is on, everything seems to be fine. I can ping my RHEL system (10.1.1.5) from my Windows system, returning ~1ms.
On Solaris 10:
Code:
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 10.1.1.6 netmask ff000000 broadcast 10.255.255.255
ether 0:c:29:2d:d7:40
bash-3.00# traceroute www.google.com
traceroute to www.google.com (74.125.19.147), 30 hops max, 40 byte packets
1 *^C
bash-3.00# traceroute www.google.com
traceroute to www.google.com (74.125.19.147), 30 hops max, 40 byte packets
1 *^C
bash-3.00# traceroute www.google.com
traceroute to www.google.com (74.125.19.147), 30 hops max, 40 byte packets
1 mygateway1.ar7 (10.1.1.1) 0.979 ms 1.025 ms 0.725 ms
2 210-55-64-128.adsl.netgate.net.nz (210.55.64.128) 53.282 ms 46.506 ms 44.980 ms
3 * * *
4 ^C The connection times out. Out of about 20 tries,
www.google.co.nz pops out about once.
On my windows machine:
Code:
ping www.google.co.nz
Pinging www.l.google.com [74.125.19.147] with 32 bytes of data:
Reply from 74.125.19.147: bytes=32 time=202ms TTL=244
Reply from 74.125.19.147: bytes=32 time=224ms TTL=246
Ping statistics for 74.125.19.147:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 202ms, Maximum = 224ms, Average = 213ms
Control-C Nothing wrong at all;
To make things even more perplexing, the networking works fine under knoppix, and I connect to anything I would be able to on Windows.
Any ideas?
[edit: -- Vmware tools is also installed in both vm's, if it matters.]