使用命令行加入Linux中的多播组

时间:2021-01-31 12:26:30

I'm trying to join/define a multicast group in linux. Is there anyway to achieve this using a command line? I know it is possible to do so programmatically. But I would like to test my idea before programming.

我正在尝试在linux中加入/定义一个多播组。无论如何使用命令行实现这一目标?我知道有可能以编程方式这样做。但我想在编程前测试我的想法。

P.S: a route to 244.0.0.0 has already been added and eth0 supports multicast

P.S:已添加到244.0.0.0的路由,eth0支持多播

1 个解决方案

#1


3  

You could use ssmping. Just specify a regular unicast address and it will try to join the fixed multicast address 232.43.211.234 by sending periodic membership reports.. Not that you have to keep this application running or your multicast membership will time out.

你可以使用ssmping。只需指定一个常规的单播地址,它就会尝试通过发送定期的成员资格报告来加入固定的多播地址232.43.211.234。不是说您必须保持此应用程序运行或您的多播成员身份将超时。

#1


3  

You could use ssmping. Just specify a regular unicast address and it will try to join the fixed multicast address 232.43.211.234 by sending periodic membership reports.. Not that you have to keep this application running or your multicast membership will time out.

你可以使用ssmping。只需指定一个常规的单播地址,它就会尝试通过发送定期的成员资格报告来加入固定的多播地址232.43.211.234。不是说您必须保持此应用程序运行或您的多播成员身份将超时。