当前位置:网站首页>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
边栏推荐
- SAKT方法部分介绍
- 3D detection: fast visualization of 3D box and point cloud
- Did login metamask
- 【立体匹配论文阅读】【三】INTS
- c#利用 TCP 协议建立连接
- AI人才培育新思路,这场直播有你关心的
- Flask session forged hctf admin
- What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
- 请问指南针股票软件可靠吗?交易股票安全吗?
- Oracle advanced (V) schema solution
猜你喜欢
Redis 核心数据结构 & Redis 6 新特性详
566. Reshaping the matrix
Did login metamask
【立体匹配论文阅读】【三】INTS
Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
Transferring files between VMware and host
Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding
VSCode 配置使用 PyLint 语法检查器
The delivery efficiency is increased by 52 times, and the operation efficiency is increased by 10 times. See the compilation of practical cases of financial cloud native technology (with download)
Redis can only cache? Too out!
随机推荐
566. Reshaping the matrix
oracle 非自动提交解决
Verilog implementation of a simple legv8 processor [4] [explanation of basic knowledge and module design of single cycle implementation]
THINKPHP框架的优秀开源系统推荐
2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
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
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
PC端页面如何调用QQ进行在线聊天?
NDK beginner's study (1)
2022-7-6 beginner redis (I) download, install and run redis under Linux
Data flow diagram, data dictionary
IP address home location query
Hands on Teaching: XML modeling
Battle Atlas: 12 scenarios detailing the requirements for container safety construction
Social responsibility · value co creation, Zhongguancun network security and Information Industry Alliance dialogue, wechat entrepreneur Haitai Fangyuan, chairman Mr. Jiang Haizhou
最长上升子序列模型 AcWing 1014. 登山
Details of redis core data structure & new features of redis 6
The meaning of variables starting with underscores in PHP
IP and long integer interchange
【网络安全】sql注入语法汇总