7.3.4 Lab – Connect to a Wireless Router Answers

7.3.4 Lab – Connect to a Wireless Router Answers

Topology

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway
PC-A NIC 192.168.10.2 255.255.255.0 192.168.10.1
PC-B NIC 192.168.10.3 255.255.255.0 192.168.10.1

Objectives

  • Connect a PC to a wireless router using Ethernet cable
  • Configure the PC with an appropriate IPv4 address
  • Verify the PC configuration using a Command Prompt

Background / Scenario

For a PC to communicate in the local network and the Internet, it must be connected to a network device.

Required Resources

  • 2 PCs (Windows 10 with wired Ethernet NIC on each PC)
  • 1 wireless router
  • 2 straight-through Ethernet cables

Instructions

Part 1: Connecting to the Network

Step 1: Connect the end devices.

1. Power on the end devices and wireless router as needed.

2. Connect two PCs to the wireless router using Ethernet cables.

Step 2: Configure the PCs with addressing information.

1. In PC-A, right-click Start button > select Network Connections. If the Network status window opens, click Change adapter options to navigate to Network Connections.

2. Select the wired network connection. Right-click the desired wired network connection and select Properties.

3. Open the Internet Protocol Version 4 (TCP/IPv4) option to open the TCP/IP properties window.

4. You will enter an IPv4 address configuration consisting of an IPv4 address, a subnet mask, and default gateway address. To enter the address information, click the Use the following IP address button.

5. In the IPv4 address field, enter 192.168.10.2. In the subnet mask field, enter 255.255.255.0. In the default gateway field, enter 192.168.10.1. The DNS server information is not necessary at this time.

6. When finished, click OK to return to the Internet Protocol (TCP/IPv4) Properties window. Click OK to apply the changes.

After the changes are applied, you will be returned to the Network Connections window.

7. Because the two computers are on the same network, their IPv4 addresses will be similar, their subnet masks and default gateways will be identical. Perform the same procedures on PC-B to assign an IPv4 address, subnet mask, and default gateway using the following information:

Why do you think the IPv4 addresses are different, but the subnet masks and default gateways are the same?

Student’s own opinion on this. Each device on the network must have a unique identifier. The IPv4 address is one way of uniquely identifying each network host or device. The default gateway represents the way of communicating with devices that are NOT on your own network.

Step 3: Verify connectivity between the two PCs.

1. In a Command Prompt window, enter ipconfig /all to verify the configured IPv4 address and the default gateway from the previous step for both PCs.

2. From the command prompt on PC-A, test connectivity with the PC-B by entering ping 192.168.10.3.

3. The pings should be successful. If the pings are not successful, perform the appropriate troubleshooting steps, such as checking the cabling and checking your IPv4 address, subnet mask, and default gateway assignments.

Part 2: Some Useful Windows Networking Commands

Within the Command Prompt window, you can access a few useful networking utilities besides the ones you have seen already: ipconfig, ping, and tracert.

Step 1: The hostname command

Besides the ipconfig /all command, you can print the name of the current host using the hostname command.

At a command prompt, enter hostname.

C:\Users\Student> hostname
DESKTOP-3FR7RKA
Step 2: The getmac command

Sometimes you just need to quickly list all the MAC addresses for the NIC on the PC. The getmac command could be quite useful.

At a command prompt, enter getmac.

C:\Users\Student> getmac
Physical AddressTransport Name
=================== ==========================================================
00-50-56-B3-E8-C1\Device\Tcpip_{B0D0B9B3-8A23-4B59-B930-323792047552}
02-00-4C-4F-4F-50\Device\Tcpip_{31C9748F-BCD8-4C76-8AEB-D4BC482341B8}
Step 3:The route command

The route command allows you to manipulate the network routing table. For this example, you will print out the routes.

C:\Users\Student> route print
   ===========================================================================
   Interface List
   6…00 50 56 b3 e8 c1 ……Intel(R) 82574L Gigabit Network Connection
   3…02 00 4c 4f 4f 50 ……Microsoft KM-TEST Loopback Adapter
   1………………………Software Loopback Interface 1
   7…00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
   5…00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
   ===========================================================================
   IPv4 Route Table
   ===========================================================================
   Active Routes:
   Network DestinationNetmaskGatewayInterfaceMetric
   0.0.0.00.0.0.0192.168.1.1192.168.1.1110
   127.0.0.0255.0.0.0On-link127.0.0.1306
   127.0.0.1255.255.255.255On-link127.0.0.1306
   127.255.255.255255.255.255.255On-link127.0.0.1306
   169.254.0.0255.255.0.0On-link169.254.5.92266
   169.254.5.92255.255.255.255On-link169.254.5.92266
   169.254.255.255255.255.255.255On-link169.254.5.92266
   192.168.1.0255.255.255.0On-link192.168.1.11266
   192.168.1.11255.255.255.255On-link192.168.1.11266
   192.168.1.255255.255.255.255On-link192.168.1.11266
   224.0.0.0240.0.0.0On-link127.0.0.1306
   224.0.0.0240.0.0.0On-link192.168.1.11266
   224.0.0.0240.0.0.0On-link169.254.5.92266
   255.255.255.255255.255.255.255On-link127.0.0.1306
   255.255.255.255255.255.255.255On-link192.168.1.11266
   255.255.255.255255.255.255.255On-link169.254.5.92266
   ===========================================================================
   Persistent Routes:
   None
   IPv6 Route Table
   ===========================================================================
   Active Routes:
   If Metric Network DestinationGateway
   1306 ::1/128On-link
   6266 fe80::/64On-link
   3266 fe80::/64On-link
   3266 fe80::8050:173e:a32b:55c/128
   On-link
   6266 fe80::ac29:44a8:6409:c30e/128
   On-link
   1306 ff00::/8On-link
   6266 ff00::/8On-link
   3266 ff00::/8On-link
   ===========================================================================
   Persistent Routes:
   None

guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x