当前位置:网站首页>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
边栏推荐
- The difference between memory overflow and memory leak
- 常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
- SSRF vulnerability file pseudo protocol [netding Cup 2018] fakebook1
- 请问,如图,pyhon云函数提示使用了 pymysql模块,这个是怎么回事?
- PC端页面如何调用QQ进行在线聊天?
- Clickhouse (03) how to install and deploy Clickhouse
- 最长上升子序列模型 AcWing 482. 合唱队形
- NDK beginner's study (1)
- 手把手教会:XML建模
- 3D detection: fast visualization of 3D box and point cloud
猜你喜欢

带你掌握三层架构(建议收藏)

Selenium库

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

XML文件的解析操作

Horizontal of libsgm_ path_ Interpretation of aggregation program
![Verilog implementation of a simple legv8 processor [4] [explanation of basic knowledge and module design of single cycle implementation]](/img/d3/20674983717d829489149b4d3bfedf.png)
Verilog implementation of a simple legv8 processor [4] [explanation of basic knowledge and module design of single cycle implementation]

Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding

数据流图,数据字典

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

Help tenants
随机推荐
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
Laravel form builder uses
Horizontal of libsgm_ path_ Interpretation of aggregation program
请问,如图,pyhon云函数提示使用了 pymysql模块,这个是怎么回事?
TPG x AIDU | AI leading talent recruitment plan in progress!
Details of redis core data structure & new features of redis 6
THINKPHP框架的优秀开源系统推荐
Realization of search box effect [daily question]
Redis 核心数据结构 & Redis 6 新特性详
AI talent cultivation new ideas, this live broadcast has what you care about
【网络安全】sql注入语法汇总
请问,redis没有消费消息,都在redis里堆着是怎么回事?用的是cerely 。
PostgreSQL array type, each splice
Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
Parameter keywords final, flags, internal, mapping keywords internal
课设之百万数据文档存取
Advanced Mathematics - Chapter 8 differential calculus of multivariate functions 1
. Net core about redis pipeline and transactions
[daily training -- Tencent select 50] 231 Power of 2