当前位置:网站首页>Difference Between Router and Switch

Difference Between Router and Switch

2022-09-23 08:36:09Hzy_520

Many people don't know the difference between a router and a switch. Here's a summary.

Router:

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.

Summary:

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.

原网站

版权声明
本文为[Hzy_520]所创,转载请带上原文链接,感谢
https://chowdera.com/2022/266/202209230828484481.html

随机推荐