版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Copyright Xu Jingdong, All right reserved,1,Computer Networks review,Xu Jingdong Dept. of Computer Science and Information Security Nankai University ,Copyright Xu Jingdong, All right reserved,2,Chapter 1,Internet overview network edge: client/server and peer-to-peer model network core: packet-switc
2、hing versus circuit-switching packet-switching statistical multiplexing routing end to end latency message and packet Protocol, layering and service models Why layering OSI reference model, TCP/IP model logical communication, physical communication,Copyright Xu Jingdong, All right reserved,3,Chapter
3、 2,Application service requirements: reliability, bandwidth, delay Internet transport service model connection-oriented, reliable: TCP unreliable, datagram: UDP Client-server, P2P File Transfer Service and Protocol FTP Process Model FTP commands and responses Connection and Authorization,Copyright X
4、u Jingdong, All right reserved,4,Chapter 2 (cont.),Web Service and Protocol Web Client/server Mode Browser Architecture HTTP: HyperText Transfer Protocol-1.0 and 1.1 Uniform Resource Locators HyperText Markup Language Electronic Mail Service and Protocol Mail Client/server Mode Simple Mail Transfer
5、Protocol Mail access protocols-POP3 Mail Message Format-822 and MIME,Copyright Xu Jingdong, All right reserved,5,Chapter 2 (cont.),DNS Flat and Hierarchical Namespace DNS Name Space Name Resolution Resource Record Structure DNS Message Format Wireshark,Copyright Xu Jingdong, All right reserved,6,Cha
6、pter 3,Transport layer services Multiplexing/demultiplexing Connectionless transport: UDP Principles of reliable data transfer rdt1.0, rdt2.0, rdt2.1, rdt2.2, rdt3.0 Performance of protocol stop-and-wait protocol pipelined protocols: Go-Back-N and Selective Repeat,Copyright Xu Jingdong, All right re
7、served,7,Chapter 3 (cont.),Connection-oriented transport: TCP reliable transfer seq. # and ACK # Timeouts and Retransmission, Fast Retransmit flow control connection management TCP congestion control congestion window slow start congestion avoidance: Tahoe and Reno fast recovery,Copyright Xu Jingdon
8、g, All right reserved,8,Chapter 4,Internet protocol (IP) IP addressing IP datagram format IP datagram forwarding IP Fragmentation & Reassembly Forwarding in an IP Router Subnetting and CIDR NAT: Network Address Translation Internet Control Message Protocol (ICMP),Copyright Xu Jingdong, All right res
9、erved,9,Chapter 4 (cont.),routing principles link state algorithms distance vector algorithms hierarchical routing Internet routing protocols intra-domain: RIP, OSPF Inter-domain: BGP,Copyright Xu Jingdong, All right reserved,10,Chapter 5,Introduction of interface layer Broadcast vs. Switched Networ
10、ks LAN architecture and Interface Layer functions Principles of interface layer Encoding and decoding Error detection Multiple access protocols: CSMA/CD LAN technologies LAN addressing: physical address Mapping IP address to physical address: ARP Shared Ethernet Switched Ethernet,HTTP request sent i
11、nto TCP socket,IP datagram containing HTTP request routed to ,IP datagram containing HTTP reply routed back to client,05,web server,web server responds with HTTP reply (containing web page),web page finally (!) displayed,11,ISP network /13,Googles network /19,64.233.
12、169.105,web server,DNS server,school network /24,web page,12,connecting laptop needs to get its own IP address, addr of first-hop router, addr of DNS server: use DHCP,DHCP request encapsulated in UDP, encapsulated in IP, encapsulated in 802.3 Ethernet,Ethernet frame broadcast (dest: FFFFFFF
13、FFFFF) on LAN, received at router running DHCP server,Ethernet demuxed to IP demuxed, UDP demuxed to DHCP,13,encapsulation at DHCP server, frame forwarded (switch learning) through LAN, demultiplexing at client,Client now has IP address, knows name & addr of DNS server, IP address of its first-hop r
14、outer,DHCP client receives DHCP ACK reply,DHCP server formulates DHCP ACK containing clients IP address, IP address of first-hop router for client, name & IP address of DNS server,14,before sending HTTP request, need IP address of : DNS,DNS query created, encapsulated in UDP, encapsulated in IP, enc
15、apsulated in Eth. To send frame to router, need MAC address of router interface: ARP,ARP query broadcast, received by router, which replies with ARP reply giving MAC address of router interface,client now knows MAC address of first hop router, so can now send frame containing DNS query,15,IP datagra
16、m containing DNS query forwarded via LAN switch from client to 1st hop router,IP datagram forwarded from campus network into comcast network, routed (tables created by RIP, OSPF, IS-IS and/or BGP routing protocols) to DNS server,demuxed to DNS server DNS server replies to client with IP address of ,
17、ISP network /13,DNS server,16,to send HTTP request, client first opens TCP socket to web server,TCP SYN segment (step 1 in 3-way handshake) inter-domain routed to web server,TCP connection established!,05,web server,web server responds with TCP SYNACK (step 2 in 3-way handshake),17,HTTP request sent into TCP soc
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026广西北海市社会保险经办中心招募就业见习生备考题库及答案详解1套
- 2026新疆第三师图木舒克市面向社会招聘事业单位人员84人备考题库带答案详解
- 2026江西湖口县第一批单位选调名事业编制工作人员32人备考题库有完整答案详解
- 2026河南省洪湖林清环保能源有限公司招聘4人备考题库(含答案详解)
- 2025江苏扬州市高邮市经济发展集团有限公司补充招聘2人备考题库及1套完整答案详解
- 2026年1月滨州展鸿人力资源管理有限公司招聘工作人员(第一批)备考题库及答案详解一套
- 2026浙江温州市广播电视监测中心招聘编外合同制人员1人备考题库完整参考答案详解
- 2026江西南昌市劳动保障事务代理中心以劳务外包形式招聘项目申报与监测服务工作人员1人备考题库带答案详解
- 2026年咸阳市高新一中教师招聘备考题库完整答案详解
- 2026广西南宁市武鸣区双桥中心卫生院编外工作人员招聘1人备考题库含答案详解
- 2026年国家电网招聘之电网计算机考试题库500道有答案
- 年味课件教学课件
- 中国临床肿瘤学会(csco)胃癌诊疗指南2025
- 广东省广州市2025年上学期八年级数学期末考试试卷附答案
- 疑难病例讨论制度落实常见问题与改进建议
- 手机铺货协议书
- 2025年新能源停车场建设项目可行性研究报告
- 2025年物业管理中心工作总结及2026年工作计划
- 创伤性脾破裂的护理
- 蓬深102井钻井工程(重新报批)项目环境影响报告表
- 马路切割承包协议书
评论
0/150
提交评论