LAN(local area network)
Is just two or more computers connected to one another with cables (Ethernet)or some times without cables(wireless).the connected computers can share resources. The resources that the computers share can be anything be it a printer,Internet access,disk space e.t.c.
Network hardware
Networks are made up of both hardware and software. The network hardware provides the physical connections between the network's various nodes and typically includes:
.Network Interface Cards (NICs), one for each PC
.Network devices such as hubs, bridges, routers and switches(if more than two pc are to be connected), that are together responsible for connecting the various segments of a network and for ensuring that packets of information are sent to the intended destination
.Network cables (sheathed copper wiring like telephone cords) which connect each network interface card or network card (NIC) to the hub or switch.
Network interface cards or Network cards (NICs)
Network interface cards or Network cards, commonly referred to as NICs, are used to connect a PC to a network. The NIC provides a physical connection between the networking medium and the computer's internal bus, and is responsible for facilitating an "access method" to the network (OSI Layers 1 and 2).
Most NICs are designed for a particular type of network, protocol, and media, although some can serve multiple networks. Cards are available to support almost all networking standards, including the latest Fast Ethernet environment. Fast Ethernet NICs are often 10/100 capable, and will automatically set to the appropriate speed. Full-duplex networking is another option, where a dedicated connection to a switch allows a NIC to operate at twice the speed.
Hubs/Repeaters
Hubs/repeaters are used to connect together two or more network segments of any media type. In larger designs, signal quality begins to deteriorate as segments exceed their maximum length. Hubs provide the signal amplification required to allow a segment to be extended a greater distance. Passive hubs simply forward any data packets they receive over one port from one workstation to all their remaining ports. Active hubs, also sometimes referred to as "multiport repeaters", regenerate the data bits in order to maintain a strong signal.

The above diagram shows the use of a hub in networking more than two computers
Crossed and Straight cables - when to use them
The following diagram shows the Normal use of Crossed and Straight cables (see also the notes below).

Notes: I show Straight cables as BLUE and Crossed as RED. This does not mean that the cable has to physically be blue or red in color. This is just to make it easier to identify which instance to use the straight or crossed cable.
Crossed cables:- are used for linking two pcs or devices of the same kind e.g a hub and a hub
straight cables:- are used for linking a pc to a hub or switch.


