Difference Between Router and Switch
Many people don't know the difference between a router and a switch. Here's a summary.
In the model system, the router works at the network layer. Its function is in the network world. In the public network, it relies on IP address for addressing and forwarding; while the switch is based on MAC addressstrong>Filter and forward.
Router + Switch:
The interior of the router is the routing table, which stores a lot of IP address information
The inside of the switch is the MAC table, which stores a lot of MAC address information
For our home network, the first thing that comes into the network is an optical cat, whose function is to convert the optical signal of the optical fiber into an electrical signal; then it is the router. The router generally has three or four downlink LAN ports.Ports are not enough, you can expand the switch.That's what I mean.In fact, the current router has the function of a switch. In fact, it is more suitable to use a switch for secondary expansion, because it has the WIFI function and is suitable for more scenarios.In comparison, the switch has more ports, so it is the best fit.
The MAC address is the physical address necessary for each network card to access the Internet. Just like a person's ID card, the network card generates a unique MAC address when it is produced.
It is generally enough to use a router in the family now, because the router has the function of a switch; when there are many wired Internet devices in the local area network and the router ports are not enough, a switch is needed, so the switch is not necessary.However, this description is not completely accurate. Computers in the LAN have to exchange data when they access the Internet, but the router has this function.
The MAC address is different from the IP address. The MAC address is an important information for identification in the local area network.
- Protobuf：Updating A Message （Protobuf更新.proto文件后用读取旧的信息流）
- 葡聚糖-巯基 Dextran-SH,甲基丙烯酸酯/碘乙酸盐/氯化物/二苯基环辛炔功能化葡聚糖
- 深度学习——（11）Knowledge distillation理论
- WeChat applet cloud development bottoms out paging
- Jetpack ViewModel源码分析
- Jetpack Lifecycle源码分析
- Oracle 10g 环境 ，集群启动后磁盘组不自动挂载，在哪里设置？
- nacos 无法注册服务
- Can live broadcasts also cross dimensions?The Digital Human New Product Launch Conference is here!
- Can the openGauss database use Chinese to define indications and field names?
- SQL daily practice 3 - simple record 9 questions
- In the Oracle 10g environment, the disk group is not automatically mounted after the cluster is started. Where should I set it?
- Jetpack Lifecycle source code analysis
- nacos cannot register service
- Behind the big sales of the AITO series, Huawei is incubating more "Celes"
- Jetpack ViewModel source analysis