Different forwarding methods
The three-layer switch forwards the data packet once, and the subsequent same-origin and same-purpose data packets are directly handed over to the two-layer switching process, and the judgment is based on the mac, vlan-id, ip, and source port of the data packet; the router performs three-layer routing for each data packet, and the forwarding efficiency is low.
The core function of the three-layer switch is high-speed forwarding, and the routing function is simple, so it is suitable for the gateway to realize the communication of different local area networks VLANs or network segments;
Router and other routers through various routing algorithms and routing communication protocols, for each data packet to choose a better route, so more suitable for the establishment of large wide area network.