<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[How to share Internet connection from Windows Virtual Machine to Mac OS?]]></title>
<link>http://kb.parallels.com/en/5557</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How to share Internet connection from Windows Virtual Machine to Mac OS?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 5557&nbsp;</div>
					<div>Last Review: Sep,30 2009</div>
					<tr>
						<td>Author: </td>
						<td>Daria Taranova</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Daria Taranova</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Desktop for Mac 4.x </li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Symptoms</h2>
					<span style="font-size: larger;"><br />I have a device which allows to connect to Internet, but it only has drivers for Windows. How can I share Internet connection from Windows Virtual Machine to Mac OS?</span><br />
				</div>
				<div class="article-part">
					<h2>Resolution</h2>
					<font face="Times New Roman"><p><span lang="EN-US" style="font-size: 12pt; font-family: 'Times New Roman','serif';"><o:p></o:p></span></p></font><span style="font-size: larger;">1. Connect the modem to USB port on Mac OS X computer.<br /><br />2. Start Parallels Desktop (do not launch the virtual machine yet) and click on Parallels Desktop&nbsp; -&gt; Preferences -&gt; Networking in the top menu. Select Host-only networking connection type and change DHCP scope to be: <br /><div class="commandline"><code>Start address [192.168.0.128]<br />End address [192.168.0.254]</code></div><br /><br />Apply settings</span><br /><br /><font size="+0"><font face="Times New Roman"><font size="+0"><font face="Times New Roman"><span lang="EN-US" style="font-size: 12pt; font-family: 'Times New Roman','serif';"><img height="509" width="695" src="http://kb.parallels.com/Attachments/5190/Images/a1.png" alt="" /></span></font></font></font></font><br /><br /><span style="font-size: larger;">3. Go to Mac OS X System Preferences -&gt; Network, choose 'Parallels Host-Only' adapter and change the settings to be: <br /><div class="commandline"><code>Router: 192.168.0.1<br />DNS server: 192.168.0.1<br />Search Domains: leave blank</code></div><br /><br /></span><font face="Times New Roman"><span style="color: rgb(255, 255, 255);"><img src="http://kb.parallels.com/Attachments/5190/Images/a2.png" alt="" /></span></font><br /><strong><span style="font-size: larger;"><br />NOTE:</span></strong><span style="font-size: larger;"> It is possible to automate applying and reverting these changes using Apple script file (See Additional recommendations below).</span><br /><span style="font-size: larger;"><br />4. Click on Configure button on the virtual machine&rsquo;s window and switch to Network Adapter pane. Set the adapter to work in Shared Networking regime<br /><br /></span><font face="Times New Roman"><span lang="EN-US" style="font-size: 12pt; font-family: 'Times New Roman','serif';"><img height="562" width="700" src="http://kb.parallels.com/Attachments/5190/Images/a3.png" alt="" /></span></font><br /><span style="font-size: larger;"><br />5. Click &lsquo;+&rsquo; (plus) button below the list of resources to add the second Network Adapter. Configure it to use Host-Only connection. Apply changes hitting OK.<br /><br /></span><font face="Times New Roman"><span lang="EN-US" style="font-size: 12pt; font-family: 'Times New Roman','serif';"><img height="563" width="700" src="http://kb.parallels.com/Attachments/5190/Images/a6.png" alt="" /></span></font><br /><span style="font-size: larger;"><br />6. Start the virtual machine and connect the modem to it. For this purpose click on Devices in Parallels Desktop top menu -&gt; USB and check the necessary modem. &lsquo;Welcome to the Found New Hardware Wizard&rsquo; dialog will appear.<br /><br /></span><font face="Times New Roman"><img src="http://kb.parallels.com/Attachments/5190/Images/Picture5.png" alt="" /></font><br /><span style="font-size: larger;"><br />7. Cancel it and put modem installation CD in the CD/DVD-Rom. It should welcome you with device installation wizard. If it does not, please, go to Start -&gt; My Computer and launch installation from CD/DVD-ROM.<br /><br />8. Install drivers for the device in the virtual machine.<br /><br /><strong>NOTE:&nbsp;</strong> To install drivers correctly you should add correspondent exceptions to Firewall if it is activated on Windows side and check the rules in Mac OS X Firewall if switched on.<br /><br />9.&nbsp; Since modem complete installation, new Network connection should appear in Start -&gt; Control Panel -&gt; Network Connections applet. Right-click the correspondent connection and choose Properties -&gt; Advanced. Enable &ldquo;Allow other network users to connect through this computer&rsquo;s Internet connection&rdquo; option. In the &ldquo;Home networking connection:&rdquo; drop-down list select the network adapter which was previously set to Host-only.<br /><br />10. If all the steps were taken exactly as instructed, there should be shared Internet connection possible between virtual machine and Mac OS X computer through Windows modem.</span><br /><br /><span style="font-size: larger;"><strong>NOTE: </strong>Steps 3 and 4 above should be used only in Parallels Desktop 4.0 for Mac. If you have Parallels Desktop 2.X or 3.0 for Mac please use the following steps:<br /><br />3. In Mac OS open System Preferences -&gt; Network<br /><br />4. Edit settings for 'Parallels Host-Guest' adapter as below:<br /><div class="commandline"><code>Configure: Manually<br />IP address: any in range 192.168.0.128-192.168.0.254<br />Subnet Mask: 255.255.255.0<br />Router: 192.168.0.1<br />DNS server: 192.168.0.1<br />Search Domains:&nbsp; leave empty</code></div></span>
				</div>
				<div class="article-part">
					<h2>Additional recommendations</h2>
					<p><span style="font-size: larger;">A. It is strongly advised to apply settings listed in pp. 2 and 3 before using the Windows modem and erase them right after. This helps to avoid conflicts in network configuration. The most comfortable way to do it is to use Apple&nbsp; Script files: <br /><a href="http://kb.parallels.comhttp://download.parallels.com/stuff/enable_host_script.scpt"><br />&nbsp;http://download.parallels.com/stuff/enable_host_script.scpt</a> - to apply configuration<br /><br /><a href="http://kb.parallels.comhttp://download.parallels.com/stuff/enable_host_script.scpt">&nbsp;http://download.parallels.com/stuff/disable_host_script.scpt</a> - to revert changes<br /><br />B. To stop using virtual machine modem connection you should click on Devices in Parallels Desktop top menu -&gt; Network Adapter -&gt; Shared networking. Since this time the virtual machine will use standard network cable attached to Mac OS.<br /><br />C. For proper work of Apple Script it is required Universal Access option to be switched on. Starting the script for the first time you will see a message explaining how to enable Universal Access. </span></p>
				</div>
				<div class="article-part">
					<h2>Known issues</h2>
					<span style="font-size: larger;">If you unplug the&nbsp; modem from USB port while it is in use in virtual machine, it won&rsquo;t be recognized any more, even though you plug it in back. To get it working again you need to either reboot the virtual machine or to plug the device in another physical USB port on your Mac.</span>
				</div>
				<div class="keywords"><strong>Keywords:</strong> share Internet connection</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=5557&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=5557&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '5557',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Daria Taranova</author>
<guid isPermaLink="false">5190 LastUpdated: 2009-09-30 09:09:44</guid>
<pubDate>2008-08-18 03:07:41</pubDate>
</item>
</channel>
</rss>



