Lab 3.6.
4 Connect and Configure Hosts
Objectives
      Connect a PC to a router using a straight-through cable.
      Configure the PC with an appropriate IP address.
      Configure the PC with a NetBIOS computer name.
      Verify the PC configuration using Windows XP and through a command prompt.
Background / Preparation
  In order for the PC to participate in the local network and the Internet, it must be
  connected to a network device. The following resources will be required :
      Linksys Model WRT300N wireless router or equivalent SOHO router
      Two computers with Ethernet NICs and Windows XP Professional installed on both
      Two straight-through cables
Step 1: Identify Ethernet ports
   a. On the Linksys router, locate the Ethernet (Local Area Network) LAN ports. The
       Ethernet LAN ports connect your network hosts and devices. The four LAN ports are
       grouped together in the center of the router as shown in the following figure.
   b. On the PC, locate the Ethernet port. The port could be integrated into the
       motherboard or it could be an adapter. In either case, the port will be an RJ-45 port.
       The photo shows an Ethernet port on an adapter.
Step 2: Connect the cable between the PC and the router
   a. Connect one end of the straight-through Ethernet cable to an Ethernet LAN port on
       the router.
   b. Connect the other end of the cable to the PC Ethernet port.
   c. Repeat this procedure for the second PC.
Step 3: Assign the PCs an IP address and default gateway
   a. In order to assign an IP address and default gateway to a Windows XP host, from the
       Start menu, select Control Panel.
   b. There are two ways to view Control Panels: Classic view and Category view. The
       options available depend on which one of these two views you are using. If you see
       an option on the left that says Switch to Category View, you are currently in the
       Classic view mode. If you see an option on the left that says Switch to Classic
       View, you are currently in Category view mode. Ensure that you are in Classic view
       mode.
c. Locate and double-click the Network Connections control panel icon.
d. Right-click the Local Area Connection icon that represents your NIC and click the
     Properties menu option.
e. In the middle window, scroll down until you see and can double-click the Internet
     Protocol (TCP/IP) option. The figure that follows shows this option.
f.   Click the Properties button and the Internet Protocol [TCP/IP] Properties window will
     appear.. Next, click the Use the following IP address button, which activates the IP
     address, Subnet mask, and Default gateway textboxes.
     In the IP address field, enter 192.168.10.2. Configure the subnet mask to
     255.255.255.0. Configure the default gateway to 192.168.10.1. The figure that
     follows shows these settings. (DNS server information is not necessary at this time,
     so the fields under Use the following DNS server addresses don’t need to be filled
     out.) When finished, click OK.
g. From the Internet Protocol [TCP/IP] Properties window, click OK to apply the
     changes. Be patient, since this step may take some time. After the changes are
     applied, you will be returned to the Network Connections window.
h. Since the two computers are on the same network, their IP addresses will be similar,
     their subnet masks will be identical, and their default gateways will be identical.
     Perform the same procedures on the second PC to assign an IP address, subnet
     mask, and default gateway using the following information :
i.   Why do you think the IP addresses are different, but the subnet masks and default
     gateways are the same? Jika IP address diawali dengan 192.168.xxx.xxx maka IP
        Address ini berada di kelas C. Pada kelas C subnet mask-nya adalah
        255.255.255.0 . Jadi apapun IP Addressnya, asal diawali oleh 192.168.xxx.xxx ,
        maka subnet mask harus 255.255.255.0 (default).
Step 4: Verify the IP address configuration
   a. On the Windows XP desktop, click Start.
   b. From the Start menu, Select the Run menu option.
   c. In the Open: textbox, type cmd and press Enter. A command prompt appears. The
        figures that follow show this process.
Step 6: Configure the NetBIOS name
   a. Right-click Start and select the Explore option.
   b. How many drive letters are shown in the window that appears? 3 buah
   c.   Right-click the My Computer icon on your Windows XP desktop and select the
        Properties option. The System Properties window appears.
   d. Click the Computer Name tab. An example of the window that appears follows:
   e. Click Change. Make a note of the current computer name. anroit-f8daf4c0.
   f.   In the Computer Name textbox, type PC1. Ensure the Member of radio button or
        field is set to Workgroup.
   g. Make a note of the Workgroup name.WORKGROUP.
    h. Click   OK. If prompted to restart the computer, click OK to restart and follow the
         directions on the screen.
    i.   Use the same process to name the second computer PC2. Also ensure that the
         Workgroup name is set to the same value as PC1.
Step 10: Reflection
Check two or three computers in your lab at school. Complete the following table :
               Computer Name           IP Address & Subnet Mask            Default Gateway
         1        PC 05                      192.168.24.90                  192.168.24.0
         2        PC 04                      192.168.189.1                  192.168.189.0
         3        PC 01                       192.168.1.1                    192.168.1.0