当前位置:网站首页>OSI model, tcp/ip model
OSI model, tcp/ip model
2022-07-22 18:41:00 【lwbcsd】
** One .**OSI Reference model ( Seven layers )
Switch :
Switch (Switch) Meaning for “ switch ” It's used for electricity ( light ) Network equipment for signal forwarding , It can
Provide exclusive electrical signal path for any two network nodes connected to the switch . When there are many ports
Next , You need to send data to many terminal addresses , The switch is about to be used .
Functionally : A switch is used to connect multiple devices , Let it have the conditions of network intercommunication .
By definition : A switch is a network device , Can connect multiple devices to the computer network , By means of packet exchange , Forward data to the destination .
working principle :
The switch works on OSI Reference the second layer of the model , Data link layer . Inside the switch CPU Will be in every
When the port is successfully connected , By way of MAC The address corresponds to the port , Form a picture of MAC surface . In future communications
, Send it to MAC The address packet will only be sent to its corresponding port , Not all the ports . therefore , hand over
The switch can be used to divide the data link layer broadcast , The conflict domain ; But it can't divide network layer broadcasting , The broadcast domain .
Router
Two or more devices are connected to a network , Act as a gateway between networks , It's a dedicated intelligent network device that reads the address in each packet and decides how to transmit it . It can understand different agreements , For example, the Ethernet protocol used in a LAN , Used by the Internet TCP/IP agreement . such , The router can analyze the destination address of packets from different types of networks , Turn the non TCP/IP The address of the network is translated into TCP/IP Address , Or vice versa ; Then according to the selected routing algorithm, each packet is transmitted to the designated location according to the best route . So the router can put the non TCP/ IP The Internet is connected to the Internet .
The difference between router and switch :
1. Using the switch to access the Internet is to dial up separately , Use their own broadband accounts , The Internet does not affect each other .
The router shares a broadband account , Everyone will interact with each other on the Internet .
2. The switch works in the relay layer , Switch based on MAC Address addressing . Routers work on the network layer , according to
IP Address addressing .
3. The switch can make multiple computers connected to it form a local area network , If there is a proxy server, it's ok
Realize the function of surfing the Internet at the same time , However, the switch does not automatically identify the sending and arrival addresses of packets as the router
function .
4. Routers provide services for firewalls . Routers only forward packets of a specific address , No transmission, no support
Packet transmission with Routing Protocol .
边栏推荐
- [SDIO] SDIO, SD card, FatFs file system related article index
- 总结20220208(kmp)
- 04.接口隔离原则(Interface Segregation Principle)
- charm zaza functional test (by quqi99)
- 枚举对象中属性
- 24 SaaS thoughts
- [10:00 public class]: cloud video conference system privatization practice
- 【FatFs】基于STM32 SD卡移植FatFs文件系统
- 【Nordic】nRF52810 OTA升级(三)–DFU理论分析
- TCP与UDP及三次握手,四次挥手
猜你喜欢
总结20220121
数组的简介
[SDIO] sd2.0 protocol analysis summary (I) -- Introduction to SD card basic probability
24 条 SaaS 思考
05.迪米特原则(Law of Demeter LoD)
Android互联网大厂面试经验
MySQL优化之强制索引的使用
全局作用域和函数作用域
It took two hours to find the bug about scrollto scrolling the distance from offsettop to the top
Using pypyodbc in Ubuntu cannot connect to SQL Server
随机推荐
枚举对象中属性
力扣解法汇总1051-高度检查器
手写shallowReadonly和readonly
web新手区
周末和技术大咖们聚餐,聊到了软件测试行业的“金九银十”高峰【内卷之势已然形成】
微信公众号网页授权----redirect_uri域名与后台配置不一致,错误码10003 错误
02.依赖导致原则 - Dependence Inversion Principle
【STM32】STM32 SDIO SD卡读写测试(一)-- SD卡硬件设计和软件移植
【Nordic】nRF52810 OTA升级(二)–DFU如何使用
[SDIO] sd2.0 protocol analysis summary (III) -- Introduction to SD card related commands
ecshop 需要修改权限的文件夹及文件? 报错目录不可写入
sshfs + autofs + sshpass (by quqi99)
[SDIO] SDIO, SD card, FatFs file system related article index
力扣解法汇总735-行星碰撞
DOM添加
3、 Generics
DOM简介及查询
力扣解法汇总1217-玩筹码
Go 内存模型
05.迪米特原则(Law of Demeter LoD)