configure 2 lan

Discussions related to using VirtualBox on Windows hosts.
Post Reply
cristian78
Posts: 1
Joined: 1. Sep 2009, 15:51
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: win xp

configure 2 lan

Post by cristian78 »

hi ...
I need help ...
I’ve got a LAN with 3 PC with Windows XP and the net class is (address 192.168.0.10, 192.168.0.11, 192.168.0.13)
On Each I’ve installed a Virtualbox that run a machine with Windows Xp and these virtual PC have got a different net class (192.168.2.25, 192.168.2.26, 192.168.2.27)
How can I make the 3 virtual PC connect each other? How can I configure these 3 virtualbox ? I ping the 3 virtual PC each other but nothing happens. Where Am I wrong?
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: configure 2 lan

Post by Sasquatch »

The VMs need to be attached to Bridged and the interface that you use for the PC's to be physically connected with each other. You don't state which Guest OS you're using, but if it's Windows, then check the firewall. It blocks Ping by default.
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.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: configure 2 lan

Post by vbox4me2 »

Change the subnet mask from 255.255.255.0 to 255.255.7.0
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: configure 2 lan

Post by Sasquatch »

vbox4me2 wrote:Change the subnet mask from 255.255.255.0 to 255.255.7.0
That's if the VMs need to access the Hosts. He doesn't say they should. And your netmask doesn't exist, it's illegal. Netmasks start from the 8th bit, making the first valid mask after 255.255.0.0 (/16) be 255.255.128.0 (/17). The mask he should use in case the Hosts and Guests need to form one network, is 255.255.0.0.
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.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: configure 2 lan

Post by vbox4me2 »

There's nothing illegal about that netmask, you can set any mask, its what it is, a mask (a filter what IP see's or not), a 7 sets the first 3 bits, allowing 255.255.0.* to communicate with and up to 255.255.7.*, it's an utterly fairytail the third portion has to follow dividing formats, this only applies to the second(to stay within the assigned private range) and only to the forth when splitting ranges into groups.
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: configure 2 lan

Post by Sasquatch »

That's not what I learned at school. With the eight bit each subnet octet is composed of, you have to start from the left with dividing.
11111111.11111111.00001111.00000000 is illegal. All 1's and 0's have to be grouped together. A notation like this is a correct one: 11111111.11111111.10000000.00000000. Why do you think we can write the short notation of /24, /26, etc? In case you're still not convinced, it's in RFC 1878.
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.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: configure 2 lan

Post by vbox4me2 »

Released in ahum.... December 1995, the IP world has changed only a little bit :mrgreen: its how you ty 2 subnets together without a layer3 router.
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: configure 2 lan

Post by Sasquatch »

So you admit you're wrong and I'm right? Great, you finally accepted that you learned something.

This didn't help the TS at all, we haven't heard from him/her what the exact problem is, or if it's solved now.
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