Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 68 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow VMWare Client Question
EH-Net
May 22, 2013, 08:17:10 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: VMWare Client Question  (Read 12376 times)
0 Members and 1 Guest are viewing this topic.
Dengar13
Sr. Member
****
Offline Offline

Posts: 380



View Profile
« on: March 12, 2010, 07:19:32 AM »

Can someone please tell me how I can get Internet access on a VMWare Client?  I am using a Windows XP base OS and went to VM/Settings/Network Adapter/and switched it to NAT, but still can't get access.

Thanks in advance!
Logged

A+, Net+, MCP, CEH
MCSE: Security/Messaging
MCSA: Security/Messaging
Former U.S. Marine and damn proud of it!
UNIX
Hero Member
*****
Offline Offline

Posts: 1235


View Profile
« Reply #1 on: March 12, 2010, 07:23:54 AM »

Mh, NAT should work. Did you try Bridged? Can you connect from your Guest OS to your Host OS or vice versa?
Which product from VMware are you using?
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #2 on: March 12, 2010, 07:24:56 AM »

How is the VM setup, and is the VMWare NAT adapter enabled and allowed through the Windows firewall on the host?
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
Dengar13
Sr. Member
****
Offline Offline

Posts: 380



View Profile
« Reply #3 on: March 12, 2010, 07:32:37 AM »

I just looked and the WF is off.  I am using VMWare Player 3.0.1.  I tried bridge and bridge + replicate physical network state and nothing yet.  I cannot ping my WMClient from my host OS and vice versa.  My IP on my host is 192.168.220.1 and my IP on my client is 192.168.1.8.  Could this be the issue?
Logged

A+, Net+, MCP, CEH
MCSE: Security/Messaging
MCSA: Security/Messaging
Former U.S. Marine and damn proud of it!
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #4 on: March 12, 2010, 07:34:49 AM »

I just looked and the WF is off.  I am using VMWare Player 3.0.1.  I tried bridge and bridge + replicate physical network state and nothing yet.  I cannot ping my WMClient from my host OS and vice versa.  My IP on my host is 192.168.220.1 and my IP on my client is 192.168.1.8.  Could this be the issue?

It's the issue if your subnet mask is 255.255.255.0.....

Your machines are NOT on the same subnet.

A NAT'd machine should be able to hit the internet, but you won't be able to ping between the two addresses listed.  If you want to ping between host and guest, you need to find out the assigned IP address to the NAT adapter in the host, and make certain that IP, and the IP of the guest, are on the same subnet.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
Dengar13
Sr. Member
****
Offline Offline

Posts: 380



View Profile
« Reply #5 on: March 12, 2010, 07:37:46 AM »

Thanks guys.  I am VERY new to VMWare and thought once I saw it that the subnets being different could be the reason, but thought I'd ask first. 
Logged

A+, Net+, MCP, CEH
MCSE: Security/Messaging
MCSA: Security/Messaging
Former U.S. Marine and damn proud of it!
UNIX
Hero Member
*****
Offline Offline

Posts: 1235


View Profile
« Reply #6 on: March 12, 2010, 07:39:36 AM »

So is it working now? Different subnet was the part I thought of too, when I saw your posted IPs. Wink
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #7 on: March 12, 2010, 07:41:37 AM »

Well, again, that MIGHT not be the reason for the Internet access failure.  IF the NAT adapter on the host IS on the same subnet as the guest (if IT is configured for NAT, also) then the guest SHOULD be able to ping the outside world and / or browse the internet.  But if the host NAT adapter is the one you gave the IP address for, then you definitely aren't going anywhere.

Whatever mode your guest is on (Bridged or NAT,) you need to make sure it's IP is on the subnet with the IP of the host's adapter for the network, in question.  (Also, if you're bridged in the guest, you need to make sure WHICH adapter on the host the bridge is assigned to, and make sure that the IP of the guest is on the network that your host is on.)

« Last Edit: March 12, 2010, 07:43:24 AM by hayabusa » Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
KamiCrazy
Jr. Member
**
Offline Offline

Posts: 78


View Profile
« Reply #8 on: March 12, 2010, 07:47:52 PM »

I'm not sure I am reading your explanation correctly hayabusa but I don't think that is how NAT works in vmware...

If you are using bridged networking then you either need to assign a static IP on the network your adapter is connected to or more logically receive a DHCP lease.

If you are using NAT networking what happens is that vmware creates an internal network inside your host and automatically assigns the guest with a DHCP lease for the internal network.
This internal network is then NAT'ed on your network adapter which is on your local subnet. This part obviously does not work if the guest's NAT network adapter is assigned a static IP which is different to the internal network.
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #9 on: March 12, 2010, 09:23:03 PM »

You're correct, you didn't understand my post.  (Sorry, maybe I worded it poorly this time.)

What I intended was this:

If you're using NAT for the guest, you're correct, in that the guest (IF configured for DHCP) will get an address from the NAT, and be able to use that address to reach the outside world.  (Per my statement - IF the NAT adapter on the host IS on the same subnet as the guest (if IT is configured for NAT, also) then the guest SHOULD be able to ping the outside world and / or browse the internet.)

I then should've clarified, when I talked about the NAT adapter.  I meant to say the NAT network configured for the NAT adapter on the host should have a subnet matching the IP that the guest shows.  If the guest showed an IP of 192.168.1.8 (as he noted) and the host NAT configured network was 192.168.220.1 (which was what I wanted to clarify) then he obviously didn't have the client getting address from DHCP on the NAT, and the address would NOT ping out.  (Which you noted when you said - This part obviously does not work if the guest's NAT network adapter is assigned a static IP which is different to the internal network.)

Sorry if I left it vague.  I had meant to say the NAT network in the config in VMWare, not the adapter, itself.  Was very preoccupied today, with work, and somehow, missed that I said it that way.  Sorry for any confusion.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
j0rDy
Hero Member
*****
Offline Offline

Posts: 590


View Profile
« Reply #10 on: March 13, 2010, 03:58:17 AM »

remember that if your DHCP fails to give you a proper dynamic IP address you can use, set it to a static IP address. i encountered this a lot with use of the De-Ice disks i downloaded for my pentest lab.
Logged

ISC2 Associate, CEH, ECSA, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
Dutchie
Newbie
*
Offline Offline

Posts: 33


View Profile
« Reply #11 on: March 13, 2010, 05:55:13 AM »


I suppose you are working wireless!!

Well VMware does not work on the build-in radio adaptar!!  You have to use a USB-adaptar or plug your device on a CAT5
Logged

RA, CISA, CISSP, C|EH, C|HFI, CWSP, LPIC-1
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #12 on: March 13, 2010, 08:43:12 AM »

Odd...  I bridge to my wireless NIC all the time.  VMWare still uses it's built in VMWare tools adapter, in the guest, but I have no issue bridging or NAT'ing to my physical wireless adapters, built-in or otherwise.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
Dutchie
Newbie
*
Offline Offline

Posts: 33


View Profile
« Reply #13 on: March 13, 2010, 09:24:41 AM »


Well I only have experience with VM in combination with Backtrack. The PCI card within Backtrack virtual does not work. After investigating the forum of Backtrack, I found a confirmation that Backtrack only works with USB-adaptars.

So It seems VM OS or VM distro dependent if the PCI-card is working!!
Logged

RA, CISA, CISSP, C|EH, C|HFI, CWSP, LPIC-1
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #14 on: March 13, 2010, 09:46:47 AM »

Well, what VMWare WON'T do with the built-in adapter (with a BT guest) is packet injection for wireless, even on a supported card.  This is because of how (I believe) VMWare sets up it's adapter to use the host's network adapter (assigning it to a more generic network driver.)  I still need to use USB or other for packet injection with BT4, if I have it in a VM guest.  But for general networking purposes, I've had no issues bridging or NAT'ing against a built-in wireless adapter from my guest to my host.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.104 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.