Laborator Modulul 3

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

Laborator Modulul 3: Configuring Basic TCP/IPv4

Settings
Exercise 1: Configuring a Dynamic IP Address
Task 1: Start the virtual machines, and then log on
1. On your host machine, click Start, point to All Programs, point to Microsoft
Learning, and then click 6420A. The Lab Launcher starts.
2. In the Lab Launcher, next to 6420A-NYC-DC1, click Launch.
3. In the Lab Launcher, next to 6420A-NYC-WEB, click Launch.
4. In the Lab Launcher, next to 6420A-NYC-CL1, click Launch.
5. Log on to NYC-DC1 as Administrator with the password Pa$$w0rd.
6. Log on to NYC-WEB as Administrator with the password Pa$$w0rd.
7. Log on to NYC-CL1 as Administrator with the password Pa$$w0rd.
8. Minimize the Lab Launcher window.

Task 2: Verify DHCP configuration


1. On NYC-DC1, click Start, point to Administrative Tools, and then click
DHCP.
2. Expand nyc-dc1.woodgrovebank.com, expand IPv4, and then click Scope
[10.10.0.0] HeadOffice.
3. Right-click Scope [10.10.0.0] HeadOffice and click Properties. Notice the
Start IP address and End IP address.
4. Click Cancel.
5. In the left pane, click Address Pool.
Notice the Start IP address and End IP address are those configured in the
scope properties.
6. In the left pane, click Scope Options.
Notice that the values for Router (default gateway), DNS Servers, and DNS
Domain Name are configured here.
7. Close the DHCP window.

Task 3: Configure a Dynamic IP Address


1. On NYC-CL1, click Start and click Control Panel.
2. Click Network and Internet and click Network and Sharing Center.
3. To the right of Local Area Connection, click View status.
4. In the Local Area Connection Status dialog box, click Properties.
5. In the Local Area Connection Properties dialog box, click Internet Protocol
Version 4 (TCP/IPv4), and then click the Properties button.
6. Click Obtain an IP address automatically, click Obtain DNS server address

automatically, and then click OK.


7. In the Local Areas Connection Properties and the Local Area Connection
Status dialog boxes, click Close.
8. Close Network and Sharing Center.

Task 4: Verify Connectivity


1. On NYC-CL1, click Start, type cmd, and press ENTER.
2. At the command prompt, type ipconfig /all, and press ENTER. This command
displays all IP configuration information.
Notice that the value for DHCP Enabled is Yes. Also notice that the DHCP
server address is 10.10.0.10.
3. At the command prompt, type ping 10.10.0.10, and press ENTER. This
command is successful and you are able to communicate with the server.
4. Close the command prompt.
5. Click Start, type \\NYC-DC1, and press ENTER.
Notice that you are able to browse shares on NYC-DC1.
6. Close the NYC-DC1 window.

Exercise 2: Configuring a Static IP Address


Task 1: Configure a static IP address
1. On NYC-CL1, click Start, and then click Control Panel.
2. Click Network and Internet, and then click Network and Sharing Center.
3. To the right of Local Area Connection, click View status.
4. In the Local Area Connection Status dialog box, click Properties.
5. In the Local Area Connection Properties dialog box, click Internet Protocol
Version 4 (TCP/IPv4), and then click the Properties button.
6. Click Use the following IP address and enter the following:
IP address: 10.10.0.50
Subnet mask: 255.255.0.0
Default gateway: 10.10.0.1
7. Notice that Use the following DNS server addresses is automatically selected
when a static IP address is configured. In the preferred DNS server box, type
10.10.0.10, and then click OK.
8. In the Local Areas Connection Properties and the Local Area Connection
Status dialog boxes, click Close.
9. Close Network and Sharing Center.

Task 2: Verify Connectivity


1. On NYC-CL1, click Start, type cmd, and then press ENTER.
2. At the command prompt, type ipconfig /all, and then press ENTER. This
command displays all IP configuration information.
Notice that the value for DHCP Enabled is No. Also notice that the DHCP
server address is not present.
3. At the command prompt, type ping 10.10.0.10, and then press ENTER. This
command is successful and you are able to communicate with the server.
4. Close the command prompt.
5. Click Start, type \\NYC-DC1, and then press ENTER.
Notice that you are able to browse shares on NYC-DC1.
6. Close the NYC-DC1 window.

Exercise 3: Testing DNS Configuration


Task 1: Test DNS resolution
1. On NYC-CL1, click Start, type cmd, and press ENTER.
2. At the command prompt, type ping finance.woodgrovebank.com and press
ENTER. This command is unsuccessful because the host could not be found.
3. At the command prompt, type ping 10.10.0.21 and press ENTER. This
command is successful.
4. Close the command prompt.

Task 2: View and configure DNS records


1. On NYC-DC1, click Start, point to Administrative Tools, and then click DNS.
2. Expand NYC-DC1, expand Forward Lookup Zones, and then click
WoodgroveBank.com.
Notice that the host record for finance is not created.
3. In the left pane, right-click WoodgroveBank.com, and then click New Host (A
or AAAA).
4. In the Name box, type finance.
5. In the IP address box, type 10.10.0.21.
6. Click Add Host, click OK to clear the message dialog box, and then click
Done.
7. Close the DNS Manager window.

Task 3: Verify DNS Resolution


1. On NYC-CL1, click Start, type cmd, and then press ENTER.
2. At the command prompt, type ping finance.woodgrovebank.com and then
press ENTER. This command is still unsuccessful due to cached DNS results.
3. At the command prompt, type ipconfig /flushdns, and then press ENTER.
4. At the command prompt, type ping finance.woodgrovebank.com, and press
ENTER. This command is successful.
5. At the command prompt, type nslookup finance.woodgrovebank.com, and
then press ENTER. You will see an error indicating that the DNS request timed
out trying to do a reverse lookup for the DNS server host name and then the
resolution of finance.woodgrovebank.com.
6. Close the command prompt.

Exercise 4: Connecting to a Web-based Application


Task 1: Verify the Web site configuration
1. On NYC-WEB, click Start, point to Administrative Tools, and then click
Internet Information Service (IIS) Manager.
2. In the left pane, expand NYC-WEB, expand Sites, and then click Default Web
Site.
3. In the Actions pane, click Bindings. Notice that the Web site is using port
8080.
4. Click Close, and close Internet Information Services (IIS) Manager.
5. Click Start, type cmd, and then press ENTER.
6. At the command prompt, type netstat a, and then press ENTER.
Notice that port 8080 is listening for connections.
7. Close the command prompt.

Task 2: Test the Web-based Application


1. On NYC-CL1, click Start, and then click Internet.
2. In the Address bar, type http://finance.woodgrovebank.com, and then press
ENTER. An error is displayed because Internet Explorer attempts to contact a
Web site on port 80 by default.
3. In the Address bar, type http://finance.woodgrovebank.com:8080, and then
press ENTER. Accessing the site is successful because the correct port number
has been used.
4. Close Internet Explorer.

Task 3: Close all virtual machines and discard undo disks


1. For each virtual machine that is running, close the Virtual Machine Remote
Control window.
2. In the Close box, select Turn off machine and discard changes, and then
click OK.
3. Close the 6420A Lab Launcher.

You might also like