How to setup network like this?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
bvkim
Posts: 2
Joined: 17. Aug 2009, 19:13
Primary OS: Other
VBox Version: OSE Mandriva
Guest OSses: Windows

How to setup network like this?

Post by bvkim »

Hey guys, I'm not an IT geek so don't laugh at me with my dumb question..

My host is Linux, my guest is WinXP.
The IP address of my Linux is 111.134.xxx.xxx
What should I do to set my guest WinXP to have the IP address like my host: 111.134.yyy.yyy?
I've just installed VirtualBox OSE and 4 type of networking.
I've also read user manual of VB: http://www.virtualbox.org/manual/UserMa ... #changenat

I follow the instruction: VBoxManage modifyvm "WindowsXP" --natnet1 "111.134/16"
but it doesn't work..

Could someone please help me w/ this?

Thank you very much.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How to setup network like this?

Post by Sasquatch »

You can't do that, because you're only allowed to have ONE IP address in that range. It's your direct internet IP. Because there is already a shortage on IPv4 addresses (what we use now), you get only one of it from your provider.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
bvkim
Posts: 2
Joined: 17. Aug 2009, 19:13
Primary OS: Other
VBox Version: OSE Mandriva
Guest OSses: Windows

Re: How to setup network like this?

Post by bvkim »

I don't know but when I use VMWare under Windows, each of guests has the same prefix w/ host and different in last 2 bytes. Why can't it be in VB?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How to setup network like this?

Post by Sasquatch »

You can't compare the two. What is it that you want to accomplish? With how it is now, you can't use Bridged because of your internet IP and ISP limitations. With a router, or Host-Only, you can get a lot closer to what you want.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply