Bài giảng Network - Chapter 09

Tài liệu Bài giảng Network - Chapter 09: Chapter Overview TCP/IP ServicesTCP/IP Utilities 1Automated TCP/IP Configuration Solutions Reverse Address Resolution Protocol (RARP)Bootstrap Protocol (BOOTP)Dynamic Host Configuration Protocol (DHCP) 2RARP Uses the same message format as Address Resolution Protocol (ARP)Designed for diskless workstationsSupplies an Internet Protocol (IP) address only No longer used 3RARP Communications 4BOOTP Supplies an IP address and other Transmission Control Protocol/Internet Protocol (TCP/IP) parametersCan supply an executable boot file using Trivial File Transfer Protocol (TFTP)Requires you to manually configure parameters for each clientCannot allocate IP addresses automaticallyCannot prevent IP address duplication 5DHCP Addresses the shortcomings of RARP and BOOTPDynamically allocates IP addresses from a poolReclaims unused addressesPrevents IP address duplicationSupplies all TCP/IP parameters 6DHCP Components ClientServerProtocol 7DHCP Address Allocation Types Manual allocationAutomatic allo...

ppt37 trang | Chia sẻ: honghanh66 | Lượt xem: 793 | Lượt tải: 0download
Bạn đang xem trước 20 trang mẫu tài liệu Bài giảng Network - Chapter 09, để tải tài liệu gốc về máy bạn click vào nút DOWNLOAD ở trên
Chapter Overview TCP/IP ServicesTCP/IP Utilities 1Automated TCP/IP Configuration Solutions Reverse Address Resolution Protocol (RARP)Bootstrap Protocol (BOOTP)Dynamic Host Configuration Protocol (DHCP) 2RARP Uses the same message format as Address Resolution Protocol (ARP)Designed for diskless workstationsSupplies an Internet Protocol (IP) address only No longer used 3RARP Communications 4BOOTP Supplies an IP address and other Transmission Control Protocol/Internet Protocol (TCP/IP) parametersCan supply an executable boot file using Trivial File Transfer Protocol (TFTP)Requires you to manually configure parameters for each clientCannot allocate IP addresses automaticallyCannot prevent IP address duplication 5DHCP Addresses the shortcomings of RARP and BOOTPDynamically allocates IP addresses from a poolReclaims unused addressesPrevents IP address duplicationSupplies all TCP/IP parameters 6DHCP Components ClientServerProtocol 7DHCP Address Allocation Types Manual allocationAutomatic allocationDynamic allocation 8Manual Allocation The administrator assigns a permanent IP address to the client.Manual allocation is used for computers that require permanent IP address assignments. 9Automatic Allocation The DHCP server assigns the client a permanent IP address chosen from a pool.Automatic allocation is used on networks where computers are rarely moved to other subnets. This minimizes DHCP traffic. 10Dynamic Allocation The DHCP server leases to the client an IP address chosen from a pool.The client must periodically renew the lease address.Unrenewed lease addresses are returned to the pool.Dynamic allocation allows you to add, remove, and relocate computers. 11The DHCP Message Format 12The DHCP Options Field Format 13DHCP Message Types 1—DHCPDISCOVER2—DHCPOFFER3—DHCPREQUEST4—DHCPDECLINE5—DHCPACK6—DHCPNAK7—DHCPRELEASE8—DHCPINFORM 14The DHCP Address Assignment Process 15The IP Address Leasing Process The address assignment process is the same for all of the allocation methods. Clients using manual or automatic allocation receive no further communication after the address assignment.Clients using dynamic allocation lease IP addresses for a time interval specified by the server. The client must renew the lease on a regular basis to continue using it.DHCP address leases are typically measured in days. If addresses are in short supply, a shorter lease interval is warranted.If computers are rarely moved to other subnets, longer lease intervals reduce the DHCP traffic. 16The DHCP Lease Renewal Process 17The HOSTS File A HOSTS file is a lookup table containing a list of host names and their equivalent IP addresses.Each computer has its own HOSTS file.As the Internet grew, the HOSTS file became impractical, and the Domain Name System (DNS) eventually replaced it. 18DNS Characteristics Defined in Request for Comments (RFC) 1034 and RFC 1035DNS defines A hierarchical namespace for computer networks A service for resolving names into IP addresses 19The DNS Namespace 20The DNS Name Resolution Process 21DNS Resource Record Types Record TypeFunctionStart of Authority (SOA)Indicates that the name server is the authoritative source for the domain Name Server (NS)Identifies the DNS servers in the domain Address (A)Contains a name-to-address mapping for a computer in the domain Canonical Name (CNAME)Creates an alternative (or alias) name for a computer already represented by an Address record Pointer (PTR)Contains an address-to-name mapping in in-addr.arpa for a computer in the domainMail Exchange (MX)Identifies a computer that is responsible for processing e-mail traffic addressed to the domain 22WINS Characteristics Is the acronym for Windows Internet Name ServiceIs a Network Basic Input/Output System (NetBIOS) name serverResolves NetBIOS names into IP addressesUsed only by Microsoft Windows computers 23Ping Characteristics Supplied with virtually every TCP/IP implementationTests connectivity to another TCP/IP systemSyntax: ping target 24Ping Output (Typical) Pinging cz1 [192.168.2.10] with 32 bytes of data:  Reply from 192.168.2.10: bytes=32 time<10ms TTL=128Reply from 192.168.2.10: bytes=32 time<10ms TTL=128Reply from 192.168.2.10: bytes=32 time<10ms TTL=128Reply from 192.168.2.10: bytes=32 time<10ms TTL=128Ping statistics for 192.168.2.10: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms 25Traceroute Characteristics Variant of the Ping programDisplays a list of the routers on the path that packets take to a destinationUses Echo Request and Echo Reply messages, as Ping doesModifies the Time To Live value in each successive Echo Request messageCan be used to troubleshoot network communications problems by specifying the location of the difficulty 26IPCONFIG.EXE and WINIPCFG.EXE Characteristics IPCONFIG.EXE and WINIPCFG.EXE are Windows utilities that display TCP/IP configuration parameters. Use IPCONFIG.EXE on Microsoft Windows 2000 and Microsoft Windows NT.Use WINIPCFG.EXE on Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Me. Both utilities can release and renew DHCP IP addresses. 27ARP.EXE Characteristics ARP.EXE enables you to view and modify the contents of the ARP cache.Adding addresses to the ARP cache speeds up the connection process.Addresses added manually to the ARP cache are not purged. 28Using ARP.EXE Syntax: ARP [-a {ipaddress}] [-n ipaddress] [-s ipaddress hwaddress {interface}] [-d ipaddress {interface}] ParameterFunction-a {ipaddress}Displays the contents of a specific ARP cache entry-n ipaddressDisplays the contents of the ARP cache for a network interface-s ipaddress hwaddress {interface} Adds a new entry to the ARP cache-d ipaddress {interface}Deletes an entry in the ARP cache 29Using NETSTAT.EXE Syntax: NETSTAT [interval] [-a] [-p protocol] [-n] [-e] [-r] [-s] Parameter Functioninterval Refreshes the display every interval seconds -a Displays the current network connections and the ports that are currently listening for incoming network connections-p protocol  Displays the currently active connections for the protocol specified by the protocol variable-nCauses the program to identify computers using IP addresses instead of names-e Displays incoming and outgoing traffic statistics for the network interface-r Displays the routing table plus the current active connections-s  Displays detailed network traffic statistics for the IP, Internet Control Message Protocol (ICMP), TCP, and User Datagram Protocol (UDP) protocols 30Using NBTSTAT.EXE Syntax: NBTSTAT [-a name] [-A ipaddress] [-c] [-n] [-r] [-R] [-s] [-S] [-RR]ParameterFunction-a nameDisplays the NetBIOS names registered on the computer identified by the name variable-A ipaddress Displays the NetBIOS names registered on the computer identified by the ipaddress variable-c Displays the contents of the local computer's NetBIOS name cache-n Displays the NetBIOS names registered on the local computer-rDisplays the number of NetBIOS names registered and resolved by the local computer, using both broadcasts and WINS31Using NBTSTAT.EXE (Cont.) Syntax: NBTSTAT [-a name] [-A ipaddress] [-c] [-n] [-r] [-R] [-s] [-S] [-RR]ParameterFunction-RPurges the local computer's NetBIOS name cache of all entries and reloads the LMHOSTS file-sDisplays a list of the computer's currently active NetBIOS settings (identifying remote computers by name), their current status, and the amount of data transmitted to and received from each system-SDisplays a list of the computer's currently active NetBIOS settings (identifying remote computers by IP address), their current status, and the amount of data transmitted to and received from each system-RRSends name release requests to WINS, then starts refresh32Nslookup Syntax Syntax: NSLOOKUP DNSname DNSserver ParameterFunctionDNSnameSpecifies the DNS name that you want to resolveDNSserverSpecifies the DNS name or IP address of the DNS server that you want to query for the name specified in the DNSname variable33Telnet Telnet provides remote control capabilities.Telnet clients can execute commands on a server and view the results.Telnet was designed for UNIX systems.All Windows versions include a Telnet client.Windows 2000 and later versions have a Telnet server. 34FTP You can use the File Transfer Protocol (FTP) to transfer files between computers, create and remove directories, rename and delete files, and manage access permissions.FTP was designed for UNIX computers.FTP is the mainstay of Internet communications.All UNIX computers have FTP client and server capabilities.All Windows computers have a command-line FTP client.Windows 2000 and Windows NT servers have an FTP server built into Microsoft Internet Information Services (IIS). 35Chapter Summary TCP/IP servicesDHCP assigns IP addresses by using automatic, manual, or dynamic allocation.DNS resolves host and domain names into IP addresses.WINS resolves NetBIOS names into IP addresses. TCP/IP utilities Ping tests whether one computer running TCP/IP can communicate with another computer on the network. Traceroute displays the path that packets take through a network to reach their destinations. IPCONFIG.EXE and WINIPCFG.EXE display information about the computer’s TCP/IP configuration, and they release and renew DHCP IP address assignments. 36Chapter Summary (Cont.) TCP/IP utilities (Cont.) ARP.EXE enables you to view and modify the contents of the ARP cache maintained by a TCP/IP system. Netstat displays information about a computer’s TCP/IP connections and the traffic passing over them. NBTSTAT.EXE displays information about NetBIOS connections and their traffic. Nslookup enables you to transmit DNS requests to specific servers. Telnet provides remote control access to another computer on the network. FTP lets you manage files and transfer them to and from a remote computer. 37

Các file đính kèm theo tài liệu này:

  • pptunit09_ch10_8269.ppt