0% found this document useful (0 votes)
238 views12 pages

2.1.2.5 Lab - Determining The IP Address Configuration of A Computer

This document describes a lab experiment to configure the IP addresses of two computers connected to a wireless router. The steps include: 1) Connecting computers PC-A and PC-B to the wireless router using Ethernet cables 2) Configuring both PCs to obtain IP addresses automatically using DHCP 3) Documenting the IP configuration details of PC-A obtained from DHCP 4) Testing network connectivity between the two PCs by pinging their IP addresses

Uploaded by

Solomon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
238 views12 pages

2.1.2.5 Lab - Determining The IP Address Configuration of A Computer

This document describes a lab experiment to configure the IP addresses of two computers connected to a wireless router. The steps include: 1) Connecting computers PC-A and PC-B to the wireless router using Ethernet cables 2) Configuring both PCs to obtain IP addresses automatically using DHCP 3) Documenting the IP configuration details of PC-A obtained from DHCP 4) Testing network connectivity between the two PCs by pinging their IP addresses

Uploaded by

Solomon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Lab – Determining the IP Address Configuration of a Computer

Objectives
In this lab, you will configure an Ethernet NIC to use DHCP to obtain an IP address and test connectivity
between 2 computers.

Required Resources
● 1 Wireless router
● 2 PCs (Windows 10)
● Ethernet cables

Step 1: Connect PC-A and PC-B to a home/small business wireless router.


a. For PC-A, plug one end of the Ethernet cable into “Port 1” on the back of the wireless router.
b. For PC-A, plug the other end of the Ethernet cable into the network port on the NIC in your computer.
c. For PC-B, plug one end of the Ethernet cable into “Port 2” on the back of the router.
d. For PC-B, plug the other end of the Ethernet cable into the network port on the NIC in your computer.
e. Power on the wireless router.
f. Turn on both computers and log on to Windows in PC-A using an account with administrative privileges.
Answer:

Figure 1. The Connection of PC-A and PC-B with a home/small Business Wireless Router

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 12
Lab – Determining the IP Address Configuration of a Computer

Step 2: Set network settings to autoconfigure using DHCP


a. Click Start, then click Settings.

b. In the Settings window click Network & Internet.

c. In the left pane select Ethernet, then click the Change adapter options link.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 12
Lab – Determining the IP Address Configuration of a Computer

d. The Network Connections window displays the available network interfaces on the PC. In this example,
right-click the Ethernet0 interface and select Properties.

e. Select Internet Protocol Version 4 (TCP/IPv4) and then click Properties.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 12
Lab – Determining the IP Address Configuration of a Computer

Note: You can also double-click Internet Protocol Version 4 (TCP/IPv4) to display the Properties
window.
f. Select the Obtain an IP address automatically. Select the Obtain DNS server address automatically.
Click OK.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 12
Lab – Determining the IP Address Configuration of a Computer

g. Before clicking Close on the Ethernet0 Properties window answer the following questions:
What is the name and model number of the NIC in the “Connect using:” field?
Answer: Realtek RTL8821CE 802.11ac PCIe Adapter
What are the first three items listed in the “This connection uses the following items:” field?
Answer:
1. Client for Microsoft Networks
2. VMware Bridge Protocol
3. File and Printer Sharing for Microsoft Networks
h. Repeat the previous steps to configure network address settings on PC-B.

Step 3: Document PC-A networking address settings.


a. Check the lights on the back of the NIC of PC-A. These lights will blink when there is network activity.
b. Use Command Prompt to verify the PC settings and connectivity. From PC-A, right-click Start and select
Command Prompt.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 12
Lab – Determining the IP Address Configuration of a Computer

c. At the prompt, enter ipconfig /all command to view IP configuration on PC-A.

What is the IPv4 address of the computer?


10.0.0.224
What is the subnet mask of the computer?
255.255.255.0
What is the default gateway of the computer?
10.0.0.1
What are the DNS servers for the computer?
75.75.75.75
75.75.76.76
What is the MAC address (physical address) of the computer?
B4-B5-B6-E0-0C-C7
Is DHCP enabled?
Yes

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 12
Lab – Determining the IP Address Configuration of a Computer

What is the IP address of the DHCP server?


10.0.0.1
On what date was the Lease Obtained?
Tuesday, June 13, 2023 6:50:20 PM
On what date does the Lease Expire?
Wednesday, June 14, 2023 6:50:06 AM

Step 4: Test the PC-A network interface TCP/IP stack.


a. To verify that the TCP/IP protocol is functioning, pinging your loopback address (127.0.0.1). Enter the
ping 127.0.0.1 command at the prompt.
C:\Users\Bob> ping 127.0.0.1

Figure 2: Pinging the loopback address (127.0.0.1) to verify that the TCP/IP protocol is functioning

b. You can also ping your IP address. In this example, enter the ping 10.11.3.146 command at the prompt.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 12
Lab – Determining the IP Address Configuration of a Computer

Figure 3: Pinging my IP address (10.0.0.224) to verify that the TCP/IP protocol is functioning

c. Record one of the replies from your ping command.


Answer: One of the replies was “Reply from 10.0.0.224: bytes=32 time<1ms TTL=128”. The
ping results indicate that I received a reply from the remote server 10.0.0.224. The roundtrip
trip took less than <1ms. Time-to-live (TTL) is the amount of time passed when the packet
is discarded.
If the ping was not successful, ask your instructor for assistance.

Step 5: Document PC-B network address settings.


a. Log in to PC-B using an account with administrative privileges.
b. Verify that PC-B uses DHCP for the network address settings. Click Start > Settings > Change adapter
options. Right-click the desired network adapter and select Properties. Double-click Internet Protocol
Version 4 (TCP/IPv4) and ensure the Obtain an IP address automatically and the Obtain DNS server
address automatically are selected. Click OK > Close.
c. Open a command prompt window enter ipconfig /all at the prompt.
What is the IP address of the computer?
192.168.0.101
What is the subnet mask of the computer?
255.255.255.0
What is the default gateway of the computer?
::
192.168.0.1

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 12
Lab – Determining the IP Address Configuration of a Computer

What are the DNS servers for the computer?


::
0.0.0.0

What is the IP address of the DHCP server?


192.168.0.1
From PC-B, ping the IP address of PC-A. Was the ping successful?

Figure 4. Pinging the IP Address of PC-A to check connectivity

Note: If you cannot ping the other PC, the firewall maybe blocking the ICMP echo.
To turn off the firewall, click Start > Settings > Network & Internet > Ethernet > Windows Firewall >
Select Turn Windows Firewall on or off. Be sure to turn on the firewall when finished.

Step 6: Change PC-B’s network addressing from automatic to manual.


a. Repeat Step 2 on PC-B, Use the following IP address and Use the following DNS server address.
Response:
Though the question says “Use the following IP address and Use the following DNS server
address”, it doesn’t provide any information about that. So, I adopt the previous automatic
configuration settings as the following figure depicted.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 12
Lab – Determining the IP Address Configuration of a Computer

Figure 5: PC-B IP Configuration Settings


PC-B IP address: 192.168.0.101
PC-B subnet mask: 255.255.255.0
PC-B default gateway: 192.168.0.1
PC-B DNS server information: 0.0.0.0

Figure 6: Pinging PC-B IP Address to check connectivity

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 10 of 12
Lab – Determining the IP Address Configuration of a Computer

b. Enter in the IP address, subnet mask, default gateway and DNS server information that you recorded in
the previous step. Click OK and Close.
c. Open a command prompt window and ping the PC-B IP address you just configured. Was the ping
successful?
Answer: Yes the ping was Successful and this is depicted in the above figure.

Step 7: Test network connectivity with ICMP echo requests.


a. From PC-B, ping the IP address of PC-A. Was the ping successful?
Answer: Yes, the ping was successful as shown below

Figure 7: Pinging the IP Address of PC-A from PC-B to check connectivity

b. From PC-A, ping, the IP address of PC-B. Was the ping successful?

Figure 8: Pinging the IP Address of PC-B from PC-A to check connectivity

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 11 of 12
Lab – Determining the IP Address Configuration of a Computer

Step 8: Return PC-B network address settings to autoconfigure with DHCP.


Return PC-Bs network address settings on Ethernet0 to Obtain an IP address automatically and Obtain
DNS server address automatically. Click OK > Close.

Answer: It is already automatic as the following figure shows.

Figure 9: DHCP Enabled Automatic IP Configuration Setting of PC-B

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 12 of 12

You might also like