COMP 563

CREATING VIRTUAL LANS

PROF MACLEAN

Copy Vmware Workstation 6.5 from the Internet using the instructions in your email.

Follow the instructions on my web site, www.professormaclean.com, for the “VMware Server Lab” to create your first virtual machine and Install Windows Server 2008 Enterprise Edition.

Remember how we divided the network into two switches. There were a lot of reasons why it would be necessary to segment a network. Some we discussed were:

·  The number of workstations has outgrown the number of ports on the switch

·  We are dividing for different types of data

·  We wish to create a development versus production environment

·  We wish to add fault tolerance

·  We are separating for physical wings in a building

We are going to recreate this environment virtually and build off of it.

YOU CAN’T USE CTRL+ALT+DELETE IN THE VIRTUAL ENVIRONMENT.

USE CTRL+ALT+INS INSTEAD.

Power off your virtual server. Do this by downing the server image as if it were a physical server.

One adapter is created automatically. We will manually create the other:

Choose the Edit Virtual Machine Settings | Hardware | Network Adapter | and change the Network Connection to Custom. Choose VMnet2 | OK.

Click Add | Network adapter. Create your second “switch” with another custom network connection, this time to VMnet3.

Power the virtual machine back on.

Go into Configure Networking.

Name one virtual NIC Switch A and give it the properties:

IP = 192.168.2.1

Subnet mask = 255.255.255.0

Gateway = 192.168.2.1

Name the other one Switch B and give it the properties:

IP = 192.168.3.1

Subnet mask = 255.255.255.0

Gateway = 192.168.3.1

We could also use two virtual server images just as we could have used two physical servers each with one NIC for the lab. Due to the size of the images, that would be very slow, so we will use two virtual NICs.

Use Control Panel | Network and Internet | Network and Sharing Center | Windows Firewall to turn your firewalls off.

Ping both switches to ensure functionality.

Now we will add workstations.

Create a new virtual machine for XP. Download the ISO from your MSDN account and allow the installation to run.

That takes a while, but we can clone the machine for the second client. Power down the image as if it were a physical machine. Running or suspended images can’t be cloned.

First we need to take a snapshot of the image. Click on the Snapshot icon (it looks like a clock with a red flash in the upper left hand corner).

Click VM | Clone | Next | An Existing Snapshot (Powered off Only) | Full Clone | Finish.

Ignore messages about virtual floppies and check “Do Not Show This Message Again.”

Name each workstation to avoid messages about duplicate names and to make the DNS lab easier. I called mine Client1 and Client2:

Start | My Computer | View System Information | Computer Name.

Configure Client 1 to attach to VMnet2.

Give Client 1 a static IP of 192.168.2.102 with the default subnet mask. Use 192.168.2.1 as the default gateway.

Configure Client 2 to attach to VMnet3.

Give Client 2 a static IP of 192.168.3.103 with the default subnet mask. Use 192.168.3.1 as the default gateway.

Now let’s make the route just like we did in the physical lab.

Go to your Server 2008 image:

Start | Server Manager | Roles | Add Roles | Network Policy and Access Services| Configure and Enable Routing and Remote Access Services | Enable LAN routing.

Expand IPv4 and Click Static Routes.

Set Switch A to:

IP = 192.168.2.1

Subnet Mask: 255.255.255.255*

Gateway: 192.168.2.1

Set Switch B to:

IP = 192.168.3.1

Subnet Mask: 255.255.255.255*

Gateway: 192.168.3.1

*Note the different subnet mask.

Now, you should be able to:

1.  ping the either client from the server

2.  ping the server from either client

3.  ping either client from either client.

Show me that your virtual network works before you leave. If you can’t get it working, you will need to show me before we install DHCP in the next lab.