multicast

Docker receiving multicast traffic

前提是你 提交于 2020-01-20 17:00:41
问题 We have a dockerized server application that is doing auto-discovery of physical appliances on the network by listening for multicast packets on port 6969. So we need our docker container to be able to receive these packets from devices outside the host, through the host, and in to the container. I've seen some similar issues and done a lot of reading but I'm still unable to get the server to respond to these multicast packets. I'm sitting on Wireshark watching network traffic, but I'm not a

How to send multicast packets via a specfic interface in Linux

喜你入骨 提交于 2020-01-20 02:54:05
问题 Having tried all possible ways couldn't find a work around for this problem. I have a machine with two interfaces eth0 and eth2. I want all ff38:40:2001:dead:beef:cafe::/96 packets to go on eth2. I tried all the following but when I do ping6 ff38:40:2001:dead:beef:cafe::1 the packets always goes on eth0. Things I have tried and have not worked (i.e., packet still goes out on eth0). $> route add --inet6 ff38:40:2001:dead:beef:cafe::/96 gw 2003::100 dev eth2 $> route add --inet6 ff38:40:2001

Nanomsg multicast bandwidth issue

泪湿孤枕 提交于 2020-01-16 09:08:16
问题 Can I have pure multicasting in pub/sub protocol of the nanomsg. As there can be N subscribers interested in a particular data for a single publisher, the same subscribed data is flowing in N different streams.If my bandwidth for a single stream is 10MB then the total bandwidth required for N streams is 10*N,thus there is a increase in the bandwidth .Can we reduce this bandwidth as we do in the multicasting?? Can anyone help me regarding this issue?? 回答1: As far as I understand the PUB/SUB

Multicast in java

狂风中的少年 提交于 2020-01-13 04:41:06
问题 I am trying to write a simple multicast trial. I used a standard code (sender and reciever). I tried a few different standard pieces of code. it appears that the receiving code is stuck on receive (as if it's not receving anything). receive side: byte[] b = new byte[3]; DatagramPacket dgram = new DatagramPacket(b, b.length); MulticastSocket socket = new MulticastSocket(4545); // must bind receive side socket.joinGroup(InetAddress.getByName("226.100.100.125")); while(true) { socket.receive

How to add my host to Multicast Group…!

随声附和 提交于 2020-01-07 08:27:21
问题 I want test the Multicast functionality in my NIC Manually. I found a tool to generate the multicast traffic using Mint tool, I installed it and now I want add my host to Multicast Group how to do that can anyone suggest me or other way to test the Multicast Functionality. Thanks in Advance. 回答1: Create a UDP socket, bind it to the multicast group and teh port number on which you would send the multicast traffic. Next, set multicast IP_ADD_MEMBERSHIP and pass the group number. Once these

multicast socket - will not work when computer wakes up from sleep [closed]

微笑、不失礼 提交于 2020-01-06 15:41:35
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . Hi guys I have a multicast socket that is receiving packets and is working fine. I had an issue though where when my computer wakes up from sleep the

multicast socket - will not work when computer wakes up from sleep [closed]

前提是你 提交于 2020-01-06 15:41:07
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . Hi guys I have a multicast socket that is receiving packets and is working fine. I had an issue though where when my computer wakes up from sleep the

DDS configuration with multicast and unicast

拟墨画扇 提交于 2020-01-04 15:15:54
问题 I am still trying to understand DDS and its concepts. I have a configuration where 2 laptops run dds based application. My environment does not permit multicast so I decided to go for peer to peer connection(unicast). To bring both the laptops in the same network, I connected them using ethernet cable (Not sure if it was necessary or not). Now I did not change anything in the QoS i.e. i did not do any settings for unicasting. But now my applications are communicating with each other. Question

Sending IPv6 multicast packets through a specific network interface

久未见 提交于 2020-01-04 05:51:29
问题 I am trying to send IPv6 UDP packets to all of the nodes on the local network segment, in python, over Windows. I have several network interfaces in my computer, and I want to know how to specify the network interface for sending the packets. I have tried sending the packets to the multicast address ff02::1, using socket.sendto (without binding), but the packets are sent in the wrong network interface. Any idea how can I specify the network adapter? (I read about BINDTODEVICE, but it won't

Use ip route add to add multicast routes to multiple devices

两盒软妹~` 提交于 2020-01-03 13:34:21
问题 TLDR: Is there a way to use "ip route" to add multicast routes for multiple NICs? We have software that joins two sockets bound to different ip addresses on separate NICS to two separate multicast groups, eg socket 1 is bound to 192.168.0.2 and joined to multicast group 233.255.10.1 while socket 2 is bound to 10.57.31.2 and joined to multicast group 239.255.100.1. We are currently using a bash script (Linux kernel 3.14.39) to set multicast routes on the two network interfaces using route, eg