




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、2022/7/15TCP/IP Protocol Suite1Chapter 12 C/S, DHCP and DNSClient-Server modelBOOTP and DHCPDomain Name System ( DNS )2022/7/15TCP/IP Protocol Suite2Client-Server Model2022/7/15TCP/IP Protocol Suite3Client-Server ModelClient(客户)A program running on the local machine requesting service from a serverF
2、inite:由用户或另一应用程序启动,服务完成时终止Active open and active closeServer(服务器)A program running on the remote machine providing service to the clientsInfinite:启动后一直运行,除非出了问题Passive open2022/7/15TCP/IP Protocol Suite4CS关系Client与Server的关系是:多对一2022/7/15TCP/IP Protocol Suite5Concurrency(并发)ClientIteratively(循环): run
3、ning one by oneConcurrently (并发) : running at the same timeServerConnectionless iterative server(无连接循环服务器): use UDPConnection-oriented concurrent server(面向连接并发服务器): use TCP2022/7/15TCP/IP Protocol Suite6Connectionless Iterative Server2022/7/15TCP/IP Protocol Suite7Connection-Oriented Concurrent Serv
4、er2022/7/15TCP/IP Protocol Suite8BOOTP and DHCP连接在Internet上的主机必须知道以下信息:Its IP address and subnet maskThe IP address of a routerThe IP address of a name serverBOOTP ( BOOTstrap Protocol,引导程序协议)RFC 951,RFC 1395、1497、1532、1542功能:为引导“无盘计算机或第一次启动的计算机”提供以上信息C/S protocolClient:UDP 68Server:UDP 672022/7/15T
5、CP/IP Protocol Suite9BOOTP Operation2022/7/15TCP/IP Protocol Suite10BOOTP packet format2022/7/15TCP/IP Protocol Suite11DHCPDynamic Host Configuration Protocol动态主机配置协议RFC 2131FeaturesEnhances BOOTPBackward compatible with BOOTPProvides temporary IP addresses for a limited period of timeTwo databasesS
6、tatically binds physical addresses with IP addressesA pool of available IP addresses租用(Leasing):DHCP服务器从可用IP地址池中为DHCP客户分配一个临时的IP,并指定这个地址可以被租用的特定时间静态配置协议:BOOTP Server 上预先设置了BOOTP Client 的物理地址与IP地址的绑定2022/7/15TCP/IP Protocol Suite12DHCP Transition Diagram: Client2022/7/15TCP/IP Protocol Suite13DHCP Op
7、eration2022/7/15TCP/IP Protocol Suite14DHCP Operation ( cont. )2022/7/15TCP/IP Protocol Suite15Domain Name System ( DNS )Domain Name System,域名系统RFC 1034:Concepts and facilitiesRFC 1035:Implementation and specificationDNS功能:将Internet上主机的名字映射成为IP地址;将主机IP地址映射成为名字2022/7/15TCP/IP Protocol Suite16Name Spa
8、ce(名字空间)IP地址唯一,所以IP地址映射的名字也是唯一的名字的分配需要仔细管理两种名字空间的组织、管理方案:Flat name space在Internet中难以实现A sequence of characters without structure需要集中控制(Internet范围内)避免二义性和重复Example: computer name in Microsoft WindowsHierarchical name space(层次名字空间)一个名字:由几部分组成例如:名字(机构性质,机构名字,机构部门,)例:.名字空间的管理可以实现分散管理2022/7/15TCP/IP Prot
9、ocol Suite17Domain Name Space(域名空间)域名空间:层次名字空间An inverted-tree structure with the root at the topLabel(标号): a string with a max of 63 charactersLabel(标号): a string with a max of 63 characters要求:具有同一个父节点的子节点具有不同的标号保证域名的唯一性2022/7/15TCP/IP Protocol Suite18Domain NameA sequence of labels(标号) separated b
10、y dots ( . )cn.域名.域名.域名.域名cn标号edu标号uestc标号www标号根(标号为空)2022/7/15TCP/IP Protocol Suite19Domain(域)A subtree(子树) of the domain name space2022/7/15TCP/IP Protocol Suite20Distribution of the Domain Name Space域名空间的信息需要被存储起来信息被分布到DNS服务器DNS serverCan be responsible ( authoritative ) for either a large or sma
11、ll domainHierarchy of DNS servers2022/7/15TCP/IP Protocol Suite21域名信息分布式存储在多个域名服务器上一个域名服务器所负责或授权的范围区域名服务器数据库(区文件)中存放着这个域内节点的信息服务器可以把其所在的域划分成若干子域子域节点的信息:存储在该子域(区)的域名服务器中原来的服务器保存到这些子域域名服务器的引用区(Zone)2022/7/15TCP/IP Protocol Suite22DNS ServerRoot serverA server whose zone consists of the whole treeUsual
12、ly not store any information about domainsDelegates its authority to other serversKeep references(引用) to those serversPrimary server(主服务器)Stores a file about the zone for which it is an authorityResponsible for creating, maintaining, and updating the zone fileSecondary server(次服务器)Transfers the comp
13、lete information about a zone from another server ( primary or secondary )Neither creates nor updates the zone files2022/7/15TCP/IP Protocol Suite23DNS in the InternetDNS used in the Internet域名空间划分成三部分:InverseDomain(反向域)RootGenericDomains(类属域)CountryDomains(国家域)2022/7/15TCP/IP Protocol Suite24DNS Re
14、solution(解析)Name-address resolutiona name an addressan address a name: inverse queryC/S applicationDNS client: resolver(解析程序)DNS serverMethodRecursive(递归) resolution解析程序要求服务器提供最终的域名解析Iterative (迭代) resolution解析程序不断地向不同的服务器请求解析直至得到结果Caching2022/7/15TCP/IP Protocol Suite25Recursive Resolution2022/7/15
15、TCP/IP Protocol Suite26Iterative Resolution2022/7/15TCP/IP Protocol Suite27DNS MessagesType: request and responseFormat2022/7/15TCP/IP Protocol Suite28EncapsulationTCP port 53The resolver has prior knowledge that the size of the response message is more than 512 bytesExample: a secondary name server ( acting as a client ) needs a zone transfer from a primary serverUDP port 53The reso
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 数字化军事装备选型
- 高速公路智能交通系统在交通管理与维护成本控制体系中的应用报告
- 2025年线下演出市场观众满意度与忠诚度研究报告
- 社区心理健康服务在2025年的市场前景与推广策略报告
- 2025年智慧零售大数据存储与消费体验优化报告
- 汽车共享市场2025年展望:运营模式升级与用户行为洞察报告
- 土木实习报告版
- 中烟香港公司深度报告:“内生”铸就业务基石“外延”拓展成长空间
- 办公室收文办理管理制度
- 星级酒店层级管理制度
- 立式水轮机组轴线调整及导轴承的间隙分配ppt课件
- DLT 596-2021 电力设备预防性试验规程
- 内分泌系统疾病病例分析
- 铝箔轧制油过滤技术
- 华星全站仪使用说明书-
- 专项审计报告模板(青岛市高新技术企业认定专用)
- 成都市所有的药房.doc
- 现浇混凝土单向板肋梁楼盖设计
- 基于BIM模型技术交底应用
- 产品设计和开发控制程序
- DLT5210.1-2021电力建设施工质量验收及评价规程
评论
0/150
提交评论