PDA

View Full Version : [kubuntu] Unable to connect to Internet from VMware workstation 6.5.0


pravlm
December 24th, 2008, 08:44 PM
Hi,

I have kubuntu installed which is guest OS on a Vista host.

The problem is I cannot connect to the internet. I am using NAT but still it fails to connect.

The output of sudo ifconfig is shown below.


$ sudo ifconfig

eth0 Link encap:Ethernet HWaddr 00:0c:29:e5:93:58
inet addr:192.168.232.132 Bcast:192.168.232.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fee5:9358/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:226 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23709 (23.7 KB) TX bytes:24355 (24.3 KB)

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:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2824 (2.8 KB) TX bytes:2824 (2.8 KB)


Any idea what configuration should I change in VMWare or should I have to modify anything in VISTA.

-Regards
Praveen

albinootje
December 24th, 2008, 08:56 PM
I have kubuntu installed which is guest OS on a Vista host.

The problem is I cannot connect to the internet. I am using NAT but still it fails to connect.

Can you post the output of the following from Kubuntu :

cat /etc/resolv.conf
route -n
ifconfig -a

And when you would use the "bridged" host interface option in VMware, then you wouldn't need to make any changes in the VMware host OS.

With NAT in the VMware guest I'm not sure changes are needed.

pravlm
December 24th, 2008, 09:33 PM
Can you post the output of the following from Kubuntu :

cat /etc/resolv.conf
route -n
ifconfig -a

And when you would use the "bridged" host interface option in VMware, then you wouldn't need to make any changes in the VMware host OS.

With NAT in the VMware guest I'm not sure changes are needed.
Hi Here is the output


kubuntu:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 192.168.232.2
kubuntu:~$ sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.232.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 192.168.232.2 0.0.0.0 UG 0 0 0 eth0
kubuntu:~$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:29:e5:93:58
inet addr:192.168.232.132 Bcast:192.168.232.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fee5:9358/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62 errors:0 dropped:0 overruns:0 frame:0
TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6729 (6.7 KB) TX bytes:12294 (12.2 KB)

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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1144 (1.1 KB) TX bytes:1144 (1.1 KB)

pan0 Link encap:Ethernet HWaddr 7a:81:35:fb:11:57
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)