This book describes the TCP/IP protocol suite, but from a different perspective than other
texts on TCP/IP. Instead of just describing the protocols and what they do, we'll use a
popular diagnostic tool to watch the protocols in action. Seeing how the protocols operate in
varying circumstances provides a greater understanding of how they work and why certain
design decisions were made. It also provides a look into the implementation of the protocols,
without having to wade through thousands of lines of source code....
Introduction to TCP/IP Networking Network Model TCP/IP Terms Host Names Internet Addresses Subnet Addresses Internet Addresses to host name mapping Quiz# 1 Routing TCP/IP Daemons TCP/IP Information files TCP/IP Local Information files ifconfig mkhosts route Quiz# 2 TCP installed links Internet Services Common internet services error messages Trouble shooting commands ping netstat Trouble shooting Techniques
Introduction to TCP/IP
Chapter 4 introduction to TCP/IP protocols. Objectives in this chapter: Identify and explain the functions of the core TCP/IP protocols; explain how the TCP/IP protocols correlate to layers of the OSI model, discuss addressing schemes for TCP/IP in IPv4 and IPv6 protocols,... Inviting you to refer.
Chapter summary: The TCP/IP protocols were developed to support systems that use any computing platform or operating system; the TCP/IP protocol stack consists of four layers: link, internet, transport, and application; IP uses the ARP protocol to resolve IP addresses into the hardware addresses needed for data-link layer protocol communications;...and other contents.
Learning objectives of this chapter include: Understand the architecture of the OSI model, understand the layers of the OSI model and their functions, understand the architecture of the TCP/IP Protocol Suite, differentiate between the OSI model and the TCP/IP Suite, differentiate between the three types of Internet addresses.
The chapter has several objectives: To discuss SNMP as a framework for managing devices in an internet using the TCP/IP protocol suite; to define a manager as a host that runs SNMP client and any agents as a router or host that runs a server program; discuss SMI and MIB, which are used by SNMP; to show how SMI names objects, defines the type of data, and encodes data;...
Chapter 2 - The OSI model and the TCP/IP protocol suite. Upon completion you will be able to: Understand the architecture of the OSI model, understand the layers of the OSI model and their functions, understand the architecture of the TCP/IP Protocol Suite, differentiate between the OSI model and the TCP/IP Suite, differentiate between the three types of Internet addresses.
Nhiệm vụ của các tầng trong mô hình OSI có thể được tóm tắt như sau:
Tầng ứng dụng (Application layer – lớp 7): tầng ứng dụng quy định giao diện giữa người sử
dụng và môi trường OSI, nó cung cấp các phương tiện cho người sử dụng truy cập vả sử dụng
các dịch vụ của mô hình OSI. Điều khác biệt ở tầng này là nó không cung cấp dịch vụ cho bất
kỳ một tầng OSI nào khác ngoại trừ tầng ứng dụng bên ngoài mô hình OSI đang hoạt động. ...
Mạng chuyển mạch gói (packet switching network)
Vấn đề của Network layer
Cần có các phần tử mạng phân tán: switch and router
Large scale: nhiều user (con nguời & thiết bị truyền thông)
Địa chỉ hóa và định tuyến (addressing & routing)
Chức năng của Network layer
Routing: Cơ chế định tuyến cho các gói tin trong mạng
Forwarding: chuyển tiếp các gói tin qua các thiêt bị mạng
Priority & scheduling: xác định trật tự truyền các gói tin trong mạng
Congestion control, segmentation & reassem...
Tầng 1: Tầng vật lý (Physical Layer)
Tầng vật lý định nghĩa tất cả các đặc tả về điện và vật lý cho các thiết bị. Trong đó bao gồm bố trí của các chân cắm (pin), các hiệu điện thế, và các đặc tả về cáp nối (cable). Các thiết bị tầng vật lý bao gồm Hub, bộ lặp (repeater), thiết bị tiếp hợp mạng (network adapter) và thiết bị tiếp hợp kênh máy chủ (Host Bus Adapter)- (HBA dùng trong mạng lưu trữ (Storage Area Network)).
The primary duties of the transport layer, Layer 4 of the OSI model, are to transport and regulate the flow of information from the source to the destination, reliably and accurately. End-to-end control and reliability are provided by sliding windows, sequencing numbers, and acknowledgments
To understand reliability and flow control, think of someone who studies a foreign language for one year and then they visit the country where that language is used.
This chapter is an introduction to the application layer. In the next eight chapters we introduce common client-server applications used in the Internet. In this chapter, we give a general picture of how a client-server program is designed and give some simple codes of their implementation. The area of network programming is a very vast and complicated one; it cannot be covered in one chapter. We need to give a bird’s-eye view of this discipline to make the contents of the next eight chapters easier to understand.
Mobile communication has received a lot of attention in the last decade. The interest in mobile communication on the Internet means that the IP protocol, originally designed for stationary devices, must be enhanced to allow the use of mobile computers, computers that move from one network to another.
Chapter summary: Bridges selectively relay packets between network segments, depending on their data-link layer destination addresses; bridges maintain a single broadcast domain and create separate collision domains; switches improve on the function of bridges by forwarding packets only to their destination systems;...and other contents.
In this chapter, you will learn: Understand IPv4 addresses and classes, identify the class of an IP address, find the network address given an IP address, understand masks and how to use them, understand subnets and supernets.
When you finish this chapter, you should: Understand the concept of classless addressing, be able to find the first and last address given an IP address, be able to find the network address given a classless IP address, be able to create subnets from a block of classless IP addresses, understand address allocation and address aggregation.
This chapter describes the delivery and forwarding of IP packets. Delivery refers to the way a packet is handled by the underlying networks under the control of the network layer. Concepts such as direct and indirect delivery are discussed. Forwarding refers to the way a packet is delivered to the next station. We discuss two trends in forwarding: forwarding based on destination address of the packet and forwarding based on the label attached to the packet.
In this chapter students will be able to: Understand the format and fields of a datagram, understand the need for fragmentation and the fields involved, understand the options available in an IP datagram, be able to perform a checksum calculation, understand the components and interactions of an IP package.
Upon completion you will be able to: Be able to name and understand the services offered by TCP, understand TCP’s flow and error control and congestion control, be familiar with the fields in a TCP segment, understand the phases in a connection-oriented connection, understand the TCP transition state diagram, be able to name and understand the timers used in TCP, be familiar with the TCP options.
In this chapter we discuss our first client/server application program, Dynamic Host Configuration Protocol (DHCP). This application is discussed first because it is the first client/server application program that is used after a host is booted. In other words, it serves as a bootstrap when a host is booted and supposed to be connected to the Internet, but the host does not know its IP address.