






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







When data is sent over a computer network, it is broken up into small chunks called packets. Each packet contains source and destination address information. The packet, along with the address information, is called a frame. It also contains information that describes how to put all of the packets back together again at the destination. The bandwidth determines the number of packets that can be transmitted within a fixed period of time. Bandwidth is measured in bits per second and is usually denoted by any of the following units of measure:
The data that is transmitted over the network can flow using one of three modes: simplex, half-duplex, or full-duplex. Simplex Simplex, also called unidirectional, is a single, one-way transmission. An example of simplex transmission is the signal that is sent from a TV station to your home TV.
Half-Duplex When data flows in one direction at a time it is known as half-duplex, as shown in the figure. With half-duplex, the channel of communications allows alternating transmission in two directions, but not in both directions simultaneously. Two-way radios, such as police or emergency communications mobile radios, work with half-duplex transmissions. When you press the button on the microphone to transmit, you cannot hear the person on the other end. If people at both ends try to talk at the same time, neither transmission gets through. Full-Duplex When data flows in both directions at the same time it is known as full-duplex, as shown in the figure. Although the data flows in both directions, the bandwidth is measured in only one direction. A network cable with 100 Mb/s in full-duplex mode has a bandwidth of 100 Mb/s. A telephone conversation is an example of full-duplex communication. Both people can talk and be heard at the same time. Full-duplex networking technology increases network performance because data can be sent and received at the same time. Broadband technologies, such as digital subscriber line (DSL) and cable, operate in full-duplex mode. Broadband technology allows multiple signals to travel on the same wire simultaneously. With a DSL connection, for example, users can download data to the computer and talk on the telephone at the same time.
Transmission Control Protocol/Internet Protocol (TCP/IP) defines the rules computers must follow to communicate with each other over the Internet. TCP is the primary Internet protocol for the reliable delivery of data. IP provides an addressing structure that is responsible for delivering data from the source computer to the destination computer. An IP address is a number that is used to identify a device on the network. Each device on a network must have a unique IP address to communicate with other network devices. As noted earlier, a host is a device that sends or receives information on the network. Network devices are devices that move data across the network.
The logical 32-bit IPv address is hierarchical and is composed of two parts. The first part identifies the network, and the second part identifies a host on that network. Both parts are required. For example, if a host has the IPv4 address 192.168.18.57, the first three octets, 192.168.18, identify the network portion of the address, and the last octet, 57 identifies the host. This is known as hierarchical addressing, because routers only need to communicate with networks and not individual hosts. A router is a networking device that forwards data packets across networks toward their destinations. IPv4 addresses are divided into the following classes:
Working with 128-bit numbers is difficult, so the IPv6 address notation represents the 128 bits as 32 hexadecimal values. The 32 hexadecimal values are further subdivided into eight fields of four hexadecimal values, using colons as delimiters. Each field of four hexadecimal values is called a block. The IPv6 address has a three-part hierarchy, as shown. The global prefix, also called a site prefix, is the first three blocks of the address and is assigned to an organization by an Internet names registry. The subnet ID includes the fourth block of the address, and the interface ID includes the last four blocks of the address. The network administrator controls both the subnet and interface ID. As an example, if a host has an IPv6 address 3ffe:6a88:85a3:08d3:1319:8a2e:0370:7344, the global prefix address is 3ffe:6a88:85a3, the subnet ID address is 08d3, and the interface ID address is 1319:8a2e:0370:7344. An IPv6 address can be abbreviated with the following rules:
Start > Control Panel > Network Connections > right-click Local Area Connection > Properties > TCP/IP > Properties > Use the following IP address > Use the following DNS server addresses > OK > OK
If more than a few computers are a part of the LAN, manually configuring IP addresses for every host on the network can be time consuming and prone to errors. A Dynamic Host Configuration Protocol (DHCP) server automatically assigns IP addresses, which simplifies the addressing process. Automatically configuring TCP/IP also reduces the possibility of assigning duplicate or invalid IP addresses. The DHCP server maintains a list of IP addresses to assign and manages the process so that every device on the network receives a unique IP address. When the DHCP server receives a request from a host, the server selects IP address information from a set of predefined addresses that are stored in a database. When the IP address information is selected, the DHCP server offers these values to the requesting host on the network. If the host accepts the offer, the DHCP server assigns the IP address for a specific period of time. This is called leasing. When the lease expires, the DHCP server can use this address for another computer that joins the network. A device, however, can renew its lease to retain the IP address. Before a computer on the network can take advantage of the DHCP services, the computer must be able to identify the server on the local network. A computer can be configured to accept an IP address from a DHCP server by selecting the Obtain an IP address automatically option in the NIC configuration window, as shown in Figure 1. When a computer is set to obtain an IP address automatically, all other IP addressing configuration boxes are not available. The DHCP settings are configured the same for a wired or wireless NIC. A computer continually requests an IP address at 5-minute intervals from a DHCP server. If your computer cannot communicate with the DHCP server to obtain an IP address, the Windows OS automatically assigns a link-local IP. If your computer is assigned a link-local IP address, which is in the range of 169.254.0.0 to 169.254.255.255, your computer can only communicate with computers connected to the same network within this IP address range. A DHCP server automatically assigns the following IP address configuration information to a host:
In Windows 7, use the following path: Start > Control Panel > Network and Sharing Center > Change adapter setting > right-click Local Area Connection > Properties > TCP/IPv4 > Properties > select radio button **Obtain an IP address automatically > OK
OK** In Windows Vista, use the following path: Start > Control Panel > Network and Sharing Center > Manage network connections > right-click Local Area Connection > Properties TCP/IPv4 > Properties > select radio button Obtain an IP address automatically > OK > OK In Windows XP, use the following path: Start > Control Panel > Network Connections > right-click Local Area Connection > Properties > TCP/IP > Properties > select radio button Obtain an IP address automatically > OK > OK Configuring Alternate IP Settings Setting up an alternate IP configuration in Windows simplifies moving between a network that requires using DHCP and a network that uses static IP settings. If a computer cannot communicate with the DHCP server on the network, Windows uses the alternate IP configuration assigned to the NIC. The alternate IP configuration also replaces the Automatic IP Addressing (APIPA) address that is assigned by Windows when a DHCP server cannot be contacted. To create the alternate IP configuration, as shown in Figure 3, click the Alternate Configuration tab located in the NIC Properties window. To access a DNS server, a computer uses the IP address
configured in the DNS settings of the NIC in the computer. DNS resolves or maps host names and URLs to IP addresses. All Windows computers contain a DNS cache that stores host names that have recently been resolved. The cache is the first place that the DNS client looks for host name resolution. Because it is a location in memory, the cache retrieves resolved IP addresses more quickly than using a DNS server and does not create network traffic.
Internet Control Message Protocol (ICMP) is used by devices on a network to send control and error messages to computers and servers. There are several different uses for ICMP, such as announcing network errors, announcing network congestion, and troubleshooting. Ping is commonly used to test connections between computers. Ping is a simple but highly useful command-line utility used to determine whether a specific IP address is accessible. To see a list of options that you can use with the ping command, type C:> ping /? in the Command Prompt window.
These are the main functions of protocols:
When the TCP/IP protocol stack is enabled, other protocols can communicate on specific ports. For example, HTTP uses port 80 by default. A port is a numeric identifier used to keep track of specific conversations. Every message that a host sends contains both a source and destination port. Network software applications use these protocols and ports to perform functions over the Internet or over a network. Some network software applications include services to host a web page, send email, and transfer files. These services may be provided by a single server or by several servers. Clients use well-known ports for each service so that the client requests can be identified by using a specific destination port.
To understand how networks and the Internet work, you must be familiar with commonly used protocols and associated ports. Some uses of these protocols are to connect to a remote network device, convert a website URL to an IP address, and transfer data files. You will encounter other protocols as your experience in IT grows, but they are not used as often as the common protocols described here. The figure summarizes some of the more common network and Internet protocols, and the port number used by these protocols. The more you understand about each of these protocols, the more you will understand how networks and the Internet work.