Problems while trying to simulate network

This is for discussing general topics about how to use VirtualBox.
Post Reply
warkbt
Posts: 2
Joined: 17. Jun 2009, 17:47
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Debian

Problems while trying to simulate network

Post by warkbt »

Hi, I am trying to simulate a network with 2 hosts and 2 routers like:

H1----R1--------R2----H2

The links can be Ethernet but they must not share physical medium.

What I mean is: if I put a sniffer between R1 and R2, I shouldn't see packets between H1-R1 or H2-R2

With host-only adapter + PCnet-Fast III, the physical medium is share by all machines. :(

Is this possible with vbox :?:

Thanks in advance for your time. :mrgreen:
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Problems while trying to simulate network

Post by baf »

Internal networking lets you create several nets and you can choose which machines are on which net. Also the new 3.0 beta1 allows you to have several host only networks(I think).
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
warkbt
Posts: 2
Joined: 17. Jun 2009, 17:47
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Debian

Re: Problems while trying to simulate network

Post by warkbt »

baf wrote:Internal networking lets you create several nets and you can choose which machines are on which net. Also the new 3.0 beta1 allows you to have several host only networks(I think).
Thanks, I never thought it was so easy. Now I will test it.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Problems while trying to simulate network

Post by baf »

I have check now and having several "host only" networks is only possible on windows hosts.
• Host-only networking. Creation/deletion of host-only adapters are supported
for Windows hosts only presently. On other platforms, there is one fixed hostonly
interface called “vboxnet0” presently. This will change in a future release.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
Post Reply