Network Configuation Help.

This is for discussing general topics about how to use VirtualBox.
Post Reply
risingsun247
Posts: 2
Joined: 5. Aug 2010, 00:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Server 08, XP, Backtrack, Ubuntu

Network Configuation Help.

Post by risingsun247 »

Hey everyone,

I'm sure these sorts of questions pop up here all the time, but I'm still a bit hazy on the config for the network configurations so I thought I would ask. I'm trying to set up a virtual lab for pen-testing practice; I'm part of a collegiate competition. I have several VM's and all of them need to be on the same LAN and have internet access. If I run in NAT, all the VM's have the exact same IP and there is no communication between them. If I run Host-Only, I get a LAN, but no internet. Just wondering if i can get a point in the right direction.

Thanks.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Network Configuation Help.

Post by Perryg »

If you have a router then use bridged. If not then use host-only so the host and guests can communicate and add a second adapter set to NAT for the guests that need Internet Access.

See Chapter 6. Virtual networking in your VirtualBox users manual. It is all explained there.
risingsun247
Posts: 2
Joined: 5. Aug 2010, 00:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Server 08, XP, Backtrack, Ubuntu

Re: Network Configuation Help.

Post by risingsun247 »

Thanks, was hoping I woulndt have to move my router back in here, but o well, thanks for the help. Didn't know if there was a way to tweak NAT to put all the clients into the same network.
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: Network Configuation Help.

Post by BillG »

If you want to have a configurable NAT, run your own. Put the clients in the internal network (which has no connection to any NIC in the host) and run NAT software on the host, or run a vm as a NAT router between the virtual and physical networks.
Bill
snackorton
Posts: 1
Joined: 5. Aug 2010, 06:13
Primary OS: SLAX
VBox Version: OSE self-compiled
Guest OSses: xp

Re: Network Configuation Help.

Post by snackorton »

Using this tool, you will learn whether a traditional hub, switch, router, or perhaps some wireless gear is needed for your home. Then, you'll get additional tips for assembling this gear into a functioning network configuration and maximizing its potential.

For best results, be ready to provide the following details about your home network:

* how many computers you want to network
* whether you have any mobile computers at home
* the operating system(s) running on your home computers
* the type of Internet service you have at home
* what you plan to use your home network for
* where networked computers will be located inside the home
* and some of your personal preferences

Choose one of the following to continue:

* Home Network Interactive Advisor

* Home Network Configuration Guide (non-interactive)

________________________________________________________________________________________________________
For Connecting to remote desktop of another computer (via internet or network) and controls. Also to VNCSever through Repeater or directly to VNCServer and a lot of other configuration options. For more details VNCServer
Post Reply