To share data and network resources among the computers in a network is known as networking. Computer networking is a core part of the whole information technology field because without it computers can never communication with each other locally and remotely. Just image that if you work in a bank or in a corporate office and all the computers in your office are without networking. How difficult it would be for you and for the other employees of your office to communications, shares data such as word documents, financial reports, client’s feedback, graphical reports and other important work with the other employees.
Put the same scenario if your office has different branches in the same country and different countries. Data communication has become the vital part of the whole computing industry. There are different standards, protocols, devices and applications that form computer network architecture. With the passage of time there are improved standards, communication devices and network applications that make the data communication processor easier. Following is the basic review of the important things that are involved in the data communication system.
TCP/IP
Protocols are the set of rules, agree upon ways and communication standards that computer and devices use to communication with each other. TCP/IP stands for transmission control protocol/Internet protocol. TCP/IP is the standard protocol for network communication in LAN or WAN. All the devices and applications have to follow to same protocols to make network communication system.
Communication Devices
There are certain devices that are used in LAN/MAN/WAN and wireless networking. The most important devices are router, switch, hub, modem, NIC adapter, access points, broadband router and communication cables. Hub/Switch is a centralized device in a LAN and all the computers connect with the Hub/Switch. In case of failure of Hub/Switch the whole communication stops. Router routes the traffic to the destination based on the IP address of the source and destination computer. With the help of the routing table, the router chooses the best short possible path for data to be sent to its destination. Wireless routers and access points are used in the wireless networking.
Types of Networking
There are three main types of the computer networking such as LAN, MAN and WAN. A LAN covers a room or a building. A MAN covers a network in a city and a WAN covers wide areas such as in a city, country or a network between two or more countries. A LAN can be wired or wireless, MAN can be wired or Wireless and WAN can be through wireless communication technologies such as ISDN lines, frame relay and ATM.
Wireless Networking
Wireless networks are replacing the wired networks rapidly. The administrative control becomes less due to the removal of the bundle of cables in wireless network. The key components are wireless router, access points and PCMCIA LAN cards.
OSI Layers Model
To understand the communication process make the data communication process standardized, the ISO developed the OSI (open system interconnectivity, which defines the seven layers of the OSI model. These seven layers include Application, Presentation, Session, Transport, Network, Data Link and Physical layer. The detail on the OSI seven layers is covered in the separate topic of this website.
DHCP
DHCP stands for the dynamic host configuration protocol. As we know that a unique IP address is a must for communication in LAN, WAN or internet. Assume you are given the task to assign IP addresses to the 10,000 computers in a network. How would you assign? DHCP answers this questions and it assigns the unique IP addresses to all the computers from a given range. There is an administrative control and you can block, assign, lease, renew, specify duration for the IP address and you also do the many other administrative tasks on the DHCP.
DNS
DNS stands for domain name system. DNS translates (converts) the host name into the IP address and IP address into the host name. One thing is clear that the communication in a LAN private WAN or internet is based on the IP addresses. On internet every IP address is associated with the domain name let’s say assume that the IP address 120.1.1.1. is assigned to www.yahoo.com, 12.1.2.3 is assigned to www.google.com and 35.22.32.5 is assigned to www.msn.com and so on. Just imagine that how many IP addresses you can remember 1, 2, 5, 10, 50, 100 or 1000. IP addresses are actually difficult to remember and domain names are easy so every IP address on the internet is associated with a domain name.
Wi-Fi
Wireless fidelity is a base band wireless networking technology that provides high speed internet connectivity to the offices and home users.
Wi-Max
Wi-Max is an advance broadband wireless network technology that provides very high speed up to 70 Mbps. Wi-Max is designed for the corporate office, roaming and home users.
Internet is an example of Network
Internet is the largest network in the work. Millions of computers from all over the world are internetworked with each other and are the part of the internet. The resources hosted on one computer in one part of the world such as web pages, songs files, graphics, video files, documents and images are accessible to the users in another part of the world.
Showing posts with label TCP/ip. Show all posts
Showing posts with label TCP/ip. Show all posts
Wednesday, January 27, 2010
WAN Introduction
Labels:
networking,
networking introduction,
TCP/ip,
wan,
wan introduction,
wi-max,
wifi
Tuesday, January 26, 2010
TCP/IP Transport Layer
The TCP/IP application layer includes a relatively large number of protocols, with HTTP being only one of those. The TCP/IP transport layer consists of two main protocol options the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP). To get a true appreciation for what TCP/IP transport layer protocols do, read post Fundamentals of TCP and UDP. However, in this post, you will learn about one of the key features of TCP, which enables us to cover some more general concepts about how networking models behave.
To appreciate what the transport layer protocols do, you must think about the layer above the transport layer, the application layer. Why? Well, each layer provides a service to the layer above it. For example, in Figure 2-2, Bob and Larry used HTTP to transfer the home page from Larry to Bob. But what would have happened if Bob’s HTTP get request was lost in transit through the TCP/IP network? Or, what would have happened if Larry’s response, which includes the contents of the home page, was lost? Well, the page would not show up in Bob’s browser, as you might expect.
So, TCP/IP needs a mechanism to guarantee delivery of data across a network. TCP provides that feature by using acknowledgments. Figure 2-3 outlines the basic acknowledgment logic.
As Figure 2-3 shows, the HTTP software asks for TCP to reliably deliver the HTTP get request. TCP sends the HTTP data from Bob to Larry, and the data arrives successfully.
Larry’s TCP software acknowledges receipt of the data and also gives the HTTP get request to the web server software. The reverse happens with Larry’s response, which also arrives at Bob successfully.

Figure 2-3 TCP Services Provided to HTTP
Of course, the benefits of TCP error recovery cannot be seen unless the data is lost. Fundamentals of TCP and UDP covers TCP, including error recovery, in detail. For now, assume that if either transmission had been lost, that HTTP would not be concerned, and that TCP would resend the data and ensure that it was received successfully.
This example outlines the concepts of how adjacent layers in a networking model work together on the same computer. The higher-layer protocol (HTTP) needs to do something it cannot do (error recovery). So, the higher layer asks for the next lower-layer protocol (TCP) to perform the service, and the next lower layer performs the service. The lower layer provides a service to the layer above it.
Table 2-3 summarizes the key points about how adjacent layers work together on a single computer and how one layer on one computer works with the same networking layer on another computer.

Table 2-3 Summary: Same-Layer and Adjacent-Layer Interactions
The TCP/IP transport layer provides services to the various application layer protocols. Error recovery, as performed by TCP, is one feature. This layer also provides other functions.
All the examples describing the application and transport layers ignored many details relating to the physical network. The application and transport layers purposefully were defined to work the same, way whether the endpoint host computers were on the same LAN or were separated by the Internet. The lower two layers of TCP/IP, the internetwork layer and the network interface layer, must understand the underlying physical network because they define the protocols used to deliver the data from one host to another.
To appreciate what the transport layer protocols do, you must think about the layer above the transport layer, the application layer. Why? Well, each layer provides a service to the layer above it. For example, in Figure 2-2, Bob and Larry used HTTP to transfer the home page from Larry to Bob. But what would have happened if Bob’s HTTP get request was lost in transit through the TCP/IP network? Or, what would have happened if Larry’s response, which includes the contents of the home page, was lost? Well, the page would not show up in Bob’s browser, as you might expect.
So, TCP/IP needs a mechanism to guarantee delivery of data across a network. TCP provides that feature by using acknowledgments. Figure 2-3 outlines the basic acknowledgment logic.
As Figure 2-3 shows, the HTTP software asks for TCP to reliably deliver the HTTP get request. TCP sends the HTTP data from Bob to Larry, and the data arrives successfully.
Larry’s TCP software acknowledges receipt of the data and also gives the HTTP get request to the web server software. The reverse happens with Larry’s response, which also arrives at Bob successfully.

Figure 2-3 TCP Services Provided to HTTP
Of course, the benefits of TCP error recovery cannot be seen unless the data is lost. Fundamentals of TCP and UDP covers TCP, including error recovery, in detail. For now, assume that if either transmission had been lost, that HTTP would not be concerned, and that TCP would resend the data and ensure that it was received successfully.
This example outlines the concepts of how adjacent layers in a networking model work together on the same computer. The higher-layer protocol (HTTP) needs to do something it cannot do (error recovery). So, the higher layer asks for the next lower-layer protocol (TCP) to perform the service, and the next lower layer performs the service. The lower layer provides a service to the layer above it.
Table 2-3 summarizes the key points about how adjacent layers work together on a single computer and how one layer on one computer works with the same networking layer on another computer.

Table 2-3 Summary: Same-Layer and Adjacent-Layer Interactions
The TCP/IP transport layer provides services to the various application layer protocols. Error recovery, as performed by TCP, is one feature. This layer also provides other functions.
All the examples describing the application and transport layers ignored many details relating to the physical network. The application and transport layers purposefully were defined to work the same, way whether the endpoint host computers were on the same LAN or were separated by the Internet. The lower two layers of TCP/IP, the internetwork layer and the network interface layer, must understand the underlying physical network because they define the protocols used to deliver the data from one host to another.
TCP/IP Internetwork Layer
Imagine that you just wrote a letter to your favorite person on the other side of the country and that you also wrote a letter to someone on the other side of town. It’s time to send the letters. Is there much difference in how you treat each letter? Not really. You put different addresses on the envelope for each letter because the letters need to go to two different places. You put stamps on both letters and put them in the same mailbox. The postal service takes care of all the details of figuring out how to get each letter to the right place whether it is across town or across the country.
Inside the postal service, both letters are processed. One letter gets sent to another post office, then another, and so on, until the letter gets delivered across the country. The local letter might go to the post office in your town and then simply be delivered to your friend across town, without going to another post office.
So what does this all matter to networking? Well, the internetwork layer of the TCP/IP networking model, the Internet Protocol (IP), works much like the postal service. IP defines addresses so that each host computer can have a different IP address, just like the postal service defines addressing that allows unique addresses for each house, apartment, and business. Similarly, IP defines the process of routing so that devices called routers (ingenious name, huh?) can choose where to send packets of data so that they are delivered to the correct destination. Just like the postal service created the necessary post offices, sorting machines, trucks, and personnel to deliver the mail, the internetwork layer defines much of the details needed to implement the necessary networking infrastructure.
Chapter 5, Fundamentals of IP, describes the TCP/IP Internetwork layer further, with other details scattered throughout the book. But to help you understand the basics of the internetwork layer, take a look at Bob’s request for Larry’s home page, now with some information about IP, in Figure 2-4.
First, some basic information about the figure will help. The LAN cabling details are not important for this example, so both LANs simply are represented by the lines shown near Bob and Larry, respectively. When Bob sends the data, he is sending an IP packet, which includes the IP header, the transport layer header (TCP, in this example), the application header (HTTP, in this case), and any application data (none, in this case). The IP header includes both a source and a destination IP address field, with Larry’s IP address as the destination address and Bob’s as the source.

Figure 2-4 IP Services Provided to TCP
Bob sends the packet to R2, which makes a routing decision. R2 chooses to send the packet to R1 because the destination address of the packet is 1.1.1.1, and R1 knows enough about the network topology to know that 1.1.1.1 (Larry) is on the other side of R1. Similarly, when R1 gets the packet, it forwards the packet over the Ethernet to Larry. And if the link between R2 and R1 fails, IP allows R2 to learn of the alternate route through R3 to reach 1.1.1.1.
IP defines logical addresses, called IP addresses, that allow each TCP/IP speaking device (called IP hosts) to communicate. It also defines routing the process of how a router should forward, or route, packets of data. Other protocol specifications, like OSI, have different protocols that also define addressing and routing.
Inside the postal service, both letters are processed. One letter gets sent to another post office, then another, and so on, until the letter gets delivered across the country. The local letter might go to the post office in your town and then simply be delivered to your friend across town, without going to another post office.
So what does this all matter to networking? Well, the internetwork layer of the TCP/IP networking model, the Internet Protocol (IP), works much like the postal service. IP defines addresses so that each host computer can have a different IP address, just like the postal service defines addressing that allows unique addresses for each house, apartment, and business. Similarly, IP defines the process of routing so that devices called routers (ingenious name, huh?) can choose where to send packets of data so that they are delivered to the correct destination. Just like the postal service created the necessary post offices, sorting machines, trucks, and personnel to deliver the mail, the internetwork layer defines much of the details needed to implement the necessary networking infrastructure.
Chapter 5, Fundamentals of IP, describes the TCP/IP Internetwork layer further, with other details scattered throughout the book. But to help you understand the basics of the internetwork layer, take a look at Bob’s request for Larry’s home page, now with some information about IP, in Figure 2-4.
First, some basic information about the figure will help. The LAN cabling details are not important for this example, so both LANs simply are represented by the lines shown near Bob and Larry, respectively. When Bob sends the data, he is sending an IP packet, which includes the IP header, the transport layer header (TCP, in this example), the application header (HTTP, in this case), and any application data (none, in this case). The IP header includes both a source and a destination IP address field, with Larry’s IP address as the destination address and Bob’s as the source.

Figure 2-4 IP Services Provided to TCP
Bob sends the packet to R2, which makes a routing decision. R2 chooses to send the packet to R1 because the destination address of the packet is 1.1.1.1, and R1 knows enough about the network topology to know that 1.1.1.1 (Larry) is on the other side of R1. Similarly, when R1 gets the packet, it forwards the packet over the Ethernet to Larry. And if the link between R2 and R1 fails, IP allows R2 to learn of the alternate route through R3 to reach 1.1.1.1.
IP defines logical addresses, called IP addresses, that allow each TCP/IP speaking device (called IP hosts) to communicate. It also defines routing the process of how a router should forward, or route, packets of data. Other protocol specifications, like OSI, have different protocols that also define addressing and routing.
TCP/IP Network Interface Layer
The network interface layer defines the protocols and hardware required to deliver data across some physical network. The term network interface refers to the fact that this layer defines how to connect the host computer, which is not part of the network, to the network; it is the interface between the computer and the network. For instance, Ethernet is one example protocol at the TCP/IP network interface layer. Ethernet defines the required cabling, addressing, and protocols used to create an Ethernet LAN. Likewise, the connectors, cables, voltage levels, and protocols used to deliver data across WAN links are defined in a variety of other protocols that also fall into the network interface layer.
Just like every layer in any networking model, the TCP/IP network interface layer provides services to the layer above it in the model. The best way to understand the basics of the TCP/IP network interface layer is to examine the services that it provides to IP.
IP relies on the network interface layer to deliver IP packets across each physical network. IP understands the overall network topology, things such as which routers are connected to each other, which host computers are connected to which networks, and what the IP addressing scheme looks like. However, the IP protocol purposefully does not include the details about each of the underlying physical networks. Therefore, the Internet layer, as implemented by IP, uses the services of the network interface layer to deliver the packets over each physical network, respectively.
The network interface layer includes a large number of protocols. For instance, the network interface layer includes all the variations of Ethernet protocols and other LAN standards. This layer also includes the popular WAN standards, such as the Point-to-Point Protocol (PPP) and Frame Relay. The same familiar network is shown in Figure 2-5, with Ethernet and PPP used as the two network interface layer protocols.

To fully appreciate Figure 2-5, first think a little more deeply about how IP accomplishes its goal of delivering the packet from Bob to Larry. Bob wants to send the IP packet to Larry, but it must first do so by sending the packet to R2. Bob uses Ethernet to get the packet to R2. At R2, R2 strips the Ethernet header and trailer from the IP packet. To get the IP packet from R2 to R1, R2 does not need to use Ethernet–it instead needs to use the PPP serial link. To send the IP packet from R2 to R1, R2 needs to place a PPP header in front of the IP packet and a PPP trailer at the end. Similarly, after the packet is received by R1, R1 removes the PPP header and trailer because PPP’s job is to get the IP packet across the serial link. R1 then decides that it should forward the packet over the Ethernet to Larry. To do so, R1 adds a brand-new Ethernet header and trailer to the packet and forwards it to Larry.
In effect, IP uses the network interface layer protocols to deliver the IP packet to the next router or host, with each router repeating the process until the packet arrives at the destination. Each network interface protocol uses headers to encode the information needed to successfully deliver the data across the physical network, much like other layers use headers to achieve their goals.
CAUTION
Many people describe the network interface layer of the TCP/IP model as two layers, the data link layer and the physical layer. The reasons for the popularity of these alternate terms are explained in the section covering OSI because the terms originated with the OSI model.
In short, the TCP/IP Network Interface layer includes the protocols, cabling standards, headers and trailers that define how to send data across a wide variety of types of physical networks.
Just like every layer in any networking model, the TCP/IP network interface layer provides services to the layer above it in the model. The best way to understand the basics of the TCP/IP network interface layer is to examine the services that it provides to IP.
IP relies on the network interface layer to deliver IP packets across each physical network. IP understands the overall network topology, things such as which routers are connected to each other, which host computers are connected to which networks, and what the IP addressing scheme looks like. However, the IP protocol purposefully does not include the details about each of the underlying physical networks. Therefore, the Internet layer, as implemented by IP, uses the services of the network interface layer to deliver the packets over each physical network, respectively.
The network interface layer includes a large number of protocols. For instance, the network interface layer includes all the variations of Ethernet protocols and other LAN standards. This layer also includes the popular WAN standards, such as the Point-to-Point Protocol (PPP) and Frame Relay. The same familiar network is shown in Figure 2-5, with Ethernet and PPP used as the two network interface layer protocols.

To fully appreciate Figure 2-5, first think a little more deeply about how IP accomplishes its goal of delivering the packet from Bob to Larry. Bob wants to send the IP packet to Larry, but it must first do so by sending the packet to R2. Bob uses Ethernet to get the packet to R2. At R2, R2 strips the Ethernet header and trailer from the IP packet. To get the IP packet from R2 to R1, R2 does not need to use Ethernet–it instead needs to use the PPP serial link. To send the IP packet from R2 to R1, R2 needs to place a PPP header in front of the IP packet and a PPP trailer at the end. Similarly, after the packet is received by R1, R1 removes the PPP header and trailer because PPP’s job is to get the IP packet across the serial link. R1 then decides that it should forward the packet over the Ethernet to Larry. To do so, R1 adds a brand-new Ethernet header and trailer to the packet and forwards it to Larry.
In effect, IP uses the network interface layer protocols to deliver the IP packet to the next router or host, with each router repeating the process until the packet arrives at the destination. Each network interface protocol uses headers to encode the information needed to successfully deliver the data across the physical network, much like other layers use headers to achieve their goals.
CAUTION
Many people describe the network interface layer of the TCP/IP model as two layers, the data link layer and the physical layer. The reasons for the popularity of these alternate terms are explained in the section covering OSI because the terms originated with the OSI model.
In short, the TCP/IP Network Interface layer includes the protocols, cabling standards, headers and trailers that define how to send data across a wide variety of types of physical networks.
Subscribe to:
Posts (Atom)