Many people's weak friends think that these two are used to access the Internet. As for the difference between them, it is not clear what is going on. What is the difference between a switch and a router?
Switch and router difference
One of the differences
The router can automatically assign IP to your LAN, virtual dialing, like a traffic police, directing your computer where to go, you don't have to worry about it. The switch is only used to distribute network data.
Difference two
The router is at the network layer, the router is addressed according to the IP address, the router can handle the TCP/IP protocol, and the switch cannot.
The switch is at the relay layer and the switch is addressed according to the MAC address.
Difference three
A router can assign an IP to a number of hosts, and these hosts only show one IP to the outside. The switch can connect many hosts, each of which has its own IP.
Difference four
The router provides a firewall service that the switch cannot provide. Hubs and switches are all port extensions, which are to expand the access point of the LAN (usually Ethernet), which allows the LAN to connect to more computers. Routers are used to connect between networks, that is, to connect to different networks.
Difference five
For example: the router is equivalent to the post office, the letter is delivered to the recipient address, and its task is completed. But the letter arrived at your dormitory, and this address is not exclusive to you alone, so the uncle Wang is also responsible for giving the letter to you, he will not care about the address of the recipient, only the name of the recipient Then make an inside call and ask you to get the letter.
If you don't have a post office, you can't send letters to beautiful girls from all over the world, and you can't receive letters from beautiful girls outside the building. However, because of the existence of the uncle Wang, you can still communicate with him through the good friends of the same dormitory.
The system consisting of all post offices is the "wide area network", and your dormitory building is the "local area network". The construction of the local area network does not require a router.
24v wall charger,24v dc adapter,24v ac dc adapter,24v switching adapter,100-240V AC to DC 24V 3A 72W Power Adapter,12W Ac Switching Power Adapter,24V 0.5A Power Supply For Led Lights
Shenzhen Waweis Technology Co., Ltd. , https://www.waweisasdapter.com