Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'd like to set my guest's public-ip (windows xp) undependent from the host's ip as a different one. Is it possible? If so, how do i do it?

Please note that, it's about the public id, not the local ones..

Thank you very much..

share|improve this question

migrated from Aug 21 '11 at 11:36

This question came from our site for professional and enthusiast programmers.

If you set the virtual network card connection to be "Bridged" rather than "NAT" then you can set the IP address in the virtual machine to the same format as the host machine.

Examples (assuming you do the above):

  • Host: DHCP (e.g., 192.168.1.x)
  • Virtual: DHCP
  • Result: Virtual will have a 192.168.1.x address
  • Host: Manually set (e.g.,
  • Virtual: Manually set (
  • Result: host can connect to virtual via
  • End result is that any machine on the network would be able to connect to the virtual machine via its own IP address and you wouldn't need to configure anything to map across to it

    Hope this helps


    share|improve this answer
    Hi, but i want to change my public -ip not the local one. I still got the same public ip adress after that changes... – user877167 Aug 16 '11 at 16:11
    Once you configure the virtual network card as "bridged", you can think of it as another physical machine on your network. Therefore, whatever you did to expose the public IP address of the host machine would need to be done for the virtual machine also I would imagine. – DaveWilsonLAMP Aug 16 '11 at 16:28

    although this isn't a current post, are you trying to change what address the website/person sees you as? if so, just use a web proxy or download your own, other than that you can use a private secure network. Though these aren't fool proof, you can use them to, for example let a US website think you're from Russia or visa versa.

    This all comes from programs you install on the virtual machine after using the above method to give the VM its own ip address. (although you could do it for host only and not bridge adapter if you felt like it)

    share|improve this answer
    I don't think downloading the proxy and using it would change their web-facing IP though. – vgoff Nov 7 '12 at 0:41

    This is not possible, in a home environment, no matter the operating-system or virtualization.

    The issue is: both (or all machines) on this home-network are leaving through the router to access the internet. The router is the one machine, that actually has the public ip, everything else is available through translated addresses (NAT).

    There would be at least two ways to achieve the wanted situation:

    1. Use a VPN on one of the machines, so it "leaves" the internal network at another place.

    2. Get a second internet-line, and assign the router of this line as the gateway for the other machine.

    share|improve this answer

    You must log in to answer this question.