[Solved] How to setup a LAN network between 2 virtual

Discussions related to using VirtualBox on Windows hosts.
Post Reply
khuyencncn
Posts: 3
Joined: 22. Jul 2009, 11:12
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: abc

[Solved] How to setup a LAN network between 2 virtual

Post by khuyencncn »

I installed VirtualBox 3.0.2 on my laptop (Windows XP S2 -- PC1) and installed 2 other OSes inside the VirtualBox: WinXp S2 (PC2) and Ubuntu 9.04 (Server version -- PC3). Both of them can access to Internet normally and have same IP address: 10.0.2.15 (The IP address of PC1 is "192.168.1.13").

Now I want to setup the PC3 as a Domain Controller and PC2 is a client. But I don't know how to setup a LAN network between PC2 and PC3.

Is there any solution for this issue?
khuyencncn
Posts: 3
Joined: 22. Jul 2009, 11:12
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: abc

Re: How to setup a LAN network between 2 virtual machines

Post by khuyencncn »

I tried and here are new IP addresses:
PC1: 192.168.1.13
PC2: 192.168.1.217
PC3: 192.168.1.218

When I ping PC3 from PC1 and PC2, I receive the reply packets. But when I ping from PC1 and PC3 to PC2, no packets received.
khuyencncn
Posts: 3
Joined: 22. Jul 2009, 11:12
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: abc

Re: How to setup a LAN network between 2 virtual machines

Post by khuyencncn »

I installed a new virtual XP machine and it works.

I don't think that is a problem of firewall but it's not a matter now :D
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: [Solved] How to setup a LAN network between 2 virtual

Post by Sasquatch »

Instead of bridging, you could have used Internal Networking. It's made for this kind of thing. Only the VMs can communicate with each other, the Host and rest of the physical network has no idea about them.
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