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. |