Configuration to access internet from vmware(host=winXP, guest on vmware=linux-5)
Hi,
I am a newbie in Linux, so please ignore my mistakes and please help.
Well I have installed linux ver-5 on vmware. I have windows XP on base machine.
I am not able to access internet from linux.
I have MTNL broadband DSL connection on windows XP. Internet is working fine on XP.
I have made the following configurations in /etc/sysconfig/networks
NETWORKING_IPV6=yes
HOSTNAME=abc.test.com
NETWORKING=yes
NISDOMAIN=RHCE
GATEWAY=192.168.1.1
======================================================
and in /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:0C:29:77:f2:de
ONBOOT=yes
DHCP_HOSTNAME=abc.test.com
IPADDR=192.168.1.3 (I changed it manually)
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
======================================================
and in /etc/resolv.conf
nameserver 192.168.1.1
======================================================
and in /etc/hosts
192.168.1.3 abc.test.com
======================================================
windows ip address: 192.168.1.2 (Assigned by DHCP)
gateway: 192.168.1.1
=====================================================
When I am able to ping google.com from terminal window in linux(0%packet loss)
but when i try elinks google.com I get a page which says making connection and it never returns.
When i go in vmware edit-->virtual network settings-->Vmnet1(host-only)
the subnet is 192.168.245.0 and
-->Vmnet8(NAT) the subnet is 192.168.127.0
Also in vmware edit-->virtual network settings-->NAT the VMnet host is VMnet8, Gateway IP address: 192.168.127.1, Netmask: 255.255.255.0
Is it that the gateway of VMware is different and that of my internet broadband is causing a problem. If yes then what are the changes to be made.
PLS ASSIST!!
|