当前位置:网站首页>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
边栏推荐
- Parameter keywords final, flags, internal, mapping keywords internal
- Environment configuration of lavarel env
- 566. Reshaping the matrix
- mysql导入文件出现Data truncated for column ‘xxx’ at row 1的原因
- Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]
- IP address home location query
- 使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )
- Supply chain supply and demand estimation - [time series]
- 【立体匹配论文阅读】【三】INTS
- Selenium库
猜你喜欢
2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
Redis 核心数据结构 & Redis 6 新特性详
SAKT方法部分介绍
Use day JS let time (displayed as minutes, hours, days, months, and so on)
2022-7-6 beginner redis (I) download, install and run redis under Linux
docker部署oracle
Evolution of customer service hotline of dewu
PERT图(工程网络图)
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
随机推荐
3D Detection: 3D Box和点云 快速可视化
Best practice | using Tencent cloud AI willingness to audit as the escort of telephone compliance
[Reading stereo matching papers] [III] ints
IP address home location query full version
requires php ~7.1 -> your PHP version (7.0.18) does not satisfy that requirement
Verilog implementation of a simple legv8 processor [4] [explanation of basic knowledge and module design of single cycle implementation]
"Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?
杭电oj2092 整数解
NDK beginner's study (1)
Laravel5 call to undefined function openssl cipher iv length() 报错 PHP7开启OpenSSL扩展失败
Dry goods | summarize the linkage use of those vulnerability tools
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
PHP中用下划线开头的变量含义
Environment configuration
Advanced Mathematics - Chapter 8 differential calculus of multivariate functions 1
Lavarel之环境配置 .env
一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
Hands on Teaching: XML modeling