How to configure Windows 2008 VM to connect to the Internet

This guide is deigned to help you get a freshly installed Windows 2008 Web Edition virtual machine to connect to the Internet. While the focus of the guide is related to virtual machines, the concepts involved also apply to fresh installs for dedicated servers as well.
 

Start and Console the virtual machine

If you have not done so already, you should start and console the machine now.

 

Log in as Administrator

At the “Press CTRL + ALT + DELETE to log on” prompt, you will need to click the “Ctrl+Alt+Del” icon in the upper left corner of the Console window.

Enter the Administrator’s password you set earlier and click the Right Arrow button, or press Enter
 

Configure Networking

From the “Initial Configuration Tasks window that should be on your screen, click “Configure Networking”

On the “Network Connections” page, Right-click Local Area Connection, then click Properties.

From the Local Area Connection Properties pop-up window, click “Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.


 

Request an Additional IP

Before proceeding, you will need to obtain a static IP for the VM from ServerPortal.com.

How to request an additional IP in ServerPortal.com
As a default, Codero Dedicated and SmartServers are initially allowed 4 IPs, however only one of these IPs is allocated to the server.  This guide is designed to show you how to obtain the remaining IPs that have been reserved for your system.


You can request additional IPs by logging into ServerPortal.com

ServerPortal.com > Services > My Services > Options (For the correct server) > [Request an additional IP]

Login to your Codero Server Portal at www.serverportal.com
Click “Services” from the main menu, then select “My Services” from the drop down list.

sp-services-my_services

Click the “Options” button adjacent to the server you wish add the IPs to (This icon will look like a Magnifying Glass)

sp-services-my_services-options

Scroll to the bottom of the page to Network Information. Any additional IPs (non-primary) will be displayed here.
Click the Request an addition IP button.

sp-services-my_services-options-network_information

If after a few seconds you do not see the new IP listed, click the refresh button on your browser to update the current web page.

Up to 4 IPs (including your Primary IP) will be assigned without question.  Any additional IPs beyond 4 will require justification.

If you click the Request an addition IP button more times than you are allowed without justification, the IP justification form will be displayed. To stop this form from displaying, please log out, then log back into ServerPortal.com

 

It is recommended to leave the ServerPortal page open. We will return to it in a few steps to add the MAC address of the VM. Without registering the MAC Address in ServerPortal, your VM will not be able to connect to the Internet.

 

Configure the IP address and DNS Servers

On the “Internet Protocol Version 4 (TCP/IPv4) Properties” pop-up window, select (*) Use the following IP address:

In the IP Address field, enter the IP you obtained from ServerPortal.com.

In the Subnet mask field, enter: 255.255.255.0

In the Default Gateway field, enter the IP address again, except change the last octet of the IP to 1. For example, if your IP address is 123.45.67.89, the Default Gateway will be 123.45.67.1

Set the DNS servers

Select (*) Use the following DNS server addresses:
Preferred DNS Server: 69.64.66.11
Alternate DNS server: 69.64.6610

Click OK to set the values.

To complete the network configuration, click Close on the Local Area Connection Properties window.


 

Locate the MAC Address

As stated in a previous step, the MAC Address must be submitted in ServerPortal before the VM will be able to connect to the Internet. To get the MAC address, open a command window by clicking the Start, enter “cmd.exe” in the Search box and press Start

At the command prompt, type ipconfig /all then look for the line labelled “Pysical Address” The number following will be the MAC Address

C:\Users\Administrator>ipconfig /all
... 
Physical address. . . . . . . : 00-15-50-B4-60-03
...

 

Submit the MAC address in ServerPortal

Even when properly configured, the server will not connect to the Internet until you submit the MAC Address in ServerPortal.

IMPORTANT! Windows incorrectly reports the MAC address with hyphens ‘-‘ instead of colons ‘:’. When copying the MAC Address from the Windows command line into ServerPortal,com, replace each ‘-‘ with a ‘:’. Example, in the output listed above, the address is reported as 00-15-50-B4-60-03, however, when you enter it into ServerPortal.com, you should instead enter it as 00:15:50:B4:60:03.

 
How to submit a MAC address in ServerPortal.com

Before a Virtual Machine can connect to the Internet, its MAC address must be submitted through ServerPortal. This guide is designed to show you how to add these MAC addresses to your account.


You can submit MAC addresses by logging into ServerPortal.com

ServerPortal.com > Services > My Services > Options (For the correct server) > [Add or Edit MAC Addresses]

Login to your Codero Server Portal at www.serverportal.com
Click “Services” from the main menu, then select “My Services” from the drop down list.

sp-services-my_services

Click the “Options” button adjacent to the server you wish add the IPs to (This icon will look like a Magnifying Glass)

sp-services-my_services-options

Scroll to the bottom of the page to Network Information. Any additional MAC address you have already added wil be displayed here.
Click the Add or Edit MAC Addresses button.

sp-services-my_services-options-network_information

 

In the popup window, add, edit or delete any unused MAC addresses you have already entered.

Notice: If you are copying the MAC address as reported from Windows, you will need to replace the hyphens “-” with colons “:”. Example: 00-15-5D-B4-60-03 should be entered as 00:15:5D:B4:60:03

Screenshot-1

 

After you have finished editing, scroll down to the bottom of the popup window and click Update to submit your changes.
Screenshot-2

 

After only a few moments, your new MAC address will be ready to use.

Screenshot-3

Test the Internet Connection

After adding your MAC Address in ServerPortal.com, you should now be able to connect to the Internet. You can test this by pinging google.com from the command window.

C:\Users\Administrator>ping google.com

Pinging google.com [74.125.239.71] with 32 bytes of data:
Reply from 74.125.239.7: bytes=32 time=33ms TTL=54
Reply from 74.125.239.7: bytes=32 time=33ms TTL=54
Reply from 74.125.239.7: bytes=32 time=33ms TTL=54
Reply from 74.125.239.7: bytes=32 time=33ms TTL=54

Ping statistics for 74.125.239.7:
    Packets: Sent = 4; Received = 4, Lost =0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 33ms, Maximum = 33ms, Average = 33ms

Install Remote Desktop Services

In order to use Remote Desktop (a.k.a. RDP or rdesktop in Linux) it will need to be enabled. Open the Server Manager by click Start then Server Manager.

From the Server Manager screen, click “Server Manager” in the Left column, then “Configure Remote Desktop”

On the System Properties pop-up window, click the Remote tab. In the Remote Desktop section, select (*) Allow connetions from computers running any version of Remote Desktop.

Upon clicking the “Allow connections from computers…” the following pop-up window may appear. This states “Remote Desktop Firewall exception will be enabled. You have chosen to enable Remote Desktop exception for all interfaces on this machine. You can selectivel enable certain interfaces only by using the Firewall tool.” When you see this message, click OK

From this point, you can now access your VM using your chosen Remote desktop client and the IP you assigned to the server.
 

Author: admin on February 13, 2014
Category: Windows

Leave a Reply

Last articles