VirtualBox: How to share a guest's (XP) internet with the host (OS X)

I have an internet connection that can only be used on Windows operating systems (our school requires that we install an .exe login client to connect to the dorm internet). As I am currently using a Mac, my goal is to get the internet running in XP in a virtual machine, and then share the virtual machine's internet with the host. Here's what I've done so far (I'm pretty new to all this, so sorry if I leave out anything important!):
1) Install VirtualBox, create a new XP virtual machine
2) Add a Bridged Adaptor NIC to the guest allowing it access to the ethernet port
With this, I can use the internet fine in the guest, but have no internet in the host. (Note: Making the NIC NAT does not work. When set to NAT, the login client in XP can't find the school's server and I can't use the internet). The next step is getting the guest to share it's internet with the host. Here's what I've tried:
3) Add a second Host-only Adaptor NIC to the guest specifying the following:
IP: 192.168.22.2
Network Mask: 225.225.225.0
DHCP Server unclicked (disabled)
4) In the guest, enable Internet Connection Sharing for the internet connection.
At this point, LAN 2 in the guest (the connection to the host, I think) gets automatically configured with an IP of 192.168.22.1 and the same mask as above. Back in the host, I can ping 192.168.22.1 and get a response. But no internet.
I feel like I'm missing a step, namely how do I instruct the OS X host to use the Host-only connection as its internet connection? I can see the connection ("vboxnet0") when I use ifconfig in the terminal but I have no idea how to use the connection for internet. Anyone know how I can do this?
Thanks for your help!

OS X is passing the Internet connection to the guest OS, it doesn't work the other way around.
You will have to install Windows into Bootcamp and I don't think XP is supported any longer, however Win 7 Pro+ will run most XP programs.
Windows in BootCamp or Virtual Machine?
You'll of course be booting the Mac directly into Windows and thus OS X won't be running, thus you can't share the Internet connection to OS X.
Another alternative is to use a Windows 7 Pro+ machine to connect to the network and then sharing it's Internet connection to the Mac via Ethernet cable or wirelessly.

Similar Messages

  • How do I make a hands free call with the iphone 4s?

    How do I make a hands free call with the iphone 4s?  I have a bluetooth car device and when I try to talk through it (as I did with my old phone) to call someone it does not work.  so far only hte last person called is redialed.

    That is a carrier-based service. So first you have to make sure your service contract includes that feature.
    It usually also includes Call Hold. So you call the first party, put them on hold, call the second, then reactivate the first. But only if your carrier allows you to.

  • Does anyone know how to connect an older 20" cinema display with the (ADC) adapter end and connect it to a MacBook Pro 17" 2008 model (DVI) ?????

    Does anyone know how to connect an older 20" cinema display with the (ADC) adapter end and connect it to a MacBook Pro 17" 2008 model (DVI) ?????

    I believe you naeed the Apple ADC to DVI adapter.

  • How do i get my iphone to sync with the itunes on my device?

    how do i get my iphone to sync with the itunes on my device?

    Try viewing this article:  http://support.apple.com/kb/ht1386

  • I have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    i have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    No not bothered about sycing apps etc it is all about calendars and maybe notes. IN terms of how its done I just want it the easiest way and preferably so that if an entry is made on one calendar then it populates the other.
    Thgius is beacuse I have my work diary on outlok, which I then link with my ical. I want to make sure that information is then shared with her.
    Chris

  • Before i buy the complete creative cloud, how many computers can i install it on with the one subscription? i have a macbook pro laptop and a iMac desktop, which i both need it on.

    before i buy the complete creative cloud, how many computers can i install it on with the one subscription? i have a macbook pro laptop and a iMac desktop, which i both need it on.

    Creative Cloud Help | Creative Cloud / Common Questions
    "Can I use the software I download from Creative Cloud on more than one machine?
    Yes. Creative Cloud desktop applications can be downloaded and installed on multiple computers, regardless of operating system. However, activation is limited to two machines per individual associated with the membership. See the terms of use for more information. Learn how to deactivate a Creative Cloud license on a machine."

  • HT3310 how do i get my headphone to work with the iphone?

    how do i get my headphone to work with the iphone? Are there some settings
    that I need to turn on so I can use my headphone while talking on the phone?

    Are you using the earbuds that came with the iPhone? If you are using other earphones, it's possible that they need an adaptor to work with the iPhone's recessed headphone jack. 

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

  • How many domains can Prime Collaboration Advanced manage with the BE6000?

    The BE6000 Administration guide states that "Most BE6K deployments have a single domain as part of a Standard Prime installation. Multiple domains are available with Prime Collaboration Advanced (available for purchase) that can be used for complex Business Edition 6000 deployments."
    How many domains can Prime Collaboration Advanced manage with the BE6000 solution? How do we order and deploy Prime Collaboration Advanced with the BE6000 solution?

    http://docwiki.cisco.com/wiki/System_Capacity_for_Cisco_Prime_Collaboration_10.0

  • I am trying to connect my fathers ipod touch to itunes on my computer, how can i sync itunes on my machine with the ipod such that his songs don't get deleted and i could add new songs to it (mp3 on my computer)

    I am trying to connect my fathers ipod touch to itunes on my computer, how can i sync itunes on my machine with the ipod such that his songs don't get deleted and i could add new songs to it (mp3 on my computer)

    You cannot merge accounts.  Frequently asked questions about Apple ID - http://support.apple.com/kb/HE37
    One computer using multiple iTunes Store authorizations - http://support.apple.com/kb/HT1206

  • Since update of my MAC my Notes no longer appear on my Mac but are still available through iCloud on my iPhone and iPad. How do I get my MAC to sync with the other devices as e'thing else has synced on my MAC through iCloud.

    Since update of my Mac Book Pro my previously drafted Notes no longer appear on my Mac but are still available through iCloud on my iPhone and iPad. How do I get my Mac to sync with the other devices as e'thing else has synced on my MAC through iCloud. Also since the update Notes no longer appear as a folder in "Mail" but are now a distinct programme-is there any way of returning Notes to the Mail programme?

    Thanks, but I've been on the phone with AppleCare US (where I am and live) and AppleCare UK. They continue bouncing me back and forth without helping resolve the problem.
    Perhaps someones knows how to further escalate the issue at Apple?

  • Hello guys..does anybody know how to install and use adobe master collection with the new lion?   I need to use Flash and illustratore, but apparently those programmes are incompatible with the new operative sistem...   I am a new mac users and I'd like t

    Hello guys..does anybody know how to install and use adobe master collection with the new lion?
    I need to use Flash and illustratore, but apparently those programmes are incompatible with the new operative sistem...
    I am a new mac users and I'd like to know if there are other similar programmes I can use with lion!

    Lab79 wrote:
    Are you on Apple's payroll?
    well dude I can only let you know that as I work with those programme I don't have to pay for it is my company that pays the programme I whant to use( that's why I was asking if there where other programmes ..that I could use with lion insted that Illustrator and Flash!)..I know Adobe since 2005 and I can say that Adobs products are very good...I think that if it's an Adobe probleme or fault ..they will solve it very soon...but unfortunally I have the impression that after Jobs passed away Appel decided to change politics..and everything started to go very bad! (see FCP X)..
    good luck with apple dude..
    Where is the Apple problem? I have CS4 and CS5 running perfectly fine on my Macbook Pro. Installed 5 after Lion upgrade. Worth every cent. Adobe did have some catching up to do with Lion but with the CS5.5 update all runs fine. But not yours. So it is a problem with the Lion OS? You say you have been with Adobe since 2005. So you would be aware of all the other issues that Adobe had catching up with past Oss in Mac and Windows then. They get it right, but it is up to them. It is not up to Apple, nor Microsoft for that matter, to run around and check that every software developer in the world is running their business properly.
    And what has politics got to do with anything. Some people just have to blame Software for their poor Hardware maintainence of failure of the same.
    <The only think I can really do is to go back on my old windows...give back this orrible lap top and ask for my money back!>
    Great suggestion. You should go with that one, but good luck getting a refund.
    Bye

  • How to insert some strings in a query with the clausule 'in' in a procedure

    Hello fellows.
    Do you know how to insert some strings in a query with the clausule 'in' in a procedure (with a variable)?.
    I tell us my problem with an example:
    I want to use this select but introducing a variable instead the 'value1', 'value2':
    select * from table1 where field1 in ('value1', 'value2');
    if I declare the variable var1 as:
    TC_VAR1 CONSTANT VARCHAR2(50) := '''value1'',''value2'''
    and I use it as:
    select * from table1 where field1 in (TC_VAR1);
    It doesn't work because Oracle takes TC_VAR1 as an all string. I think Oracle takes it as this:
    select * from table1 where field1 in ('value1, value2');
    If I use the data type TABLE, I don't know how to use well:
    TYPE varchar2_table IS TABLE OF VARCHAR2(10);
    tb_var varchar2_table;
    select * from table1 where field1 in (tb_var);->It returns an error and there ins't an method that it returns all values.
    A curious case is that if I have a sql script (for example script1.sh) with this query:
    select * fromt able1 where field1 in (&1)
    and I invoke this script as
    script1.sh "'''value1'',''value2'''". It works
    Can anybody helps me?.
    Thanks.

    Thanks to all. Really.
    First, sorry for my English. It's horrible. Thank to all for understand it (my English).
    I've resolved my problem with these links:
    ORA-22905: cannot access rows from a non-nested table item
    and
    http://stackoverflow.com/questions/896356/oracle-error-ora-22905-cannot-access-rows-from-a-non-nested-table-item
    At last, I have used someting like this:
    DECLARE
    number_table_tmp NUM_ARRAY:=NUM_ARRAY(410673, 414303, 414454, 413977, 414042, 414115, 413972, 414104, 414062);
    BEGIN
    FOR c1 IN (SELECT par_id, 1 acc_vdo_id FROM SIG_VIS_CAM
    WHERE par_id IN (SELECT * FROM TABLE(number_table_tmp))
    UNION ALL
    SELECT par_id, 2 acc_vdo_id FROM SIG_ACCAO a
    WHERE par_id IN (SELECT * FROM TABLE(number_table_tmp))) LOOP
    NULL;
    END LOOP;
    END;
    but first I had to create the type NUM_ARRAY like this:
    CREATE TYPE subjectid_tab AS TABLE OF NUMBER INDEX BY binary_integer;
    THANK YOU, GUYS. YOU ARE THE BESTS. ;-)
    Edited by: user12249099 on 08-sep-2011 7:37
    Edited by: user12249099 on 08-sep-2011 7:37

  • How to import my photos to Photos libray with the same folder name?

    how to import my photos to Photos libray with the same folder name?

    You can import  a folder of photos to the Photos.app by dragging the folder onto the Photos icon in the Dock. That will open an Import panel, and you can select to import all photos from the folder. But the folder name will be lost.
    The photos will appear in the "Last Import" album. Select them all in the Last Import and create a new album with the folder name (fFile > New Album).

  • SHARE TIME CAPSULE AS THROUGH INTERNET WITH WINDOWS 7 SMB

    SHARE TIME CAPSULE AS THROUGH INTERNET WITH WINDOWS 7 SMB

    Most ISP correctly block SMB over internet. It is too insecure .. use VPN to a different router and place the TC behind it.
    Besides TC does not expose SMB to WAN.. same reason. You have to port forward SMB.
    You can use SMB on some strange port.. there are instructions if you want you networked just use them.

Maybe you are looking for

  • Imported source file name changed for the external table

    Hi, I have external table from flat file. Now the source file name is changed. I can change the file location to point to the new file name, but I can't update the source for the flat file property(as seen under flat file properties,structure tab. th

  • ABAP-Coding for EVERY Key figure in infocube 0RT_C02

    Hello gurus;       Does anybody know which is the reason for Abap-coding for every key figure in infocube 0rt_c02 from InfoSource 2lis_13_vditm? Thanks in advanced! Csr

  • Understanding how interfaces work

    I am new and trying to understand the magic of interfaces. I understand that you can declare an interface as follows: public interface MyInterface {       public abstract thisHereMethod(); } But what I don't understand is how the compiler properly fi

  • Any solution for iCloud - Outlook integration - Preparing calendar for first use?

    Every time I switch to the calendar view I get a little bubble in the taskbar saying "preparing calendar for first use". This ends up freezing Outlook for about 45- 60 seconds -- long enough for the Outlook window to have a "(not responding)" added t

  • Qttask.exe using 95%+ CPU

    I've installed iTunes on my PC and it's now virtually come to a halt. The culprit appears to be something called qttask.exe which is taking 95-99% of my CPU power. I understand this is something to do with updates for Quicktime. I've uninstalled once