Multicast to internet

0

I have network configuration:

Gateway under Ubuntu 12

Has 2 NICs:

eth0(mtu: 1500): 192.168.0.0/24
eth1(mtu: 1500): dhcp internet http://example.com

i have multicast sources

192.168.0.31(mtu: 1500)  (239.0.0.1:1234?pkt_size=1316)
192.168.0.242(mtu: 1500) (239.0.0.1:2266?pkt_size=1316)

on gateway:

sysctl -w net.core.rmem_max=52428800
sysctl -w net.core.rmem_default=52428800

smcroute.conf:

mgroup from eth0 group 239.0.0.1

ip mroute

ip mroute
(192.168.0.31, 239.0.0.1)            Iif: unresolved
(192.168.0.242, 239.0.0.1)           Iif: unresolved

udpxy

export UDPXY_SSOCKBUF_NOSYNC=0
export UDPXY_DSOCKBUF_NOSYNC=0
udpxy -m eth1 -p 8888 -c 30 -B 2097152

it`s all work great

http://example.com:8888/udp/239.0.0.1:1234
http://example.com:8888/udp/239.0.0.1:2266

now, i have plug to gateway new NIC:

eth0(mtu: 1500): 192.168.0.0/24
eth1(mtu: 1500): dhcp internet http://example.com
eth2(mtu: 1500): 10.0.0.0/24

move multicast source

192.168.0.242->10.0.0.1

smcroute.conf:

mgroup from eth0 group 239.0.0.1
mgroup from eth2 group 239.0.0.1

ip mroute

(192.168.0.31, 239.0.0.1)            Iif: unresolved
(10.0.0.1, 239.0.0.1)                Iif: unresolved

and have massive udp packet loss on 10.0.0.0/24

i have tested, NIC and 10.0.0.0/24 network, problem on ubuntu gateway.

what i do wrong?

thanks!

Anton Cheloshkin

Posted 2019-10-22T07:55:08.867

Reputation: 1

No answers