- Posts: 7
- Thank you received: 0
Virtual Lab
15 years 7 months ago #29976
by baretas
Virtual Lab was created by baretas
Hi! This a "project log" kind of post, that I hope will be helpful to anyone with the same goals, and that will be open to any suggestions/discussions.
I'm not sure where this post will fit, so if there's a better place for it let me know
My goal was to build a machine where I could work on the CCNA lab practical stuff, while being open to future uses (like building a windows server network, voice labs, etc...). For this to work (at least from what I read) I'd need GNS3 for the Cisco labs part and VMware for the windows server network virtualization.
After reading a bit about GNS3 I decided that I would need to build this in my desktop (more ram and CPU available) instead of the faithful lappy. But since I prefer to work from lappy I had to add a remote control solution to the project. Oh, and it had to be in Linux because... well I read somewhere that GNS3 would run better in linux and i'm a very believable person
And so I dumped one of the windows partitions from my desktop and replaced it with ubuntu 8.10 intrepid ibex. The only step that differs from the typical installation is that I installed GRUB in my ubuntu partition (/). Since I'm a complete noob in linux I struggled for some time with boot issues but resolved everything in 2 steps:
- "fixmbr" in windows recovery console
- some grub config with ubuntu live cd where I used the following:
sudo grub
> root (hd1,4)
> setup (hd1)
> exit
This enabled grub to work, but there was one last step needed to make XP boot (after booting the installed Ubuntu). Executed the following comand and making sure the "Windows part" of menu.lst was according this text:
sudo gedit /boot/grub/menu.lst
title Windows
root (hd1,0)
makeactive
chainloader +1
Well, after some hours I finally had a working dual boot (windows xp/ubuntu) desktop. yey!
Next... GNS3!
I used this tutorial ( www.gns3.net/documentation ) in the GNS3 site. All the steps are there (for both windows and linux hosts) so it was a very painless experience.
If you do come up with come sort of CPU error when trying to connect to the routers, double check the IOS image settings (in my case I inserted an IOS for a 2800 which isn't supported by GNS3).
Following step, FreeNX
In windows (XP and beyond) you can use the Remote Desktop Connection to connect to a remote workstation, but between XP and Ubuntu there aren't many solutions available. More reading involved and I'm introduced to FreeNX ( freenx.berlios.de/ ). This is supposed to be a LOT faster than VNC and that's one of the reasons of why I chose this.
I'm a couple of steps away from finishing this. When I do I'll update the log.
I'm not sure where this post will fit, so if there's a better place for it let me know
My goal was to build a machine where I could work on the CCNA lab practical stuff, while being open to future uses (like building a windows server network, voice labs, etc...). For this to work (at least from what I read) I'd need GNS3 for the Cisco labs part and VMware for the windows server network virtualization.
After reading a bit about GNS3 I decided that I would need to build this in my desktop (more ram and CPU available) instead of the faithful lappy. But since I prefer to work from lappy I had to add a remote control solution to the project. Oh, and it had to be in Linux because... well I read somewhere that GNS3 would run better in linux and i'm a very believable person
And so I dumped one of the windows partitions from my desktop and replaced it with ubuntu 8.10 intrepid ibex. The only step that differs from the typical installation is that I installed GRUB in my ubuntu partition (/). Since I'm a complete noob in linux I struggled for some time with boot issues but resolved everything in 2 steps:
- "fixmbr" in windows recovery console
- some grub config with ubuntu live cd where I used the following:
sudo grub
> root (hd1,4)
> setup (hd1)
> exit
This enabled grub to work, but there was one last step needed to make XP boot (after booting the installed Ubuntu). Executed the following comand and making sure the "Windows part" of menu.lst was according this text:
sudo gedit /boot/grub/menu.lst
title Windows
root (hd1,0)
makeactive
chainloader +1
Well, after some hours I finally had a working dual boot (windows xp/ubuntu) desktop. yey!
Next... GNS3!
I used this tutorial ( www.gns3.net/documentation ) in the GNS3 site. All the steps are there (for both windows and linux hosts) so it was a very painless experience.
If you do come up with come sort of CPU error when trying to connect to the routers, double check the IOS image settings (in my case I inserted an IOS for a 2800 which isn't supported by GNS3).
Following step, FreeNX
In windows (XP and beyond) you can use the Remote Desktop Connection to connect to a remote workstation, but between XP and Ubuntu there aren't many solutions available. More reading involved and I'm introduced to FreeNX ( freenx.berlios.de/ ). This is supposed to be a LOT faster than VNC and that's one of the reasons of why I chose this.
I'm a couple of steps away from finishing this. When I do I'll update the log.
15 years 7 months ago #29978
by baretas
Replied by baretas on topic Re: Virtual Lab
FreeNX
Basically I used these guides:
help.ubuntu.com/community/FreeNX
help.launchpad.net/Packaging/PPA#Adding%...buntu%20repositories (to access the launchpad repositories)
blog.rubypdf.com/2009/01/21/installing-f...u-810-intrepid-ibex/ (used the repository links of this guide)
www.debianadmin.com/freenx-server-and-cl...-in-debian-etch.html (for the NX windows client config)
The FreeNX Windows client is from NoMachineNX, but I can't open their website so I downloaded the client from download.com .
In the windows client the session is just id name, the user and password are the same as the linux session that you're trying to open (watch out for upper and lower cases in the username also... I felt really stupid when I understood why the authentication was failing).
And then the test drive! It felt very fast, but then again my machines are all connected through a wired network.
So far I've only found one problem with this setup: when connected to ubuntu through the NX windows client, I played a bit with GNS3 and found out that the console window pop up doesn't open. I really hope that this is only a configuration error.
Right... all I need now is to install VMware. Cya soon!
Basically I used these guides:
help.ubuntu.com/community/FreeNX
help.launchpad.net/Packaging/PPA#Adding%...buntu%20repositories (to access the launchpad repositories)
blog.rubypdf.com/2009/01/21/installing-f...u-810-intrepid-ibex/ (used the repository links of this guide)
www.debianadmin.com/freenx-server-and-cl...-in-debian-etch.html (for the NX windows client config)
The FreeNX Windows client is from NoMachineNX, but I can't open their website so I downloaded the client from download.com .
In the windows client the session is just id name, the user and password are the same as the linux session that you're trying to open (watch out for upper and lower cases in the username also... I felt really stupid when I understood why the authentication was failing).
And then the test drive! It felt very fast, but then again my machines are all connected through a wired network.
So far I've only found one problem with this setup: when connected to ubuntu through the NX windows client, I played a bit with GNS3 and found out that the console window pop up doesn't open. I really hope that this is only a configuration error.
Right... all I need now is to install VMware. Cya soon!
15 years 7 months ago #29979
by baretas
Replied by baretas on topic Re: Virtual Lab
VMware
Install was done using this guide: www.somelifeblog.com/2008/08/installing-...buntu-8x-vmware.html
Everything went ok and I only had to change the ubuntu root password (it seems that the root default password is blank and vmware can't accept that ).
Just need to find out how tp configure a "datastore" to a NTFS partition where all the virtual machines are...
For now that's it. I'm going to work a bit with all of this and if any corrections are needed i'll post them.
Install was done using this guide: www.somelifeblog.com/2008/08/installing-...buntu-8x-vmware.html
Everything went ok and I only had to change the ubuntu root password (it seems that the root default password is blank and vmware can't accept that ).
Just need to find out how tp configure a "datastore" to a NTFS partition where all the virtual machines are...
For now that's it. I'm going to work a bit with all of this and if any corrections are needed i'll post them.
Time to create page: 0.138 seconds