zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    BZOJ 1433 && Luogu P2055 [ZJOI2009]假期的宿舍 匈牙利算法
    BZOJ 1123 && Luogu P3469 [POI2008]BLO-Blockade 割点+乘法原理
    POJ3694 Network 边双缩点+LCA+并查集
    luogu P5142 区间方差 十分优美的线段树
    luogu P2709 小B的询问 最简单的莫队
    luogu P2731 骑马修栅栏 Riding the Fences
    TYVJ P2032 「Poetize9」升降梯上 spfa最短路
    51nod 1515 明辨是非 并查集+set维护相等与不等关系
    BZOJ 1260: [CQOI2007]涂色paint 区间DP
    luogu P4145 上帝造题的七分钟2 / 花神游历各国 维护区间和&&区间开根号
  • 原文地址:https://www.cnblogs.com/macleanoracle/p/2967206.html
Copyright © 2011-2022 走看看