The thing is that the src ip address of the server is not in the same network that my host machine is but yes in the same VLAN. i don’t understand what you are asking me when you say show packet multicast
tcpdump -n -i br1
I need seen multicast 5-10 packets. Can you set server ip address with same network as client?
tcpdump -n -i br1
output on br1 R2 when watching mcast on VLC host machine:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br1, link-type EN10MB (Ethernet), capture size 65535 bytes
19:54:04.473535 IP 192.168.2.140.2001 > 239.255.0.2.56000: UDP, length 1316
19:54:04.477574 IP 192.168.2.140.2001 > 239.255.0.2.56000: UDP, length 1316
19:54:04.481133 IP 192.168.2.140.2001 > 239.255.0.2.56000: UDP, length 1316
19:54:04.484931 IP 192.168.2.140.2001 > 239.255.0.2.56000: UDP, length 1316
19:54:04.487626 IP 192.168.2.140.2001 > 239.255.0.2.56000: UDP, length 1316
19:54:04.491753 IP 192.168.2.140.2001 > 239.255.0.2.56000: UDP, length 1316
i don’t think i can set the src ip to one from the same network. What i can try is to generate a mcast stream using the client as src and try to catch it on the other side with another VM
@Seba please add -vv -s0
keys to tcpdump. Maybe problem with ttl?
You can also assign client ip address from net 192.168.2.0/24 for testing
yesterday last time i was able to generate mcast from the client vm and did see traffic in both br1 from R1 and R2. What i couldn’t do is listen this mcast from a server with ip 10.128.0.215/16 from the network on the R2. Here are some outputs and commands:
Client mcast stream:
ffmpeg -hide_banner -re -f lavfi -i testsrc=size=640x360,format=yuv420p -f lavfi -i sine=f=1:b=1000 -vcodec libx264 -g 125 -tune zerolatency -preset ultrafast -acodec aac -f mpegts udp://239.239.0.1:1234?ttl=255
R1: sudo tcpdump -vv -s0 -i br1
output:
tcpdump: listening on br1, link-type EN10MB (Ethernet), capture size 65535 bytes
13:27:37.065070 IP (tos 0x0, ttl 255, id 637, offset 0, flags [DF], proto UDP (17), length 1344)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 1316
13:27:37.070936 IP (tos 0x0, ttl 255, id 639, offset 0, flags [DF], proto UDP (17), length 968)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 940
13:27:37.076291 IP (tos 0x0, ttl 255, id 640, offset 0, flags [DF], proto UDP (17), length 1500)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 1472
13:27:37.076370 IP (tos 0x0, ttl 255, id 641, offset 0, flags [DF], proto UDP (17), length 1500)
R2 sudo tcpdump -vv -s0 -i br1
output:
tcpdump: listening on br1, link-type EN10MB (Ethernet), capture size 65535 bytes
13:29:14.319787 IP (tos 0x0, ttl 255, id 15226, offset 0, flags [DF], proto UDP (17), length 1156)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 1128
13:29:14.335744 IP (tos 0x0, ttl 255, id 15229, offset 0, flags [DF], proto UDP (17), length 92)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 64
13:29:14.336532 IP (tos 0x0, ttl 255, id 15230, offset 0, flags [DF], proto UDP (17), length 968)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 940
13:29:14.374052 IP (tos 0x0, ttl 255, id 15236, offset 0, flags [DF], proto UDP (17), length 1344)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 1316
13:29:14.416806 IP (tos 0x0, ttl 255, id 15244, offset 0, flags [DF], proto UDP (17), length 968)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 940
13:29:14.488805 IP (tos 0x0, ttl 255, id 15248, offset 0, flags [DF], proto UDP (17), length 968)
10.128.0.248.60426 > 239.239.0.1.1234: [udp sum ok] UDP, length 940
13:29:14.496127 IP (tos 0x0, ttl 255, id 15249, offset 0, flags [DF], proto UDP (17), length 968)
Another thing i tried is to see the mcast from my host machine wich has an interface with ip address 10.128.0.231/16 with VLC with no success