当前位置:网站首页>Similarities and differences between switches and routers
Similarities and differences between switches and routers
2022-07-07 14:14:00 【sinat_ thirty-six million seven hundred and eighty-nine thousan】
1、 Routers can automatically assign to your LAN IP, Virtual dialing , Like a traffic cop , Command where your computer should go , You don't have to worry so much about yourself . Switches are just used to distribute network data .
2、 The router is on the network layer , The router is based on IP Address addressing forwarding packet , The router can handle TCP/IP agreement , Switches can't . The switch is at the data link layer , Switch based on MAC Address addressing forwarding packet .
3、 The router can put a IP Assigned to many hosts , These hosts only show one IP. Switches can connect many hosts , Each of these hosts has its own IP.
4、 Routers can provide firewalls , The switch cannot provide this function . A hub 、 Switches do port expansion , Is to expand the local area network ( It's usually Ethernet ) Access point for , That is to say, LAN can connect more computers . Routers are used for inter network connections , It's used to connect different networks .
5、 for instance : A router is like a post office , Deliver the letter to the addressee's address , It's done . But the letter arrived in your dormitory , And this address is not for you alone , So Mr. Wang of building management is also responsible for giving the letter to you , He doesn't care about the recipient's address , Just look at the recipient's name , Then make an internal call to ask you to pick up the letter .
If there is no post office , You can't send letters to beautiful girls all over the world , I can't get a letter from a beautiful girl outside the building . But because of the existence of Mr. Wang , You can still communicate with your good friends in the dormitory through him .
A system of all post offices , Namely “ Wide area network ”, And your dorm building , Namely “ LAN ”, You don't need a router to build a LAN .
PS:
1、 The broadcast cannot pass the router
2、MAC The address determines the next hop of the data frame , and IP The address determines the destination of the packet
3、 The Internet does not forward private addresses
边栏推荐
- 2022-7-7 Leetcode 844. Compare strings with backspace
- The reason why data truncated for column 'xxx' at row 1 appears in the MySQL import file
- . Net core about redis pipeline and transactions
- call undefined function openssl_ cipher_ iv_ length
- 用例图
- Excuse me, when using Flink SQL sink data to Kafka, the execution is successful, but there is no number in Kafka
- 属性关键字Aliases,Calculated,Cardinality,ClientName
- c#利用 TCP 协议建立连接
- Common response status codes
- PERT图(工程网络图)
猜你喜欢
用例图
566. Reshaping the matrix
供应链供需预估-[时间序列]
Did login metamask
Wired network IP address of VMware shared host
118. Yanghui triangle
最长上升子序列模型 AcWing 482. 合唱队形
TPG x AIDU | AI leading talent recruitment plan in progress!
Build a secure and trusted computing platform based on Kunpeng's native security
Data flow diagram, data dictionary
随机推荐
NDK beginner's study (1)
请问指南针股票软件可靠吗?交易股票安全吗?
Leetcode simple question sharing (20)
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
Laravel5 call to undefined function OpenSSL cipher IV length() error php7 failed to open OpenSSL extension
属性关键字Aliases,Calculated,Cardinality,ClientName
供应链供需预估-[时间序列]
Vscode configuration uses pylint syntax checker
带你掌握三层架构(建议收藏)
call undefined function openssl_cipher_iv_length
一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
请问,如图,pyhon云函数提示使用了 pymysql模块,这个是怎么回事?
请问,redis没有消费消息,都在redis里堆着是怎么回事?用的是cerely 。
Evolution of customer service hotline of dewu
Vmware共享主机的有线网络IP地址
PERT图(工程网络图)
Details of redis core data structure & new features of redis 6
Data flow diagram, data dictionary
使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )