LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 10-26-2012, 02:29 PM   #1
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 123

Rep: Reputation: 5
Setting up a Test Lab between DSL Client & Debian Server in VMWare Workstation


Hello all,

I am a student of Network Administration and, to test out the skills I am learning, I would like to test up a test environment in VMWare Workstation8.

I am running a Windows7 laptop with VMWare Workstation8. What I would like to do is use DSLinux as a client running through a Debian Squeeze proxy server and out to the internet. It is my intention to use Squid as my Proxy, Shorewall as my firewall and Bind9 as my DNS/DHCP.

For the Debian Server, I am using VMNet8(NAT) to connect to the internet & VMNet2 (Host-only) which I hope is the right config to connect the Server to the DSL Client. It is my imagination that I will use this VMNet2 to channel traffic from the Client to the Server and out VMNet8 to the internet. Is this a correct assumption?

I'm asking for help now before I start running configurations so as to avoid confusion as to where I may have gone wrong, assuming things don't go to plan. Any help would be much appreciated, even just a point in the right direction. Thanks for your help and for taking the time to read this.

Steve
 
Old 10-27-2012, 05:49 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,539

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
That is one way to do it. Yes, some nic in the dsl can be directed toward the server pretty much as if there were two computers. The issue here is only different in the fact that you are using virtual networking and one is local only but that shouldn't matter. Just check your network settings as you would do in any normal install.

You can make the server to act as a normal gateway or some proxy so settings would change.

Not sure I really answered your question.

It is common to test setups like this but some people get hung up on the virtual oddities. They don't have easy access to real computers where they could figure out the setup like some tech manual might write.

Last edited by jefro; 10-27-2012 at 05:51 PM.
 
1 members found this post helpful.
Old 10-28-2012, 02:21 AM   #3
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 123

Original Poster
Rep: Reputation: 5
Thanks for the response, Jefro. Yea, that basically answered my question. I totally get the confusion about virtualization being confusing... I'm working on getting an old, used server up and running Debian Wheezy. Next is 3 routers and two switches to practice on, but that'll be around tax season.

Got any suggestions on how you would do this "crossover" on VMWare? Hell, I just figured out yesterday one of my biggest config problems was from using Debian Squeeze so I didn't burn up a lot of space, but documents I found on configuring this kind of thing didn't line up right with Squeeze.

Anyways, thanks again for your response. A question on this forum: should I post additional questions about this setup in this forum, or should I start new ones for each question? Thanks for your time.

Steve
 
Old 10-28-2012, 11:52 AM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,539

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
A more problem specific question might help us. Feel free to ask anything you need or want in any area. It might get moved by a mod to help you in some cases. Right now, I can't create a reply to a general question.

Debian with a small footprint window manager and few extras ought to be kind of small. Might even run it from a usb flash drive.

I think the vmworkstation seems to confuse first time users. For some reason they don't feel like they are actually on a real computer. Might start off this test with a more hands on virtual machine like vmplayer or virtualbox.

Each vm has similar ways to do stuff but each type may have unique issues on default ip range or default gateway or how it might even allow ports and services. All that and your common server tasks need to be taken into account.

There are even distro's that can act like switches so you may not need to buy switches. Freesco is one but there are a few others.

This is what helped me the first time I used vm's to replicate a real lan. It was just to imagine the vm clients as real computers. Then use the documentation from the web pages for each task to configure. A vm client with two nics ought to act like a real system with two nics but watch out for oddities on vm's when using nat and bridged and local. Even the virtual support for a distro may need to have advanced settings changed or driver added. For the most part vm's are very easy and quick to use.

Last edited by jefro; 10-28-2012 at 11:56 AM.
 
Old 10-31-2012, 01:41 PM   #5
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 123

Original Poster
Rep: Reputation: 5
Thanks for the direction, Jefro, your explanations made a lot of sense. I responded a couple days ago in a nice long post thanking you, but I hit Back on accident and lost the whole d@mn thing! I have had success with setting up DHCP (isc-dhcp-server) between Client & Server, but now I am having problems setting up the Proxy (squid) to channel the Client through my Server and out onto the Internet.

I will spare you the details, as I just wrote a new thread on the topic, but if you are still interested in helping with my test environment the link to the new thread is:

http://www.linuxquestions.org/questi...on-4175434940/

Again, thanks for all your help! I have taken all your advice to heart & hope to hear more from you in the future. If I don't, thanks for the time you have spent to help me already... what more could I ask for, right?

Steve
_____________________________

#!/bin/bash
horse=1
dead=1
while [ $horse -eq $dead ]
do
echo "beat"
done
 
Old 11-01-2012, 03:27 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 11,539

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Gosh, nicest post I have even received. There are quite a few good people on this forum. Many are pretty darn smart. Someone usually tries to help if they can. I'll peek at the other post and see if I can help at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I convert my VMware Workstation into a server client mode coolsreejith Linux - Virtualization and Cloud 4 03-22-2011 02:46 AM
LXer: Virtual Machine Replication & Failover with VMWare Server & Debian Etch (4.0) LXer Syndicated Linux News 0 08-19-2007 01:50 PM
VMware Server & Workstation Do Nothing jeelliso Linux - Software 4 11-14-2006 12:57 AM
win2000 server with VMware workstation and Debian woody as guest OS xstation Debian 1 07-14-2005 05:01 PM
setting up vmware workstation 4 in rh9 spyghost Linux - Software 0 02-17-2004 07:56 AM


All times are GMT -5. The time now is 11:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration