Need virtual machine to have different IP than host
Need virtual machine to have different IP than host
As title says, I need my host and virtual machine to have different IP's as if I had two computers. This is really important for me, if someone can help me I would really appreciate it. I think it's the external IP address, the one you get from when you look your IP in a google search.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Need virtual machine to have different IP than host
You can't change your Public IP. It is set by your provider. You could use a VPN service.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Need virtual machine to have different IP than host
Just to clarify something, if you use a VPN service, your Public IP would appear to change but it would be the same IP for the host and guest.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Need virtual machine to have different IP than host
It might be easier to actually have two physical machines. To achieve it with one physical device you would need to have two NICs in the host machine with separate connections to your ISP. You would then have to arrange the settings in the host so that the host machine used only one NIC and the guest used the other.
Perhaps if you told us why you need this for we could suggest a simpler solution.
Perhaps if you told us why you need this for we could suggest a simpler solution.
Bill
Re: Need virtual machine to have different IP than host
There is no other solution, I need virtualbox to act as a real physical machine with it's own IP. I thought I'd give it a try here maybe someone knew a way since I'm pretty new with virtualbox. I know VPN works but it's really not worth it because it considerably slows internet...and most of them cost money
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Need virtual machine to have different IP than host
Q: Who's going to give you that second public IP address?Reckles5 wrote:I think it's the external IP address
A: Your ISP, that's who. Have you signed up for 2 addresses from your ISP? Fixed? 2nd modem? I doubt it.
Well, as BiilG suggested, how would it work if you had two physical machines? If you can answer that, we can help you set it up in the virtual world. But, think about that first, keeping in mind the rest of the requirements that BillG laid out (dual NICs, custom TCP/IP configuration, custom adapter settings, etc).Reckles5 wrote:I need virtualbox to act as a real physical machine with it's own IP.
Having a virtual machine means absolutely nothing to the outside world, especially if you're trying to make it look like a physical one...
Still haven't answered that one...BillG wrote:Perhaps if you told us why you need this for we could suggest a simpler solution.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Need virtual machine to have different IP than host
Actually he could sign up with two different ISP's.socratis wrote: Q: Who's going to give you that second public IP address?
A: Your ISP, that's who. Have you signed up for 2 addresses from your ISP? Fixed? 2nd modem? I doubt it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Need virtual machine to have different IP than host
What if the ISP has a special on Thursdays, "Buy 2 IPs, get the 3rd one free!".loukingjr wrote:Actually he could sign up with two different ISP's.socratis wrote: Q: Who's going to give you that second public IP address?
A: Your ISP, that's who. Have you signed up for 2 addresses from your ISP? Fixed? 2nd modem? I doubt it.
Thought about that? I didn't think so...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Need virtual machine to have different IP than host
Honestly no I hadn't. I thought the special was on Wednesdays.socratis wrote:What if the ISP has a special on Thursdays, "Buy 2 IPs, get the 3rd one free!".
Thought about that? I didn't think so...
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.