Documente Academic
Documente Profesional
Documente Cultură
Network Basics *
Txell Rojo
This work is produced by OpenStax-CNX and licensed under the
Creative Commons Attribution License 3.0
Abstract
This module explain the basics of Network technology. At the end of this module you will know: What
is a Network Distinguish between LAN and WLAN Distinguish Infrastructure and Ad-hoc Connections
Identify components of a Network (devices, router, hub, switch) Understand Network concepts: IP,
Subnet, DHCP, Bonour, etc.
Introduction
BENEFITS OF CREATING A NETWORK:
• A better way to manage and share information.
• Allows to share a single resource by multiple users.
• Centralized administration and control.
Typesof networks
There are two types of networks that can be used in the home:
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 2
1 Ad hoc1
2 Infrastructure2
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 3
Hub
• the most simple way to interconnect several network elements. They consist of a set of Ethernet RJ-45
plugs, in which we will connect every network member.
• It does not analyze the information packets. When a component wants to send or get information
from another one, it sends it to the Hub, which then forwards it to all the network elements
connected to the hub, except the sender. All the elements will
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 4
• ignore this information but the destination, so this ends in a lot of unsolicited network trac.
•
Switch
• Switches are capable to check the information frames that reach them, and nd out (always
who is the source and destination in the LAN
in the physical and link layer)
• This is possible because switches read the devices' MAC adress, therefore indientify the physical
connector in which the divice is plugged.
• Switches are capable of sending the information only to the necessary members of the LAN,
creating data paths.
Router
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 5
• Routers are physical devices that handle communication at the Network Layer. They usually work
with TCP/IP, the most widely used network protocol.
• They are intelligent devices that are capable to route the trac to specic network ad-
dresses (IP), or lter the incoming and outgoing trac by using routing tables
NETWORK CONCEPTS
GENERAL
• TCP/ IP
• Subnet mask
• Gateway
• DHCP
• Bonjour
• MAC ADRESS
3 NETWORK CONCEPTS: IP
Every device on a home network has an IP address. IP stands for Internet Protocol. The IP
address is a unique code that identies a particular device (such as a computer or printer)
on a network. Every device requires an IP address to connect to the network because it is the way it
communicates.
IP addresses consist of four sets of numbers from 0 to 255, separated by three dots. For example
198.162.0.1 or 66.239.115.148
TCP/IP: Abbreviation of Transmission Control Protocol / Internet Protocol, it is the most common
network protocol now days. It is used in the Internet, and due to its stability and great performance, it has
been adopted as the network standard protocol for all the network congurations or topologies.
It is based on the division of the information in small pieces called packets, which allows to send
big amounts of information in several parts, that are afterwards joined to create the complete le. This
method optimizes the network performance, allowing network bandwidth to be shared among the dierent
network members.
For example:
255.255.255.0
255.255.0.0
255.0.0.0
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 6
5 TYPES OF NETWORKS:
• Class A: Network.Host.Host.Host . Up to 16 million devices. Therefore they can't be used for LANs.
127.x.x.x
255.0.0.0
• Class B: Network.Network.Host.Host. These networks use half of the IP address to identify the
network, and the other half for identifying every host. Up to 6536 devices.
10.10.x.x
255.255.0.0
192.168.1.x
255.255.255.0
6 Gateway
• A gateway is a network hardware or software that allows communication between two networks
using dierent protocols. For example, an Ethernet and a Wireless Network cannot communicate
each other unless a sort of device translates either physical protocol. The gateway is the bridge to a
dierent network. It is usually a router, or a deviceacting as a router.
• In the TCP/IP conguration, the default gateway is the IP address of a computer or router
that will receive all the transmission requests that could not nd their destination among the members
of the subnet. It is like the exit of a network. This IP address can be the same for every network
member
7 types of IP
A device can be assigned an IP address in one of three ways:
• Manually by a network administrator, called a static IP address because it does not change.
•
• Automatically by the router running Dynamic Host Conguration Protocol ( DHCP) software.
When the router automatically assigns each device its own unique IP address, this is called Dynamic
Dynamic IP address.
Routing or a
• Automatically by the device itself. If a device is set to automatically accept a dynamic IP address,
and a DHCP connection is not available, the device assigns itself an IP address. This is called an auto
IP address. Auto IP addresses are in the range of 169.254.0.0 to 169.254.255.255.
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 7
PROTOCOL COMPATIBILITY
802.11a Not compatible with 802.11b, as it transmits at 5
GHz. Compatiblewith newer 802.11g devices that
provide 5 GHz capability.
Table 1
http://cnx.org/content/m45052/1.1/
OpenStax-CNX module: m45052 8
10 WLAN: SSID
• SSID: Every physical wireless network is uniquely identied by a name called SSID, which is like the
wireless network plug, in which a network member is connected. It is only possible to connect to a
single SSID a time
11 WLAN: SECURITY
Many techniques are available to secure a wireless home network.
Encryptions:
• WEP (moderate security) : Wired Equivalent Privacy. This encryption standard was the original
encryption standard for wireless. WEP was originally designed to provide the same level of security
that is provided by a wired network, however WEP has since been compromised and can be relatively
easy to break (nd the key).
• WPA: Wi-Fi Protected Access is considered a much more secure encryption method over WEP. WPA2
is the latest version of WPA. Note that some early network products will only support WEP which is
why some users still use it.
The MAC address of the device must be entered in the EWS of the router in order it allows it to enter the
Network.
EWS
EWS Embedded Web Server. A web server that exists within a device such as a router that allows you
to congure settings for security and other things. The EWS of a device can be accessed by opening a web
browser and entering the IP address of the device into the address box of the browser (where you would
normally enter URLs to access web sites).
http://cnx.org/content/m45052/1.1/