网络安全前置 CompTIA Network+ 之OSI 模型 笔记

OSI model/stack 是什么:

  • Open System Interconnection-
  • 1977 创建
  • 非常重要-所有网络的基础
  • 国际通用标准数字 ISO 7498'
  • 有7层layer

数据怎么传输过模型的?

  • 从上往下

第一层(层数是从下往上数的)物理层数(Physical Layer)

Bits 是只有0 和 1

  • 这层会告诉我们物理以及电子特性,比如我们是用wifi 还是ethernet
  • 这一层只有bits
  • 电缆也是这层的一部分 也是有标准的 TIA/EIA-568 A /B
  • Cross over cable- A 和 B 混在一起 
  • Straight through cable 两端都是用B 型
  • 使用什么topology 来连接的 是用ring bus 还是star?
  • 怎么同步沟通? 接受端怎么知道它可以接受0 和 1?
  • 不同步沟通-发送一个bit是可以接受 然后再发送一个bits代表停止接受
  • 同步沟通-利用公共时间管理 比如时钟 每一秒就可以接受和发送
  • 如何利用带宽 bandwidth? Broadband 和Baseband
  • Broadband 将bandwidth 分成不同的频道
  • Baseband 用所有bandwidth 比如有线电话 和ethernet
  • Time-Division Multiplexing(TDM) 轮流使用部分宽带
  • Statistical Time-Division Multiplexing(StatTDM) 根据需要动态分配 而不是排队
  • Frequency-Division Multiplexing(FDM) 将bandwidth平均分配

第二层 Data Link Layer

  • 从第一层拿到的bit 放进frame 然后再传输frame 同时进行错误检测, 侦测mac address 以及流量控制
  • Mac address 是一个设备的物理地址 - 48 bit 的地址 会在NIC 卡上 一定是16进制写的
  • D2:51:F1:3A:34:65 
  • D2:51:F1代表了制作供应商
  • 3A:34:65 是确切地址\
  • 不同于第一层 第一层是检测物理连接 第二层是谁在传输 这样就不会发生流量错乱
  • Logical Link Control(LLC) 确认数据到达目的地 ,流量控制,允许设备请求较小的信息
  • 怎么同步沟通?Isochronous 开销最少 因为两端都知道确切时间 利用公共时间管理 比如时钟 或者 Synchronous 跟iso一样 不过有停止和接受帧数 来告诉这一层什么时候结束 什么时候开始
  • 不同步- 每个设备都可以用自己的时间来决定什么时候开始什么时候停 无法控制何时沟通
  • 考试的时候 - Switch 一定是第二层 如果是multilayer-switch(switch + router) 则是第三层

第三层-网络层数 - Network Layer

  • router,ipv4,ipv6, 主要是为了转发流量, 控制流量,数据包重置
  • 如何转发流量?
  • Packet Switching- 分割成数据包 然后转发
  • Circuit Switching - 在两个设备之间建立一条专用线 只用这条线来转发 
  • Message Switching-  跟packet switching 差不多 不过分割成信息 可以储存以及转发
  • Route Discovery and Selection - 选择哪条线路是最好的
  • Internet Control Message Protocal- 发送错误信息和操作信息给 指定ip 比如cmd ping baidu.com

第四层-运输层数 - Transport Layer 对应 数据段 Segments

  • TCP,UDP, Windowing, Buffering, Datagram, Segment,WAN accelarator, Low balancer, Firewall
  • TCP-Transmission Control Protocal- 面向连接 是一种传输数据段的可靠方式 完整连接协议 因为有双向类型 如果一个数据段没了 协议会马上询问并确认 如果没有确定这段是用户自己选择丢失的 那就会重新发送 如图 三段握手  Three-way handshake
  •  UDP User Datagram Protocal(UDP) - 无连接协议- 如果数据不见了 不会通知发送者
  • Windowing- 允许client 调整每个数据段的数据
  • Buffering- router 储存太多信息 无法发出去 导致内存不足 然后segment会下降

第五层- Session Layer

net bios, H.323

  • 创建私人通讯频道以保证数据不被混合或交叉污染
  • Set up Session- 建立通信 确认client 的密码 然后通过赋予数字来分辨client
  • Transfer data- 通信建立后就开始发送资料 如果通信中断就会重新建立通道
  • Acknowledge receipt- 收到会确认 没收到会重新request
  • Tear Down session- 最后一步,信息传输完毕 确定收到 然后删除通道 或者一方消失了
  • H.323 以上所有步骤的前置protocal 
  • RTP Real time protocal - steaming audio , facetime
  • NetBios 用来共享文件

第六层- Presentation Layer

  • -加密 重新打包,数据重新编译 例如用TLS, SSL 来加密 
  • JPG,GIF,PNG etc, HTML , Javascript, PHP , ASCII , Unicode, EBCDIC 
  • 确保数据是被设备接收到了

第七层- Application Layer

  • Email, HTTP,DNS,FTP, SSH 等
  • 不是我们用的应用程式 更像是应用程式协议

  • 10
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
CompTIA Network+ Certification All-in-One Exam Guide, Seventh Edition (Exam N10-007) By 作者: Mike Meyers ISBN-10 书号: 1260122387 ISBN-13 书号: 9781260122381 Edition 版本: 7 出版日期: 2018-06-26 pages 页数: 1463 Fulfilling the promise of the All-in-One series, this complete reference serves both as a study tool and a valuable on-the-job reference that will serve readers beyond the exam. CompTIA Network+ Certification All-in-One Exam Guide, Seventh Edition (Exam N10-007) also includes access to free video training and interactive hands-on labs and simulations that prepare you for difficult performance-based questions. A valuable pre-assessment test enables readers to gauge their familiarity with the test’s objectives and tailor an effective course for study. Contains complete coverage of every objective for the CompTIA Network+ Certification exam Written by CompTIA training and certification guru Mike Meyers Electronic content includes the Total Tester exam simulator with over 100 practice questions, over an hour of training videos, and a collection of Mike Meyers’ favorite shareware and freeware networking utilities Chapter 1 Network Models Chapter 2 Cabling and Topology Chapter 3 Ethernet Basics Chapter 4Modern Ethernet Chapter 5 Installing a Physical Network Chapter 6TCP/IP Basics Chapter 7 Routing Chapter 8 TCP/IP Applications Chapter 9 Network Naming Chapter 10 Securing TCP/IP Chapter 11 Advanced Networking Devices Chapter 12 IPv6 Chapter 13 Remote Connectivity Chapter 14 Wireless Networking Chapter 15 Virtualization and Cloud Computing Chapter 16 Mobile Networking Chapter 17 Building a Real-World Network Chapter 18 Managing Risk Chapter 19 Protecting Your Network Chapter 20 Network Monitoring Chapter 21 Network Troubleshooting Appendix A Objective Map:CompTIA Network+ Appendix B Create Your Study Plan Appendx C About the Online Content

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值