No internet connection in VMWARE

Teradata Express Software
Formerly this board name was Cloud Computing. The name was changed to better represent the product areas covered.
Enthusiast

No internet connection in VMWARE

Hi,

I am not able to access internet inside VMWARE. I am able to use Teradata there in xterminal. I turned off firewall.I tried 1) Bridged 2) NAT 3) vmnet8.All these no use.

I am not able to copy and paste also from my physical machine desktop to the vmware notepad or textpad. 

I am trying to configure Windows in VMWARE. Can someone suggest me? I am using Windows8.

Thanks and regards,

11 REPLIES
Enthusiast

Re: No internet connection in VMWARE

Raja,

You can use Host option in vm ware network settings, instead of NAT, Bridged.

Once done, start your vmware and assign statics IP to guest.

for example for guest:

XXX.XXX.30.10

in gateway enter:

XXX.XXX.30.0

Then on host machine, open the  vmnet1, go to properties, set static IP as follows:

xxx.xxx.30.20

in gateway enter:

xxx.xxx.30.0

remember xxx is the same for all these entries, and usually same for all IPs.

once done, you will be able to use internet and all the things.

Please let me know if there is any issue!

Khurram
Enthusiast

Re: No internet connection in VMWARE

Khurram,

My laptop ip is 192.123.2.3 say. Where can I see and assign the ip static IP to guest? Is it after opening my Virtual Player or where?

Yes vmnet1, I can see after opening  virtual player and supplying root/root

Cheers,

Enthusiast

Re: No internet connection in VMWARE

Raja,

Yes, login to guest machine, and assign IP as you do on any machine by going to network settings.

On host, go to VMNET1 properties and assign Ip as described above.

Khurram
Enthusiast

Re: No internet connection in VMWARE

Khurram,

It is not working. Below are the settings:

In VMWARE, I click on  Network settings.There are 4 tabs:

1) Global options

 a) Network Setup Method--I choose Traditional Method with ifup

 b) IPv6 Protocol Settings ( no change) unchecked

 DHCP Client Options no change

2 Statistically assigned IP Address

  a) IP Address : 192.168.30.20

  b) subnet Mask by default is /24 

  c) hostname-raja

3) Hostname-raja

Domain name-raja

4) Routing-192.168.30.0

Now VMnet1 setting at my Network connections:

Internet Protocol Version 4( TCP/IPv4) properties:

Use the following IP address:

IP address: 192.168.30.10

Subnet mask: 255.255.255.0

Default gateway:192.168.30.0

VMWARE Network adapter: Host-only

 Global LAN Segments: 192.168.255.1

Where else I need to make change?

Cheers,

Enthusiast

Re: No internet connection in VMWARE

Raja,

Dont you have Internet Protocol Version 4( TCP/IPv4)  properties in guest machine?

Khurram
Enthusiast

Re: No internet connection in VMWARE

Khurram,

I am in VMWARE and I can see Linux window. I have Mozilla there. Do you feel I miss out any thing?

I have C:\Program Files (x86)\VMware\VMware Workstation\ . On opening this, I land up in Linux window, where I have  Teradata studio, root after login with root/root.

Thanks,

Enthusiast

Re: No internet connection in VMWARE

Raja,

Basically, I was talking about windows host and windows guest configuration. I have not tested it on linux. The main thing is the same default gateway for both the machines. You have made right settings for Host, but for the guest you will have to use same default gateway. 

Khurram
Teradata Employee

Re: No internet connection in VMWARE

Hi gents,

I see lot of users are having very same issue. Can't connect from/to vmware machine. Can't reach internet and so on.

1.when using TD secure connection (ie anyconnect, ciscovpn, juniper) to Teradata or customer network, you have to take care about the routing, if not, the statefull firewall always cut your outbound connection(s) to gateway. 

2.when deploying a new image, I always generate new MAC address (as someone might have very same on my network, just to avoid network conflicts)

3. when there is issue with DHCP server (on Windows) you probably get some weird IP configuration (starting with 172.* or 175..*) if there are not some 'preffered' values (as M.Saeed Khuram noticed above). When this very same is faced via/on linux, you probably don't get your interface (eth0) working automaticaly.

Here is my output from ipconfig/ifconfig commands issued on host/guest machines for "NAT" configuration. I never used BRIDGED so far, never had to, as NAT is working pretty much well. Especially when more than one virtual machine is up and running.

VMware-Player:

==============

- NAT (share host ip)

- different MAC address for host interface

LOCALMACHINE: command: ipconfig/all

=================================

Ethernet adapter Local Area Connection:

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

   IPv4 Address. . . . . . . . . . . : 153.65.122.170(Preferred)

   MAC:  D4-BE-D9-19-28-F0

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . : 153.65.122.1

   DHCP Server . . . . . . . . . . . : 153.65.2.12

   DNS Servers . . . . . . . . . . . : 153.65.2.111

                                       153.65.2.12

   Primary WINS Server . . . . . . . : 153.65.4.250

   Secondary WINS Server . . . . . . : 153.65.5.250

   NetBIOS over Tcpip. . . . . . . . : Enabled

   

VIRTUALHOST: command: ifconfig

============ 

eth0      

 Link encap:Ethernet  

 inet addr:192.168.21.128  

 Bcast:192.168.21.255  

 Mask:255.255.255.0

 Mac: 00:0C:29:87:CF:A8

If you find this post Off-Topic, let me know i will unpublish it.

Cheers
-=[VH]=-
Teradata Employee

Re: No internet connection in VMWARE

I had the similar issue, resolved by resetting the VM and disabling/enabling DHCP on host.