Questions tagged [multicast]
To be used with questions about network multi-casting in general.
99 questions
0
votes
1
answer
139
views
How can I have multiple TCP clients connected to server ttyS0?
I'm trying to test following envirorment:
One server (it's a router, It has busybox and few other cmd) with a a physical serial port and and open socket
#tcpsvd -v 0.0.0.0 -p 999 cat /dev/ttyS0
...
1
vote
1
answer
2k
views
Linux won't send multicast packets to interface
I have a server on VPN configured as a TAP device (as opposed to TUN, since it is joining to a wider network). I can send unicast traffic of that network, as well as receive multicast packets (and ...
0
votes
0
answers
38
views
Application does not get mulicast messages on ubuntu os
I have an applicaion running on ubuntu 16.04 os.
The application is receive mulicast messages however the application does not get the messages.
I can see on wireshark IGMP message that the ...
0
votes
1
answer
826
views
configure raspberry pi as multicast server and host
I have a network setup that I want to use to research igmp.
I have two routers and a switch, three raspberry pis are connected to the switch with different ip address subnets.
I have already ...
1
vote
1
answer
2k
views
nftables - multicast packets not matched
I've set up a rule to match multicast packets as follows:
add rule filter_4 new_out_4 meta pkttype multicast goto multicast_out_4
filter_4 is IPv4 table, new_out4 is output chain and multicast_out_4 ...
0
votes
2
answers
973
views
Is there a way to set the default TTL for multicast packets at system level?
pcap capture from my Centos 7 to multicast address shows TTL 25. Firewall considered it as DDOS and dropped packets.
I know that application code can set the multicast TTL with a call to setsockopt() ...
0
votes
1
answer
785
views
Is there a tool to generate layer 2 multicast traffic for test
Is there a tool to generate layer 2 multicast traffic on Linux (debian/raspberry/ubuntu). Need it for testing purpose. Need to monitor some netfilter rules. Expecting no one on the other side to ...
0
votes
1
answer
864
views
How to enable a host to reply to multicast ping
I'm experimenting with multicast traffic within my wireless network and tried to ping some pre-defined multicast address:
$ ping 224.0.0.251
The ip address of the ping machine is 192.168.0.11. So I ...
0
votes
2
answers
265
views
What multicast protocol NIC uses?
I have CONFIG_IP_MULTICAST=y and currently learning about IP multicast and found out that there're 2 common multicast protocols for IP networks: PIM SS and PIM DS. Querying my wifi adapter info I ...
0
votes
1
answer
445
views
igmpproxy not routing SSDP between interfaces
I have hostapd running on two wireless devices in isolated and bridged mode: wlp1s0 is behind the bridge wan, and wlp5s0 is behind the bridge iot. The exact configuration for each bridge is the one ...
1
vote
0
answers
288
views
disable multicast and promiscuity is off, nic still receive multicast packet
[root@VM-0-13-centos ~]# ip link set dev eth0 multicast off
[root@VM-0-13-centos ~]#
[root@VM-0-13-centos ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
2
votes
1
answer
1k
views
ipv6 multicast fails when it should loop back to self
So far I use multicast with ipv4 and it works; all involved computers run linux. I listen on two machines and send on one of those two (in a separate terminal). In the below example 'Hello 1' is ...
1
vote
0
answers
165
views
UDP multicast fails with "network unreachable" after static IP change on Linux 4.1
We have a requirement for UDP multicasting in our project using Linux 4.1 kernel with static ip address.
Basic UDP multicasting by the use of the sendto function to send data works fine with device ...
0
votes
1
answer
4k
views
Forward multicast traffic to bridge interface
I am trying to forward the multicast traffic arriving on interface eth1 to a bridge I created with ip link add br0 type bridge.
Elsewhere I have done this with a simple ip route add 226.3.2.1 dev ...
1
vote
0
answers
3k
views
multicast to all interfaces (how to set up the routes?)
I want a host to send out multicast traffic to all interfaces, but it seems I can only have one route.
I tried ip route add 224/4 dev eth0, and then ip route add 224/4 dev sit1, but the second one was ...
1
vote
0
answers
174
views
Configure SuSEfirewall2 in SLES12 SP5 to allow multicast via `sit`
I'm experimenting with multicasts in our Intranet, but it seems the Intranet does not support multicast routing.
Anyway, I set up an IP-IP tunnel (sit1) between two machines in different subnets, and ...
1
vote
0
answers
919
views
Using UDP multicast in Linux, recvfrom() cannot get data
I have a task to get data from a sensor device. Through the Wireshark, I can capture information as below:
wich send information from 10.13.1.113 to 224.0.2.2 (Multicast Address). Src Port 42402, Dst ...
3
votes
0
answers
2k
views
what does `IgnoredMulti` statistic for Udp in debian linux mean?
I have a Ubuntu machine that is receiving UDP packets by joining a multicast group, occasionally we are getting UDP packet drops.
when I am trying to monitor using netstat -s I get the following ...
1
vote
1
answer
1k
views
Centos8 does not respond to IGMP v2 membership queries
In troubleshooting a general issue why a Centos 8 box doesn't receive multicast data after sending a JOIN, analyzing with wireshark also shows the Centos box not responding to IGMP v2 membership ...
0
votes
1
answer
1k
views
IGMP v3 JOIN sent but no traffic from switch
I'm trying to join an IGMP multicast stream from a Centos 8 machine but after sending a JOIN, there is no traffic coming from the switch.
Simple connection:
MUX <-----------> cisco3850 <------...
4
votes
2
answers
3k
views
How to set preferred IPv6 interface
I have a program that sends multicast traffic via IPv6. It sends traffic out of the default network interface. It works fine normally (traffic goes out eth0) however if I have Docker loaded, then it ...
3
votes
1
answer
1k
views
How to check if someone is streaming RTP over a specific Multicast address?
Let's say we have ubuntu machine A with ip 192.168.0.20 and ubuntu machine B with ip 192.168.0.21 in same network. How can I check if machine A is streaming RTP to a multicast address and port for ...
3
votes
1
answer
2k
views
netcat producing EINVAL when sending to UDP IPv6 multicast
I'm using netcat on Fedora to test an IPv6 UDP multi-cast address. The command is
echo hi | nc -6 -u ff02::777:777:777 7777
netcat responds, "Invalid argument."
Running strace yields
...
1
vote
1
answer
4k
views
How can i create a multicast group and send a message to it?
I want to create a multicast group with 3 computers then ping them all, how is it done in the Linux CLI?
1
vote
1
answer
831
views
systemd-networkd multicast route removed when no carrier
We have a gateway product running Ubuntu 20.04 LTS. It has two network interfaces (WAN/LAN) configured using systemd-networkd. We use multicast messages to communicate to thousands of IoT devices ...
1
vote
0
answers
67
views
Converting an add-rule to a service for firewalld
I am having a hard time creating the following lines for multicasting into a service in firewalld.
firewall-cmd --permanent --add-port=49152-65532/udp
firewall-cmd --permanent --direct --add-rule ipv4 ...
2
votes
1
answer
1k
views
incoming UDP multicast stream stops after fixed time on macOS
My ISP provides IPTV feature, stream example: udp://@239.255.2.97:5500. I'd like to watch IPTV on macOS, so I used VLC.
Initially, IPTV didn't work at all. At first I thought that it's locked to ISP's ...
0
votes
0
answers
298
views
How to copy large files via network to multiple Linux PC at once?
I have 15 Linux PC and I need to install two virtual machine(Windows 10 and Ubuntu) in every one of these PCs.
I decided to install these two machine in one PC and copy virtual machine files to ...
1
vote
0
answers
446
views
Linux: UDP "multiplexer" inside kernel
I have an application with very high performance requirements and the following job: There is incoming UDP traffic on port 1234. The packets have as fast as possible to be sent to hosts H1, H2, ... Hn ...
1
vote
1
answer
596
views
Multicast route not linking to userspace
Ok So I have a user space application that needs to get data from multicast traffic, however I cannot seem to get the traffic out of kernel space and into userspace where the application can utilize ...
9
votes
5
answers
8k
views
How to install Linux on multiple PCs at once?
I need to install Linux OS on 30 PCs.
Is there any way to install from one ISO image with multicast or something like WDS in Microsoft?
I have a Ethernet connection with speed of 100Mb so installing ...
0
votes
1
answer
7k
views
how to test multicast with socat on one machine
I'm a linux beginner and trying to test multicast with socat on Ubuntu which works.
A bit "too well" actually (or I'm misunderstanding something fundamental)
my network looks that (ifconfig, ...
1
vote
3
answers
1k
views
How does multicast routing work on the internet?
For a LAN, it is effectively several additional layers of filters on hardware/software, maybe including switch(IGMP snooping)/NIC/kernel stack, etc. Otherwise it is similar to broadcast. I think I can ...
0
votes
1
answer
3k
views
Can UDP multicast listening socket receive unicast packet, OR, can UDP unicast socket receive multicast packet, on Linux IPv4 stack?
My understanding is this, if a socket does not bind local address(or binds to INADDR_ANY), and does not call connect() to set remote address/port, then there is no way to prevent unicast packets to be ...
1
vote
0
answers
80
views
Tunnelling IP Multicast traffic between two residential networks or machines
The Ableton Link music synchronization service operates by broadcasting and receiving messages via an IPv4 multicast group in the "Ad-Hoc 2" address block.
In order to use the protocol to synchronize ...
3
votes
0
answers
1k
views
Debian ignores second multicast packet
I have a home local network with several devices. One of the devices is sending multicast packets with information about some events (smart home). It works well - I've tried to launch Multicast Tester ...
0
votes
0
answers
1k
views
Setting up multicast between two apps on same computer
I have two Java apps running on the same computer. Each one uses the IP address of the computer (the IP on the enpXXX interface). App1 sends a packet to App2 using multicast, but it doesn't seem to ...
0
votes
1
answer
1k
views
Multicast packets being dropped at IP layer?
External multicast data is being received by machine #1 and forwarded to machine #2. On machine #2 I can see the multicast packets being received when I use tcpdump, ethtool and netstat -i (ethernet ...
0
votes
1
answer
1k
views
network behaviour with tcpdump
We are developing communication interface converter which is running Linux.
The unit may receive unicast or multicast IP and converts it to some other physical layer. On the other hand, the unit ...
4
votes
2
answers
7k
views
Multicast routing using netplan
Trying to setup multicast route to interface in Ubuntu 18.04.2 Netplan's syntax does not allow something like:
routes:
- to: 224.0.0.0/4
dev: eno1
this config does not work:
addresses:
- 192....
1
vote
1
answer
708
views
IGMPv3 Source Filtering Configuration
I know that multicast addresses are being kept in /proc/net/igmp. Where is the configuration for v3 source filter being kept? Please note that I do not wish to inspect actual IGMP packets, I wish to ...
1
vote
2
answers
2k
views
install smcroute in Linux
How do I install smcroute in Ubuntu 16.04? If I try to install using apt-get, I am not finding the commands "smcrouted" and "smcroutectl" in bash. Also, the GitHub page asks to configure the kernel to ...
7
votes
0
answers
1k
views
Multicast ICMPv6 comes back with conntrack state invalid
I was playing arround with the Multicast feature of IPv6.
$ ping ff02::2%wlp3s0
This should normally result in an echo-reply from all the routers on your local network segment (Wikipedia - IPv6).
So ...
1
vote
0
answers
215
views
Strange behaviour sending IGMP on multi IP address for interface
I'd be glad to have some info/clue on the behavior in the followings situation:
There are eth0 with IP address 10.10.10.10 and eth0:1 with IP address 20.20.20.20.
IGMP join and leave shall be send ...
0
votes
0
answers
2k
views
How to setup default source interface for multicast?
There is a server 172.16.0.50 with udpxy. It converts multicast video to http unicast streaming to "R2" router clients. There is igmp-proxy setup on "R1".
My aim is remove igmp-proxy and link between ...
1
vote
1
answer
2k
views
Why would properly VLAN tagged multicast traffic not arrive on the tagged interface?
I'm working with an application that sends multicast traffic between a client and server. This traffic is sent via multicast. The client and server are both using VLAN interfaces, and need to ...
2
votes
0
answers
2k
views
PulseAudio RTP Multicast - how to synchronize audio on all receivers?
I am streaming music from a single controlling PC ("sender") to multiple PCs (receivers) on my LAN as described here:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#...
2
votes
1
answer
3k
views
multicast traffic is able to poke a hole into the netfilter connection tracking system
I have an IPTV solution at home where the ISP sends me hundreds of large UDP datagrams per second from 10.4.4.5 port 10 to 239.3.5.3 port 10, i.e. it is using multicast. My current iptables ...
1
vote
1
answer
1k
views
Linux VRF and Multicast IP
I am attempting to use VRFs in Xubuntu 18.04, but I'm not having much luck when it comes to multicast IP addresses. I have been using https://www.kernel.org/doc/Documentation/networking/vrf.txt as a ...
0
votes
1
answer
5k
views
How to setup multicast for this network?
I have a Network like this at my home.
# ip route show
default via 192.168.0.1 dev enp1s0
192.168.0.0/24 dev enp1s0 proto kernel scope link src 192.168.0.110
192.168.1.0/24 dev enp3s0 proto ...