• Practice:Demonstrating the Key TCP/IP Protocols


    This practice uses common UNIX and Windows NT utilities to visualize key TCP/IP protocols.  You will:
    • See IP information using the IPCONFIG utility.
    • Understand and overcome IP fault situations using the PING utility.
    • Examine the FTP (File Transfer Protocol) application, and overcome fault situations commonly seen when using FTP.
    • Create a TELNET session with a NT or UNIX server in your network, using the command line, and overcome fault situations commonly seen when invoking TELNET sessions.
    • Create an HTTP session with a browser on your computer, and overcome fault situations commonly found when starting an HTTP session.
     

    ASSUMPTIONS

    • This practice will reference commands that function equivalently on UNIX operating systems and the NT operating system.
    • Results may vary according to your IP assignments, etc.
    • Utilize this topic’s Demo in conjunction with this Practice to further illustrate and guide this activity.

    INSTRUCTIONS

    1. UNIX: Open a shell, login, and type the following command NT: Open a DOS prompt, or invoke from the START/RUN pull down box.
    ipconfig /all
    This will return some IP information about your current server on both UNIX and NT. 2. UNIX: Open a shell, type the following command. NT: Open a DOS Prompt, type the following command
    ping <SERVER NAME>
    PING utility will return a positive response when the server indicated has responded. 3.  File Transfer Protocol, FTP, is an utility used to transfer files between servers.  Invoke FTP using the command lines below, on both UNIX and NT servers.
    C:>ftp hostname Connected to hostname220 hostname FTP server (SunOS 5.6) ready. User (hostname:(none)): root 331 Password required for root. Password: 230 User root logged in. ftp> bin 200 Type set to I. ftp> get (remote-file) get remote-file [ local-file ] ftp> bye 221 Goodbye.   C:>
    BIN  command once within FTP puts the file transfer into binary mode. GET  command once within FTP will identify the file to transfer. BYE  command once within FTP will close the session 4. TELNET  is an utility used to gain access to servers.  Invoke TELNET using the command lines below, on both UNIX and NT servers.
    Telnet <server name>
    Login with a valid user id and password when prompted. This utility gives access to the designated server for administrative purposes, in a command line environment. 5. HTTP is a protocol that is used commonly within browsers.  Invoke HTTP using the syntax below, in the browser of your choice, on both UNIX and NT servers.
    http://www.sun.com
    This protocol gives access to the designated site.  This syntax is seen within the browser’s “Location” box.
  • 相关阅读:
    反射
    关于EwebEeditor 不能上传图片问题解决方法
    js去掉前后空格
    园子开张
    使用Python 爬取 京东 ,淘宝。 商品详情页的数据。(避开了反爬虫机制)
    c#对于加密的一点整合 (AES,RSA,MD5,SHA256)
    移动战略调查:应用开发者首选微软Windows
    Surface Pro打包微软精华 今晚在华开售
    Ceph学习全过程 基于N版
    k8s中部署wordpress
  • 原文地址:https://www.cnblogs.com/macleanoracle/p/2967206.html
Copyright © 2020-2023  润新知