Page 1 of 1

configure 2 lan

Posted: 1. Sep 2009, 16:03
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?

Re: configure 2 lan

Posted: 1. Sep 2009, 16:15
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.

Re: configure 2 lan

Posted: 1. Sep 2009, 18:20
by vbox4me2
Change the subnet mask from 255.255.255.0 to 255.255.7.0

Re: configure 2 lan

Posted: 1. Sep 2009, 18:46
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.

Re: configure 2 lan

Posted: 1. Sep 2009, 19:25
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.

Re: configure 2 lan

Posted: 1. Sep 2009, 21:27
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.

Re: configure 2 lan

Posted: 1. Sep 2009, 21:53
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.

Re: configure 2 lan

Posted: 1. Sep 2009, 23:37
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.