Simulating a crossover connection with virtualbox

This is for discussing general topics about how to use VirtualBox.
Post Reply
awregan
Posts: 2
Joined: 7. Oct 2009, 12:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu

Simulating a crossover connection with virtualbox

Post by awregan »

Hi, is there a way to simulate connection between the host system and the virtual system using a crossover cable? I need this to help with some tests with a computer networks homework :)
Thanks in advance.
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: Simulating a crossover connection with virtualbox

Post by Sasquatch »

Did you read the Manual? Chapter 6 describes the network types that are available to VB and explains what they do. Hint: Host-Only.
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.
awregan
Posts: 2
Joined: 7. Oct 2009, 12:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Simulating a crossover connection with virtualbox

Post by awregan »

I tested the host-only configuration, but a program that I was testing with a crossover cable connection between two machines, one using ubuntu 9.4 and another using ubuntu 8.10 works only if the two machines are physical. I mean, I can test that program correctly with the same configuration but only if the machines are not virtualized.
For the virtualized machine I'm using the default configurations for ubuntu except for the network that is Host Interface.
The Ubuntu 9.04 is always a physical machine that hosts the virtualized ubuntu.
Should I be doing some special configuration to enable the network?
Post Reply