当前位置:网站首页>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
边栏推荐
- [untitled]
- Realization of search box effect [daily question]
- 高等数学---第八章多元函数微分学1
- Clickhouse (03) how to install and deploy Clickhouse
- UML sequence diagram (sequence diagram)
- 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
- js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
- 使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )
- 2022-7-7 Leetcode 844. Compare strings with backspace
- When FC connects to the database, do you have to use a custom domain name to access it outside?
猜你喜欢
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
TPG x AIDU | AI leading talent recruitment plan in progress!
Redis can only cache? Too out!
用例图
Use day JS let time (displayed as minutes, hours, days, months, and so on)
566. Reshaping the matrix
Dry goods | summarize the linkage use of those vulnerability tools
VSCode 配置使用 PyLint 语法检查器
XML文件的解析操作
PERT图(工程网络图)
随机推荐
Wired network IP address of VMware shared host
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
课设之百万数据文档存取
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
Huawei image address
杭电oj2054 A == B ? ???
AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?
Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]
requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
Mysql怎样控制replace替换的次数?
ES日志报错赏析-Limit of total fields
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
内存溢出和内存泄漏的区别
THINKPHP框架的优秀开源系统推荐
Environment configuration
Interface automation test - solution of data dependency between interfaces
【AI实战】应用xgboost.XGBRegressor搭建空气质量预测模型(二)
566. Reshaping the matrix
docker部署oracle
Realization of search box effect [daily question]