Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts

Friday, 1 January 2021

Building a Switched Based Network

Objectives  

Create a simple network with two PCs using a switch  

Identify the proper cable to connect the PCs to the switch  

Configure workstation IP address information  

Test connectivity using the ping command 

Background  

In this article, you will learn how to connect two computers directly to each other. This is the simplest network you can imagine. The network has two directly computers connected is called peer to peer network. Later on, you will learn that such a simple network is not “according to the definition of a network.” 

switched based networking in networking

 

Equipment/Tools: 

 
Two computers having Windows 7, 8, or 10 and LAN Cards installed one Cross-Over cable with the appropriate length. 
 

Procedure 

 
This lab focuses on the ability to connect two PCs to create a simple switch-based Ethernet LAN using two workstations. A switch is a networking concentration device sometimes referred to as a multiport bridge. Switches are relatively inexpensive and easy to install. When operating in full-duplex mode, they provide dedicated bandwidth to workstations. Switches eliminate collisions by creating microsegments between ports to which the two workstations are attached. They are appropriate for small to large LANs with moderate to heavy traffic. In addition to the physical and data link connections, which are Layers 1 and 2, the computers must also be configured with the correct IP network settings, which is Layer 3, so that they can communicate. Since this lab uses a switch, a basic Category 5/5e UTP straight-through cable is needed to connect each PC to the switch. This is referred to as a patch cable or horizontal cabling, which is used to connect workstations and a typical LAN. Start this lab with the equipment turned off and with cabling disconnected. Work in teams of two with one person per PC. The following  resources will be required:  

Two workstations with an Ethernet 10/100 NIC installed 
Ethernet 10BaseT or Fast Ethernet switch  
Several Ethernet cables, which are straight-through and crossover, to choose from for connecting the two workstations Step 1: 

 Identify the proper Ethernet cable and connect the two PCs to the switch  

a) The connection between the two PCs and the switch will be accomplished using a Category 5 or 5e straight-through patch cable. Locate two cables that are long enough to reach from each PC to the switch. Attach one end to the NIC and the other end to a port on the switch. Be sure to examine the cable ends carefully and select only a straight-through cable.  

b) What kind of cable is required to connect from NIC to switch? straight-through 
c) What is the category rating of the cable? Category 5 or 5e 
d) What is the AWG wire size designation of the cable? 24 AWG 

Step 2: 


 Verify the physical connection  

a) Plug in and turn on the computers. To verify the computer connections, insure that the link lights on both PC NICs and the switch interfaces are lit. Are all link lights lit? Yes 

Step 3: 


 Access the IP settings window 

 Note: Be sure to write down the existing IP settings, so that they can be restored at the end of the lab.

 These include IP address, subnet mask, default gateway, and DNS servers. If the workstation is a DHCP client, it is not necessary to record this information.  
Click on Start > Settings > Control Panel and then click the Network Connection icon.  
Select the Local Area Network Connection and click on Change settings of this connection. 
Select the TCP/IP protocol icon that is associated with the NIC in this PC.  
Click on Properties and click on Use the following IP address. 
See the example below: 

switched based network in networking

4: Configure TCP/IP settings for two PCs 


a) Set the IP Address information for each PC according to the information in the table.  
b) Note that the default gateway IP Address is not required, since these computers are directly connected. The default gateway is only required on local area networks that are connected to a router. 

Computer IP Address Subnet Mask Default Gateway 
PC – A 192.168.1.1 255.255.255.0 Not Required 
PC – B 192.168.1.2 255.255.255.0 Not Required 

Step 5: 


 Access the Command or MS-DOS prompt 

a) Use the Start menu to open the Command Prompt (MS-DOS-like) window: Start > Programs > Accessories > Command Prompt Step 6: 
 Verify that the PCs can communicate 
a) Test connectivity from one PC to the other by pinging the IP Address of the opposite computer. Use the following command at the command prompt.  
C:>ping 192.168.1.1 (or 192.168.1.2) 
b) Look for results similar to those shown below. If not, check the PC connections and TCP/IP settings for both PC. What was the ping result? 
Results could possibly be: Sent=4 Received=3 Lost=1 (this is due to ARP) Any other results probably indicate an error 

command prompt networking

7: Confirm the TCP/IP network settings 

a) Type the ipconfig command from the Command Prompt. Record the results 

b) Answers will vary depending on if Computer A or B is used. Examples for Computer B IP Address: 192.168.1.2, Subnet Mask: 255.255.255.0, Default Gateway: 

Step 8: 

 Restore the PCs to their original IP Settings, disconnect the equipment, and store the cables. 

 

Try It Yourself:

1. Build a switched-based network and verify connections to all the systems using the ping command. 



How to create Cross-Over Internet Cable

 A cross-over network cable is used to connect two computers directly. It is also used when you connect two hubs/Switches with a normal port on both hubs/Switches. (In other words, the cross cable is used relatively in a rare case.). It is used to connect similar devices. 

crossover cable

 

Tools Required:

        Same as used for making Straight-Through Cable. 
 

Procedure 

 
Side A: Perform Steps 1-5 mentioned here for making the straight-through cable. 
Side B: Arrange the wires as green-white, green, orange-white, blue, blue-white, orange, brown-white, and brown. And punch it properly. 
 

For Cross cable 


Pin ID         Side A    Side B

1         Orange-White    Green-White
2         Orange                     Green
3         Green-White         Orange-White
4             Blue                 Blue
5         Blue-White         Blue-White
6             Green                 Orange
7             Brown-White     Blue-White
8         Brown                 Brown

 
Perform the following tasks: 
 
1. Build a Category 5(CAT 5) Straight-Through Ethernet network cable and Cross-over Cable. 
   


Tuesday, 22 December 2020

How to create Straight Internet Cable

Objective  

  • Build a Category 5(CAT 5) Straight-Through Ethernet network cable 
  • Build a Category 5 (CAT 5) Cross-Over Ethernet network cable 
  • Test both the cables for a good connection 

Straight through cable  

A straight-through network cable is just what the name suggests, a cable that passes data straight through from one end to another end. These cables are used for a variety of connections, for instance, connecting a computer to a hub or switch, connecting a computer to a cable/ISDN/DSL modem, and linking switches and hubs together. One such cable connection is shown in the picture below:


computer

Typically, the ports on a hub are MDIX ports that allow the machine at the other end to utilize its MDI Port without the need for a crossover cable. Through these ports, the hub automatically performs the crossover functions, which are required to properly align the cables with each other. When no hub or switch is used, the cable itself must physically perform these crossover functions. 
About Cabling: 
 
The two most common UTP (Unshielded Twisted-Pair) network standards are the 10 Mbps (10BASE-T Ethernet) and the 100 Mbps (100BASE-TX Fast Ethernet). In order for a cable to properly support 100 Mbps transfers, a Category 5 (or CAT 5) twisted pair cable must be used. This type of low loss extended frequency cable will support 10 Base-T, 100 Base-T, and the newer 100VG-AnyLAN applications. Other types of cabling include Category 3 that supports data rates up to 16 Mbps and Category 1 that only supports data rates up to 1Mbps.  

The tools required to do this lab are: 

1. CAT 5 network cable 
2. RJ-45 Connectors 
3. Cable Cutter 
4. Crimping tool 5. Cable tester. 




cat 5 cable


Procedure 

 
Well, the wire has two sides. Let’s call one side … Side A and the other side … Side B. Do the following steps with Side A of the wire. 

1.Remove the plastic cover from the cable up to two inches. You will see 4 twisted pairs (a total of 8 wires). In each twisted pair, one wire will be colored and the other will be white.

 For example, one will be Green and the other will be White having Green marks. The latter is called GreenWhite. Similarly, there will be Brown wire twisted with Brown-White, Blue wire twisted with Blue-White, Orange twisted with Orange-White. This can be seen in Figure 2.3. 

internet cable

Untwist the wires and make them smooth (don’t remove the plastic covers from the metal wires). 

1.Arrange the wires in the order: Orange-White, Orange, Green-White, Blue, Blue-White, Green, Brown-White, and Brown.


Pin ID             Side A                Side B

1          Orange-White             Orange-White
2              Orange                Orange
3           Green-White                  Green-White
4                    Blue                    Blue
5             Blue-White                 Blue-White
6                   Green                      Green
7              Brown-White         Brown-White
8                    Brown                    Brown


2.Cut the wires in a straight fashion and insert them in the RJ-45 Jack. 

3.Using the Crimping tool, punch it properly. Perform Steps 1-5 for Side B. 




Monday, 21 December 2020

Network Basic Commands: TCP/IP Configuration & Troubleshooting

 Objectives 

  • Identify tool used for discovering a computer’s network configuration,  
  • Gather information, including the connection, hostname, MAC (Layer2) address, and TCP/IP Network (Layer 3),  
  • Compare the network information to that of other PC’s on the network.  

Background 

You will need a Windows machine (NT/2000/XP/7/8) for this lab with MS-DOS prompt. The lab will not affect any of the network settings on your computer. 
You will perform this lab on a computer(s) connected to a Local Area Network (LAN) which is also connected to the global Internet. You can use a single remote connection via a dial-up modem, DSL, or any other. You will need the IP address information which the instructor should provide. If you are using Windows 98/Me, consult your instructor.  

Step 1:   

Connect to the Internet. Establish and verify connectivity to the Internet. This step ensures the computer has an IP address. 

Step 2: 

 
 Gather TCP/IP configuration information. 

a.Use the Start menu to open the command-prompt (Start> Programs> Accessories> Command Prompt or Start>Programs>Command Prompt). 

b.Type ipconfig and press the Enter key. Remember that the command ipconfig is not case sensitive. 

ip config


Above the picture, the screen shows the IP configuration of the computer. It has an Ethernet adapter Local Area Connection where the Media State is disconnected. Note that if you are running the command on a PC connected to a wired LAN, the command will show IP configuration for this interface. Since the machine on which the command was run is connected to the WLAN, therefore, it shows the IP address, subnet mask, and the default gateway for the Wireless LAN (Wifi) interface. The IP address and the default gateway should be in the same network or subnet; otherwise, this host wouldn’t be able to communicate outside the network.