How to share Internet connection of VMWare guest with host in VMWare Player?
Follow the instructions step by step since in some cases the order is important.
Setting up VMware Player
- Right-click the Network Adapter icon and choose Settings...
- Make sure the Connected value is checked in the Device status section.
- Select the Host-only: A private network shared with the host value in the Network connection section and click OK to save the settings
Setting up Guest (Windows XP)
Open Control Panel and proceed to Network and Internet Connections
Here you should see two connections: the connection to the host and the connection to the Internet. They won't, most likely, have any precise titles, but you should be able to identify which one is which by connecting and disconnecting the 3G stick
Right-click the connection to the Internet, open Properties, Advanced tab and check the Allow other network users to connect through this computer's Internet connection value in the Internet Connection Sharing section. Then click OK to save the properties
Right-click the connection to the host, open Properties, select Internet Protocol (TCP/IP) in the General tab and open its Properties. Select the Use the following IP address value and fill in the following:
IP address: 192.168.17.2 Subnet mask: 255.255.255.0
Leave all other fields blank and click OK twice to save the properties.
Open Control Panel once again, proceed to Windows Firewall, Advanced tab and uncheck the connection to the host in the Network Connection Settings section. Then click OK to save the settings
Setting up Host (Windows 8)
Press Windows » then type View network connections and open it
Find the connection called VMware Network Adapter VMnet1, open its properties, select Internet Protocol Version 4 (TCP/IPv4) in the Networking tab and open its Properties. Make sure the Use the following IP address value is selected and fill in the following:
IP address: 192.168.17.1 Subnet mask: 255.255.255.0 Default gateway: 192.168.17.2 Preferred DNS server: 192.168.17.2
Leave the alternate DNS server field blank and click OK twice to save the properties.
Clear the Default gateway in the same menu before you start to use another Internet connection
The Internet in Windows 8 should now work.
Related videos on Youtube
James Wilson
Updated on September 18, 2022Comments
-
James Wilson almost 2 years
I'm struggling to find a solution here.
I need (via htaccess):
www.domain.com/tag/ www.domain.com/tag/my-first-tag/ www.domain.com/tag/my-second-tag/
To ALL redirect to
www.domain.com/new-folder/
I do not want any information carried across like:
www.domain.com/new-folder/my-first-tag
I have tried
RedirectMatch 301 ^/tag[/]?$ /new-folder/
But this only redirects one url: /tag/ and no sub folders.
-
MGol over 6 yearsHow about if vmware guest is ubuntu?
-
James Wilson over 4 yearsSorry. Not all the tags will end -tag. That was, purely for an example. They will be random words after /tag/. Thank you!
-
James Wilson over 4 yearsSorry for the delay. Waited until back in the office to try this. The solution was simple!
-
James Wilson over 4 yearsThe ?$ was doing the damage in my original example.
-
anubhava over 4 yearsIndeed, presence of
$
makes it match/tag/
only at the end. -
phocks over 3 yearsAmazing. I can't believe this actually worked!