📜  单播和广播的区别

📅  最后修改于: 2021-09-15 01:48:25             🧑  作者: Mango

1. 单播:
单播是一种信息传输,当有单个发送者和单个接收者参与时使用它。因此,简而言之,您可以将其称为一对一映射。例如,网络中 IP 地址为 10.1.4.0 的设备想要将流量(数据包)发送到另一个网络中 IP 地址为 20.14.4.2 的设备,然后单播就出现了。它是最常见的网络数据传输形式。

2. 广播:
广播传输(一对多)技术可以分为两种类型:有限广播、直接广播。在广播模式下,传输发生在从一台主机到 LAN 上连接的所有其他主机。桥接等设备使用此。像ARP这样的协议实现了这一点,以便知道主机对应IP地址的MAC地址。 ARP 执行 ip 地址到 mac 地址的转换。 RARP 则相反。

单播和广播的区别:

S.No. Unicast Broadcast
1. It has one sender and one receiver. It has one sender and multiple receivers.
2. It sends data from one device to single device. It sent data from one device to all the other devices in a network.
3. It works on Single Node Topology. It works on star and bus topology.
4. It does not scale well for streaming media. It scale well across large networks.
5. Multiple unicasting utilizes more bandwidth as compared. Its bandwidth is wasted.
6. Web surfing, file transfer is an example of a unicast. Hub is an example of a broadcast device.
7. It has one-to-one mapping. It has one-to-all mapping.