Page 1 of 1

multicast stream router setting

Posted: 2020/12/15 03:28:19
by covlfrb1230
I'm using the centos 7.3 version.

After receiving multicast stream from route 1 and transcode it, i am going to do multi-cast stream through route 2.

My Centos PC has two network ports and each port has router1 and router2.

enp3s0 - router 1
enp4s0 - router 2

The physical form is PC - Router (switch) - CentosPC - Router (switch) - client device.

Image

route add -net 224.0.0.0 netmask 240.0.0.0.0 enp4s0
route add -net 224.0.0.0 netmask 240.0.0.0.0 enp3s0

You have entered a command, but only one multicast stream can be received.

If Enter only "route add -net 224.0.0.0 netmask 240.0.0.0.0 enp4s0" command, multicast stream can through router 2.

If Enter only "route add -net 224.0.0.0 netmask 240.0.0.0.0 enp3s0" command, multicast stream can through router 1.

Do we have to change route add?

Please help me. I've searched for quite a while, but it's too hard.

Re: multicast stream router setting

Posted: 2020/12/15 08:59:12
by TrevorH
Well your first step is to run yum update and get from 7.3 to 7.9 and fix the last 4 years of security and other bugs. It's not safe to run 7.3.

Re: multicast stream router setting

Posted: 2020/12/16 01:09:21
by covlfrb1230
TrevorH wrote:
2020/12/15 08:59:12
Well your first step is to run yum update and get from 7.3 to 7.9 and fix the last 4 years of security and other bugs. It's not safe to run 7.3.
but i have to use Centos 7.3 version...
Can you help with multicast routing?
please...

Re: multicast stream router setting

Posted: 2020/12/16 08:20:29
by TrevorH
but i have to use Centos 7.3 version...
No. You really do not and should not. 7.3 is outdated, insecure and easily hackable. Do not use it. Update to the current version 7.9.

Re: multicast stream router setting

Posted: 2020/12/16 11:44:24
by jlehtone
The default CentOS config does not have "route to multicast", yet it seems to see other multicast-enabled clients on the subnet.
Do routers have some other protocol than IGMP? PIM?


If you genuinely can't apply all available security patches to your system, then you should disconnect it from network.

Re: multicast stream router setting

Posted: 2020/12/21 16:18:38
by covlfrb1230
Sorry my mistake

Re: multicast stream router setting

Posted: 2020/12/21 16:20:51
by covlfrb1230
jlehtone wrote:
2020/12/16 11:44:24
The default CentOS config does not have "route to multicast", yet it seems to see other multicast-enabled clients on the subnet.
Do routers have some other protocol than IGMP? PIM?


If you genuinely can't apply all available security patches to your system, then you should disconnect it from network.
Thank you for your answer.
First of all, I am sorry for expressing the switch as a router.
The routing device described above is a switch.

My switches 1 and 2 is TN-5800A Series of MOXA companies.
The TN-5800A provides IGMP Snooping, GMRP functionality.

if multicast streaming to that switch, i have to enter command
"route add -net 224.0.0.0 netmask 240.0.0.0.0 enp4s0/enp3s0"
If not enter that, cannot play/send stream video.

Please help me..

* My Centos 7.3 server is not connect External network. Our system runs only on the internal network. thanks

Re: multicast stream router setting

Posted: 2020/12/21 18:24:08
by aks
So what you are saying is that the CentOS node does not have the instructions to join the mulicast network, right?
In other words, from boot, the CentOS node (on ay of the network facing interfaces) does not join the multicast stream (as in no route), right?

Re: multicast stream router setting

Posted: 2020/12/28 15:12:48
by covlfrb1230
aks wrote:
2020/12/21 18:24:08
So what you are saying is that the CentOS node does not have the instructions to join the mulicast network, right?
In other words, from boot, the CentOS node (on ay of the network facing interfaces) does not join the multicast stream (as in no route), right?
yes, as you said,
At boot start, before route add command , I cannot join multicast stream...
CentOS have settings that allow two physical multicast stream connections?
is it possible send/receive two physical switch multicast streaming?