




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 和悦辟谷养生会馆合作商合同范本
- 公司土地合同范例
- 光盘制作合同范本
- 合同范例 分次收款
- ppp项目框架合同范例
- 合伙开工厂合同范本
- 原料辅料采购合同范本
- 单位签订工程合同范本
- 别墅售房合同范本
- 厦门保障房续租合同范本
- 2025年哈尔滨幼儿师范高等专科学校单招职业技能测试题库学生专用
- 企业内部系统使用权限规范
- 2024年亳州职业技术学院单招职业技能测试题库
- 2025年旅行与旅游的未来:拥抱可持续与包容性增长报告(英文版)-世界经济论坛
- 2025年湖南水利水电职业技术学院高职单招职业适应性测试近5年常考版参考题库含答案解析
- 2025年徐州生物工程职业技术学院高职单招职业技能测试近5年常考版参考题库含答案解析
- 向量的数量积说课
- 2024年全国体育专业单独招生考试数学试卷试题真题(含答案)
- 2025年中粮集团有限公司招聘笔试参考题库含答案解析
- 《装修流程图课件》课件
- T-CBIA 010-2024 营养素饮料标准
评论
0/150
提交评论