




已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
南京邮电大学 毕业设计(论文)外文资料翻译 学院(系):计算机学院 专业:计算机科学与技术 学生姓名:张道雷 班级学号:b04040727 外文出处:tcp/ip illustrated, internetworking with tcp/ip 附件:1.外文资料翻译译文;2.外文原文 指导教师评语: 该生在对外文资料的翻译上努力认真,查阅了一定的英文文献,通过查阅资料对原英文有一定 的认识,在翻译过程中虽翻译有些地方不够精确,但总体上还是能较好的把握理解文章的内容。 翻 译中该生态度端正, 力求对文献专业词汇的翻译准确到位, 其英文文献的翻译大体符合原文的内容, 完成质量比较好。 指导教师签名: 2008 年 5 月 25 日 附件:1.外文资料翻译译文 tcp/ip 介绍 在 microsoft windows 计算机上配置 tcp/ip 协议时,tcp/ip 配置设置中需 要 ip 地址和子网掩码,通常还需要一个默认网关。 要正确配置 tcp/ip,有必要了解 tcp/ip 网络的寻址方式以及网络和子网的 划分方式。本文旨在对 ip 网络和子网的概念进行一般性介绍。本文结尾包含一 个术语表。 更多信息更多信息 作为 internet 的网络协议, tcp/ip 的成功在很大程度上归功于它将不同大小 的网络和不同类型的系统连接在一起的能力。 这些网络被强制定义为具有预定义 大小的三个主要类(还有其他一些类别) ,每一类都可以由系统管理员分成更小 的子网。子网掩码用于将 ip 地址分成两个部分。一部分标识主机(计算机) , 另 一部分标识它所属的网络。查看 ip(internet 协议)地址并研究它的组织方式可 以帮助您更好地理解 ip 地址和子网掩码的工作方式。 tcp 的服务的服务 尽管 tcp 和 udp 都使用相同的网络层(ip) ,tcp 却向应用层提供与 udp 完全不同的服务。 tcp 提供一种面向连接的、可靠的字节流服务。 面向连接意味着两个使用 tcp 的应用(通常是一个客户和一个服务器)在 彼此交换数据之前必须先建立一个 tcp 连接。这一过程与打电话很相似,先拨 号振铃,等待对方摘机说“喂”,然后才说明是谁。 在一个 tcp 连接中,仅有两方进行彼此通信。广播和多播不能用于 tcp。 tcp 通过下列方式来提供可靠性: 应用数据被分割成 tcp 认为最适合发送的数据块。这和 udp 完全不同,应 用程序产生的数据报长度将保持不变。由 tcp 传递给 ip 的信息单位称为报文段 或段(segment)tcp 如何确定报文段的长度。 当 tcp 发出一个段后,它启动一个定时器,等待目的端确认收到这个报文 段。 如果不能及时收到一个确认, 将重发这个报文段。 在第 21 章我们将了解 tcp 协议中自适应的超时及重传策略。 当 tcp 收到发自 tcp 连接另一端的数据,它将发送一个确认。这个确认不 是立即发送,通常将推迟几分之一秒 tcp 将保持它首部和数据的检验和。 这是一个端到端的检验和, 目的是检测 数据在传输过程中的任何变化。 如果收到段的检验和有差错, tcp 将丢弃这个报 文段和不确认收到此报文段(希望发端超时并重发) 。 既然 tcp 报文段作为 ip 数据报来传输,而 ip 数据报的到达可能会失序, 因此 tcp 报文段的到达也可能会失序。如果必要,tcp 将对收到的数据进行重 新排序,将收到的数据以正确的顺序交给应用层。 既然 ip 数据报会发生重复,tcp 的接收端必须丢弃重复的数据。 tcp 还能提供流量控制。tcp 连接的每一方都有固定大小的缓冲空间。tcp 的接收端只允许另一端发送接收端缓冲区所能接纳的数据。 这将防止较快主机致 使较慢主机的缓冲区溢出。 两个应用程序通过 tcp 连接交换 8bit 字节构成的字节流。tcp 不在字节流 中插入记录标识符。我们将这称为字节流服务(bytestreamservice) 。如果一方的 应用程序先传 10 字节,又传 20 字节,再传 50 字节,连接的另一方将无法了解 发方每次发送了多少字节。 收方可以分 4 次接收这 80 个字节, 每次接收 20 字节。 一端将字节流放到 tcp 连接上,同样的字节流将出现在 tcp 连接的另一端。 另外,tcp 对字节流的内容不作任何解释。tcp 不知道传输的数据字节流 是二进制数据,还是 ascii 字符、ebcdic 字符或者其他类型数据。对字节流的 解释由 tcp 连接双方的应用层解释。 这种对字节流的处理方式与 unix 操作系统对文件的处理方式很相似。unix 的内核对一个应用读或写的内容不作任何解释, 而是交给应用程序处理。 对 unix 的内核来说,它无法区分一个二进制文件与一个文本文件。 tcp 是因特网中的传输层协议, 使用三次握手协议建立连接。 当主动方发出 syn 连接请求后,等待对方回答 syn,ack。这种建立连接的方法可以防止产 生错误的连接, tcp 使用的流量控制协议是可变大小的滑动窗口协议。 第一次握 手:建立连接时,客户端发送 syn 包(seq=x)到服务器,并进入 syn_send 状 态,等待服务器确认。第二次握手:服务器收到 syn 包,必须确认客户的 syn(ack=x+1),同时自己也送一个 syn 包(seq=y),即 syn+ack 包,此时服务 器进入 syn_recv 状态。第三次握手:客户端收到服务器的 syn+ack 包, 向 服务器发送确认包 ack(ack=y+1),此包发送完毕,客户端和服务器时入 established 状态,完成三次握手。 ip 地址:网络和主机地址:网络和主机 ip 地址是一个 32 位数字,它唯一地标识 tcp/ip 网络上的主机(计算机 或其他设备,如打印机或路由器) 。 ip 地址通常以点分十进制格式表示,四个数字由句点分隔,例如 32。要了解子网掩码如何用于区分不同的主机、网络和子网,请查 看以二进制表示的 ip 地址。例如,点分十进制 ip 地址 32 在二 进制表示法中为 32 位数字 11000000 01010001 11101110 000100。 此数字的含义 可能很难理解,因此它被分成四个部分,每个部分有八个二进制数字。这些八位 部分称为八位组。 示例 ip 地址于是变成 11000000.10101000.01111011.10000100。 此数字表示的含义只是稍微明白了一点,因此在大多数应用中,会将二进制地址 转换为点分十进制格式 (32)。 点分十进制数字是从二进制转换为十 进制表示法的八位组。 为了让 tcp/ip 广域网 (wan) 以一个网络集的形式高效工作, 在网络间传 递数据包的路由器并不知道信息包的目标主机的确切位置。 路由器只知道主机是 哪一个网络的成员, 并使用存储在路由表中的信息来确定如何将数据包送达目标 主机的网络。 当数据包被传送到目标网络后, 该数据包就会被传送到相应的主机。 为了让此过程顺利进行,ip 地址分为两个部分。ip 地址的前一部分作为网 络地址,后一部分作为主机地址。以 32 为例,将它分为这两个部 分之后,会得到: 192.168.123. 网络,.132 主机,- 或 - , 网 络地址,32 主机地址。 子网掩码子网掩码 第二项是子网掩码,它是 tcp/ip 正常工作所必需的。tcp/ip 协议使用子网 掩码确定主机是在本地子网中还是在远程网络中。 在 tcp/ip 中,将哪部分 ip 地址用作网络地址和主机地址并不固定,所以除 非您掌握详细的信息,否则无法确定上述网络地址和主机地址。此信息在另一个 32 位数字中提供,称为子网掩码。在本例中,子网掩码为 。如果 您不知道二进制表示法中的 255 等于 11111111,可能并不清楚该数字表示的含 义。照此分析,子网掩码为:11111111.11111111.11111111.0000000 将 ip 地址和子网掩码排列在一起比较,就可以分清该地址的网络部分和主 机部分: 11000000.10101000.01111011.10000100 - ip 地址 (32) 11111111.11111111.11111111.00000000 - 子网掩码 () 前 24 位(子网掩码中的数字 1)被标识为网络地址,后 8 位(子网掩码中 剩余的数字 0)被标识为主机地址,据此可以得到: 11000000.10101000.01111011.00000000 - 网络地址 () 00000000.00000000.00000000.10000100 - 主机地址 (000.000.000.132) 这样,我们就可以知道,在这个使用 子网掩码的示例中,网 络 id 为 ,主机地址为 32。当数据包到达 子网 (从本地子网或远程网络) ,而且它的目标地址为 32 时,您的计算 机将从网络接收它并对它进行处理。 几乎所有十进制子网掩码都转换为左侧全部是一、 右侧全部是零的二进制数 字。其他一些常见的子网掩码有: 十进制二进制 921111111.11111111.1111111.11000000 241111111.11111111.1111111.11100000 internet rfc 1878(从 获取)描述了可在 tcp/ip 网络 中使用的有效子网和子网掩码。 网络类网络类 internet 地址由管理 internet 的机构 internic() 来分 配。这些 ip 地址分成若干类。其中最常见的是 a、b 和 c 类。也有 d 和 e 类, 但是最终用户通常不会使用。每个地址类都有不同的默认子网掩码。可以通过查 看 ip 地址的第一个八位组来识别该 ip 地址的类别。 下面是 a、 b 和 c 类 internet 地址的范围,每一类地址都有一个示例: a 类网络使用的默认子网掩码为 ,第一个八位组为 0-127。地址 1 就是一个 a 类地址。 它的第一个八位组为 10, 介于 1 至 126 之间 (包 括 1 和 126) 。 b 类网络使用的默认子网掩码为 ,第一个八位组为 128-191。地 址 3 就是一个 b 类地址。它的第一个八位组为 172,介于 128 至 191 之间(包括 128 和 191) 。 c 类网络使用的默认子网掩码为 ,第一个八位组为 192-223。 地址 32 就是一个 c 类地址。它的第一个八位组 192,介于 192 至 223 之间(包括 192 和 223) 。 在某些情况下,由于网络的物理拓扑或因为网络(或主机)的数目在默认的 子网掩码限制之下并不适用,所以默认子网掩码值可能不适合机构的需要。下一 部分将解释如何使用子网掩码划分网络。 子网配置子网配置 系统管理员可以进一步划分 a、b 或 c 类 tcp/ip 网络或对这些网络进行子 网配置。当您将 internet 的逻辑地址结构(ip 地址和子网的抽象世界)与真实世 界中使用的物理网络进行协调时,就有必要进行子网配置。接受 ip 地址块分配 的系统管理员可以用轻松符合这些地址的方式管理未经组织的网络。例如,您有 一个广域网,在该广域网中,tcp/ip 路由器连接的三个网络(位于不同城市) 中有 150 个主机。这三个网络中的每个网络都有 50 个主机。向您分配了 c 类网 络 。 (此地址是为了便于说明,实际上来自 internet 中未分配的范 围。 ) 这意味着可以将地址至54用于您的150个主机。 在示例中不能使用的两个地址为 和 55,因为主机部 分全部为一和全部为零的二进制地址无效。 零地址无效的原因是使用它在未指定 主机的情况下指定了网络。255 地址(在二进制表示法中全部为一的主机地址) 用来向网络中的每个主机广播消息。只需记住,任何网络或子网中的第一个地址 和最后一个地址不能分配给任何单独主机。 现在,您应该能够将 ip 地址给予 254 个主机。如果所有 150 台计算机都在 一个网络中,则此操作会进行得很顺利。但是,您的 150 台计算机位于三个单独 的物理网络中。不用为每个网络请求更多地址块,只需将网络分成使您可以在多 个物理网络中使用一个地址块的子网。 在此情况下, 使用使网络地址更大和可能的主机地址范围更小的子网掩码将 网络分成四个子网。也就是说,您正在“借用”某些通常用于主机地址的位, 并 将它们用于地址的网络部分。子网掩码 92 给予您四个网络,每个 网络有 62 个主机。 由于用二进制表示 92 与 1111111.11111111.1111111.11000000 相同,所以此操作可以顺利进行。最后一个八位组的前两位数字变为网络地址, 所以您获得了附加网络 00000000(0)、01000000(64)、10000000(128) 和 11000000 (192)。 (某些管理员只使用将 92 作为子网掩码的其中两个子网。 有关此主题的更多信息,请参阅 rfc 1878。 )在这四个网络中,最后 6 个二进 制数字可用于主机地址。 使用子网掩码 92,则您的 网络变为四个网络 、4、28 和 92。这四个网络 将拥有以下有效主机地址: -62 5-126 29-190 93-254 再次重审,全部为一或全部为零的二进制主机地址无效,所以您不能使用最 后一个八位组为 0、63、64、127、128、191、192 或 255 的地址。 现在,看两个主机地址 1 和 33,您就会了解其原 理 。 如 果 使 用 默 认 c 类 子 网 掩 码 则 这 两 个 地 址 都 位 于 网络中。但是,如果使用子网掩码 92,则它们位于不 同网络中;1 位于 4 网络中,33 位于 28 网络中。 默认网关默认网关 如果 tcp/ip 计算机需要与另一个网络中的主机进行通信,它通常通过称为 路由器的设备进行通信。在 tcp/ip 语中,主机中指定的、用于将主机子网链接 到其他网络的路由器称为默认网关。本节解释 tcp/ip 如何确定是否将数据包发 送到其默认网关以到达网络中的另一台计算机或设备。 当主机尝试使用 tcp/ip 与另一个设备进行通信时,它会使用已定义的子网 掩码和目标 ip 地址针对子网掩码和其自己的 ip 地址进行比较。比较结果会告诉 计算机目标是本地主机还是远程主机。 如果此过程的结果确定目标是本地主机, 则计算机只将数据包发送到本地子 网。如果比较结果确定目标是远程主机,则计算机将数据包转发到其 tcp/ip 属 性中定义的默认网关。然后,路由器负责将数据包转发到正确的子网。 tcp/ip 协议组件中不同层次的协议协议组件中不同层次的协议 tcp和udp是两种最为著名的运输层协议, 二者都使用ip作为网络层协议。 虽然 tcp 使用不可靠的 ip 服务,但它却提供一种可靠的运输层服务;udp 为应 用程序发送和接收数据报。 一个数据报是指从发送方传输到接收方的一个信息单 元(例如,发送方指定的一定字节数的信息) 。但是与 tcp 不同的是,udp 是不 可靠的,它不能保证数据报能安全无误地到达最终目的。snmp(简单网络管理 协议)也使用了 udp 协议,但是它还要处理许多其他的协议,ip 是网络层上的 主要协议,同时被 tcp 和 udp 使用。tcp 和 udp 的每组数据都通过端系统和 每个中间路由器中的 ip 层在互连网中进行传输。直接访问 ip 的应用程序是很少 见的,但也是可能的。 (一些较老的路由选择协议就是以这种方式来实现的。当 然新的运输层协议也有可能试用这种方式。 ) icmp 是 ip 协议的附属协议。ip 层用它来与其他主机或路由器交换错误报 文和其他重要信息。尽管 icmp 主要被 ip 使用,但应用程序也有可能访问它。 我们将分析两个流行的诊断工具,ping 和 traceroute,它们都使用了 icmp。 igmp 是 internet 组管理协议。它用来把一个 udp 数据报多播到多个主机。 arp(地址解析协议)和 rarp(逆地址解析协议)是某些网络接口(如以太网 和令牌环网)使用的特殊协议,用来转换 ip 层和网络接口层使用的地址。 疑难解答疑难解答 tcp/ip 网络问题通常是由计算机的 tcp/ip 属性中三个主要条目的错误配置 导致的。了解 tcp/ip 配置中的错误如何影响网络操作后,您可以解决许多常见 tcp/ip 问题。 错误的子网掩码:如果网络将默认掩码外的其他子网掩码用于其地址类, 而 客户端仍使用该地址类的默认子网掩码进行配置, 则可以与远程网络进行通信但 无法与某些附近网络进行通信。例如,如果创建四个子网(例如在子网配置示例 中) , 但是在 tcp/ip 配置中使用错误的子网掩码 ,则主机将无法确 定某些计算机是否在与它们自己的子网不同的子网中。当发生此情况时,发送到 作为相同 c 类地址一部分的不同物理网络中的主机的数据包将不会发送到默认 网关来进行传送。 此问题的常见症状是计算机可以与其本地网络中的主机以及所 有远程网络进行通信,但无法与位置在附近并具有相同的 a、b 或 c 类地址的 网络进行通信。要解决此问题,只需在该主机的 tcp/ip 配置中输入正确的子网 掩码。 错误的 ip 址: 如果将那些 ip 地址在本地网络的不同子网中的计算机放在一 起,则它们无法进行通信。它们会尝试通过路由器相互发送数据包,而该路由器 却无法正确转发这些数据包。 此问题的症状是计算机可以与远程网络中的主机进 行通信,但是无法与其本地网络中的某些或全部计算机通信。要解决此问题, 请 确保同一物理网络中的所有计算机具有同一 ip 子网中的 ip 地址。如果一个网段 中的 ip 地址已用完,还可使用一些解决方案进行处理,但已超出本文范围。 错误的默认网关: 使用错误的默认网关配置的计算机能够与其自己网段中的 主机进行通信,但是无法与某些或全部远程网络中的主机进行通信。如果一个物 理网络有多个路由器,且将错误的路由器配置为默认网关,则主机能够与某些远 程网络进行通信,但是无法与其他远程网络进行通信。如果组织中有一个路由器 连接到内部 tcp/ip 网络,另一个路由器连接到 internet,则此问题很常见。 参考参考 tcp/ip 中的两个常用参考是: richardstevens,addisonwesley.tcp/ipillustrated,volume1:the protocolsm. 1994. douglas e. comer, prentice hall. internetworking with tcp/ip, volume 1:principles, protocols, and architecturem. 1995. 极力建议负责 tcp/ip 网络的系统管理员至少使用其中一个参考。 术语表术语表 广播地址 - 主机部分全部为一的 ip 地址。 主机 - tcp/ip 网络中的计算机或其他设备。 internet - 连接在一起并共享公共范围的 ip 地址的全球网络集合。 internic - 负责管理 internet 中的 ip 地址的机构。 ip - 用于在 tcp/ip 网络或 internet 上发送网络数据包的网络协议。 ip 地址 - tcp/ip 网络或 internet 主机的唯一 32 位地址。 网络 - 在本文中,“网络”一词有两种含义。一种含义是指单一物理网段上 的计算机组,另一种含义是指系统管理员分配的 ip 网络地址范围。 网络地址 - 主机部分全部为零的 ip 地址。 八位组 - 一个 8 位数字,4 个八位组构成一个 32 位 ip 地址。它们的范围 是 00000000-11111111,对应于十进制值 0- 255。 数据包 - 通过 tcp/ip 网络或广域网传输的数据单位。 rfc(request for comment,征求意见文件)- 用于定义 internet 标准的文 档。 路由器 - 在不同 ip 网络间传输网络通信的设备。 子网掩码 - 一个 32 位数字,用于区分 ip 地址的网络部分和主机部分。 子网 - 通过将较大的网络分成相等的部分而创建的较小网络。 tcp/ip - 通常在 internet 和大型网络中广泛使用的协议、 标准和实用工具的 集合。 广域网 (wan) - 大型网络,它是路由器分隔的较小网络的集合。例如, internet 就是一个非常大的广域网。 附件:2.外文原文 tcp/ipintroduction when you configure the tcp/ip protocol on a microsoft windows computer, an ip address, subnet mask, and usually a default gateway are required in the tcp/ip configuration settings. to configure tcp/ip correctly, it is necessary to understand how tcp/ip networks are addressed and divided into networks and subnetworks. this article is intended as a general introduction to the concepts of ip networks and subnetting. a glossary is included at the end of article. more information the success of tcp/ip as the network protocol of the internet is largely because of its ability to connect together networks of different sizes and systems of different types. these networks are arbitrarily defined into three main classes (along with a few others) that have predefined sizes, each of which can be divided into smaller subnetworks by system administrators. a subnet mask is used to divide an ip address into two parts. one part identifies the host (computer), the other part identifies the network to which it belongs. to better understand how ip addresses and subnet masks work, look at an ip (internet protocol) address and see how it is organized. tcp services although the tcp and udp are using the same network layer (ip), tcp has provided to the application layer and udp completely different services. tcp provides a connection-oriented, reliable stream of bytes services. for the use of tcp connection means that two of the application (usually a client and a server) in the mutual exchange of data must be before the establishment of a tcp connection. this process is very similar with the call, first dial-up ring, waiting for the other side pick said, hey, who is that before. in a tcp connection, only two parties to communicate with each other. broadcast and multicast can not be used for tcp. tcp adoption of the following ways to provide reliability: application data beifengecheng suited to tcp that sent most of the block. this is completely different from udp, the application of the data on the length will remain the same. tcp from the information passed to the ip unit known as the text of the report or paragraph (segment) tcp on how to determine the length of the text. when the tcp send a paragraph later, it started a timer, wait for the end purpose of this newspaper that on receipt of the text. if not received a confirmation in time, will be re-issued the text of the report. in chapter 21 we will understand tcp protocol in the overtime and adaptive re-strategy. when the tcp received from the other side of the tcp connection data, it will send a confirmation. this confirmation is not sent immediately, usually a fraction of a second will be postponed. tcp will maintain its first data and the testing and. this is an end-to-end testing and to detect the transmission of data in the course of any changes. if you receive the test of the errors and, tcp will be discarded this message, and do not acknowledge receipt of this message (hope that both the originator of the overtime). since the tcp packet of data as reported to transmit ip, and ip data on the disorder may be reached, tcp packet of the disorder may also be reached. if necessary, tcp will receive the data re-order, will receive the data to the correct sequence to the application layer. since the ip data will be reported duplication, tcp the receiving end must be disposed of duplication of data. tcp also provides flow control. tcp connection of each side have a fixed-size buffer space. tcp receiver allows only the other side of the buffer zone to send the receiver to accept the data. this will prevent the rapid host a result of slower host a buffer overflow. two applications through tcp connection exchange of 8 bit bytes a stream of bytes. tcp is not inserted in the record-byte identifier. we see this as byte-service (byte stream service). if the application is one of the first 10-byte, 20-byte, 50 bytes longer, connected to the other party will not be able to understand each side sent a number of bytes. receiver can receive four times this 80-byte, each receiving 20 bytes. will be banished to the end byte tcp connection, the same stream of bytes will appear in the other end of tcp connection. in addition, tcp byte flow of the content not to make any explanation. tcp do not know bytes of data transmission flow is binary data, or ascii characters, ebcdic character or other types of data. the flow of bytes explained by the tcp connection the two sides to explain the application layer. this stream of bytes of the unix operating system and the handling of the documents approach is very similar. unix kernel of an application read or write the content not to make any explanation, but to the application procedures. the core of unix, it can not distinguish between a binary file with a text file. tcp is the internet in transport layer protocol, shook hands with the use of three agreements establish a connection. when the initiative to connect a syn request and wait for the other side to answer syn, ack. this connection method can prevent a wrong connection, tcp flow control the use of the agreement is the size of variable sliding window protocol. the first handshake: establish a connection, the client sent syn packet (seq = x) to the server and access syn_send state, waiting for the server to confirm. second handshake: server received syn packet, customers must confirm the syn (ack = x +1), while its own package also send a syn (seq = y), that is, syn + ack packet, then enter the server syn_recv state. third handshake: client server received the syn + ack packet, send confirmation to the server package ack (ack = y +1), this package sent completed, the client and server-established state, complete the three shook hands. ip addresses: networks and hosts an ip address is a 32-bit number that uniquely identifies a host (computer or other device, such as a printer or router) on a tcp/ip network. ip addresses are normally expressed in dotted-decimal format, with four numbers separated by periods, such as 32. to understand how subnet masks are used to distinguish between hosts, networks, and subnetworks, examine an ip address in binary notation. for example, the dotted-decimal ip address 32 is (in binary notation) the 32 bit number 110000000101000111101110000100. this number may be hard to make sense of, so divide it into four parts of eight binary digits. these eight bit sections are known as octets. the example ip address, then, becomes 11000000.10101000.01111011.10000100. this number only makes a little more sense, so for most uses, convert the binary address into dotted-decimal format (32). the decimal numbers separated by periods are the octets converted from binary to decimal notation. for a tcp/ip wide area network (wan) to work efficiently as a collection of networks, the routers that pass packets of data between networks do not know the exact location of a host for which a packet of information is destined. routers only know what network the host is a member of and use information stored in their route table to determine how to get the packet to the destination hosts network. after the packet is delivered to the destinations network, the packet is delivered to the appropriate host. for this process to work, an ip address has two parts. the first part of an ip address is used as a network address, the last part as a host address. if you take the example 32 and divide it into these two parts you get the following: 192.168.123. network .132 host-or- - network address.32 - host address. subnet mask the second item, which is required for tcp/ip to work, is the subnet mask. the subnet mask is used by the tcp/ip protocol to determine whether a host is on the local subnet or on a remote network. in tcp/ip, the parts of the ip address that are used as the network and host addresses are not fixed, so the network and host addresses above cannot be determined unless you have more information. this information is supplied in another 32-bit number called a subnet mask. in this example, the subnet mask is . it is not obvious what this number means unless you know that 255 in binary notation equals 11111111; so, the subnet mask is: 11111111.11111111.11111111.0000000 lining up the ip address and the subnet mask together, the network and host portions of the address can be separated: 11000000.10101000.01111011.10000100 - ip address (32) 11111111.11111111.11111111.00000000 - subnet mask () the first 24 bits (the number of ones in the subnet mask) are identified as the network address, with the last 8 bits (the number of remaining ze
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年可再生能源在能源行业中的应用前景研究报告
- 2025年互联网科技行业人工智能技术发展前景研究报告
- 2025年激光条幅机行业研究报告及未来发展趋势预测
- 商场冬季安全培训内容课件
- 岗位聘任协议书9篇
- 山东省2025年山东中医药大学公开招聘工作人员(24人)笔试历年参考题库附带答案详解
- 宜昌市2025湖北宜昌市教育局所属事业单位急需紧缺人才引进校园(华中师范大学站)笔试历年参考题库附带答案详解
- 宁波市2025年浙江工商职业技术学院公开招聘11人笔试历年参考题库附带答案详解
- 国家事业单位招聘2025国家监管中心招聘高校应届毕业生及安排笔试历年参考题库附带答案详解
- 国家事业单位招聘2025中国康复研究中心招聘高层次人才拟聘用人员笔试历年参考题库附带答案详解
- 物流园区规章制度模版(2篇)
- 《多能源耦合供热系统》
- 《搞定:无压工作的艺术》完整课件
- 京东方岗位胜任力测评题库
- 印刷包装公司安全生产管理方案
- 高中数学64数列求和省公开课获奖课件市赛课比赛一等奖课件
- 二手车国庆节活动方案
- 人教版八年级上册地理教学计划及进度表
- 2025高考物理步步高同步练习必修3练透答案
- DZ∕T 0215-2020 矿产地质勘查规范 煤(正式版)
- 2024年初中升学考试九年级数学专题复习新课标要求-中考33讲
评论
0/150
提交评论