different connections with GNS3

Discussions about using Linux guests in VirtualBox.
Post Reply
iivo
Posts: 3
Joined: 1. May 2010, 17:38
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: Ubuntu 9.10

different connections with GNS3

Post by iivo »

Hello everybody,
What i'm trying to do is get 2 Ubuntu machines (virtual or not) to communicate using GNS3. since i want to add portability to this project i have two different set-ups
1. i have ubuntu 9.10 (and now Ubuntu 10) on my laptop as the running OS; I have installed VirtualBox and made a Ubuntu 9.10 host, and have GNS3 installed .
2. I have a WinXP machine (desktop), installed GNS3 on it and created 2 Ubuntu 9.10 hosts (using VirtualBox).

Now, if this post shoud be split and/or moved to another section, please inform me. Due to the large number of Ubuntu hosts involved, i considered this to be the place to post. Now the issues:

Fist layout: I had managed to achieve communication between the Ubuntu resident OS and the GNS3 routers, and managed to connect a GNS3 cloud to the VM. It should have been only a routing problem before achieving communication between everything, but after Ubuntu upgraded itself (and i believe also VirtualBox), i could not select "host only networking" when starting the Ubuntu VM (i have followed this tutorial, even if it's for VMWare http://www.kbrandt.com/2009/01/how-to-s ... part1.html). so now i cannot connect GNS3 to the VM host/

Second layout: I have GNS3 installed on the WinXP machine, and have created 2 Ubuntu hosts. The problem is that they communicate between themselves (ping ) all alone. I need them to communicate through GNS3 (map each one to a cloud in GNS3, and the route the packets as i need to). I have tried setting them up in host only, but it seems it doesn't work like that (in GNS3 i can only see a single adapter from Virtual Box). This is probably because i do not have enough knowledge of how adapters work in VirtualBox, so if you could enlighten me, I would be very thankful

If you have any advice referring to any of the two setups, please tell me. Also, please tell in your answer to which of the two cases you are referring, in case I get confused. :)
Thank you in advance
iivo
Posts: 3
Joined: 1. May 2010, 17:38
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: Ubuntu 9.10

Re: different connections with GNS3

Post by iivo »

Update on the second setup:
I have found the setting in VirtualBox from where to define another host-only adapter (file->preferences->network). so now I have 2 (as desired), and configured different DHCP servers on each.
And now i have communication as desired (still have to do the routing part, but that is of no concern to the VirtualBox forum ;) ).

Seems i answered my own question, but will not delete the post in case any one else has the same problem.

Cheers
Post Reply