📜  网桥和路由器的区别

📅  最后修改于: 2021-09-11 03:39:07             🧑  作者: Mango

先决条件 – 网络设备
网桥是网络设备,工作在数据链路层。通过网桥,数据或信息以数据包的形式存储和发送。而路由器也是工作在网络层的网络设备。通过路由器,数据或信息以数据包的形式存储和发送。

网桥和路由器的主要区别在于,网桥研究或扫描设备的 MAC 地址。另一方面,路由器研究或扫描设备的 IP 地址。

让我们看看下面给出的网桥和路由器之间的区别:

S.NO Bridge Router
1. Bridge works in data link layer. While Router works in network layer.
2. Through bridge, data or information is not store and sent in the form of packet. While through router, data or information is store and sent in the form of packet.
3. There are only two ports in bridge. While there are more than two ports in router.
4. Bridge connects two different LANs. While router is used by LAN as well as MAN for connection.
5. In bridge, routing table is not used. While in routers, routing table is used.
6. Bridge works on single broadcast domain. While router works on more than single broadcast domain.
7. Bridges are easy to configure. While Routers are difficult to setup and configure.
8. Bridge focuses on MAC address . While Router focuses on protocol address.
9. Bridge is comparatively inexpensive. While Router is relatively expensive device.
10. Bridges are good for segment network and extends the existing network. While Routers are good for joining remote networks.