当前位置:网站首页>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
边栏推荐
- MySQL "invalid use of null value" solution
- 手把手教会:XML建模
- . Net core about redis pipeline and transactions
- Excusez - moi, l'exécution a été réussie lors de l'utilisation des données de puits SQL Flink à Kafka, mais il n'y a pas de nombre dans Kafka
- 2022-7-7 Leetcode 844. Compare strings with backspace
- Verilog implementation of a simple legv8 processor [4] [explanation of basic knowledge and module design of single cycle implementation]
- 2022-7-6 Leetcode 977. Square of ordered array
- 648. Word replacement: the classic application of dictionary tree
- Vmware 与主机之间传输文件
- 接口自动化测试-接口间数据依赖问题解决
猜你喜欢

2022-7-6 Leetcode27. Remove the element - I haven't done the problem for a long time. It's such an embarrassing day for double pointers

Vscode configuration uses pylint syntax checker

Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance

Horizontal of libsgm_ path_ Interpretation of aggregation program

2022-7-7 Leetcode 844. Compare strings with backspace

最长上升子序列模型 AcWing 1014. 登山

2022-7-6 Leetcode 977. Square of ordered array

Battle Atlas: 12 scenarios detailing the requirements for container safety construction
![GVIM [III] [u vimrc configuration]](/img/82/38355d7914e5fe490546347e57e35d.png)
GVIM [III] [u vimrc configuration]

Vmware 与主机之间传输文件
随机推荐
Is it safe to open an account online now? Which securities company should I choose to open an account online?
Hands on Teaching: XML modeling
Is the spare money in your hand better to fry stocks or buy financial products?
一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
Details of redis core data structure & new features of redis 6
Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance
oracle 非自动提交解决
属性关键字Aliases,Calculated,Cardinality,ClientName
Seven propagation behaviors of transactions
课设之百万数据文档存取
118. Yanghui triangle
requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
docker部署oracle
Common response status codes
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
最长上升子序列模型 AcWing 482. 合唱队形
2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
Lavarel之环境配置 .env
requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
Laravel form builder uses