multicast stream router setting

Issues related to configuring your network
Post Reply
covlfrb1230
Posts: 5
Joined: 2020/12/15 03:22:42

multicast stream router setting

Post by covlfrb1230 » 2020/12/15 03:28:19

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.

User avatar
TrevorH
Forum Moderator
Posts: 30344
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: multicast stream router setting

Post by TrevorH » 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.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

covlfrb1230
Posts: 5
Joined: 2020/12/15 03:22:42

Re: multicast stream router setting

Post by covlfrb1230 » 2020/12/16 01:09:21

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...

User avatar
TrevorH
Forum Moderator
Posts: 30344
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: multicast stream router setting

Post by TrevorH » 2020/12/16 08:20:29

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.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
jlehtone
Posts: 3349
Joined: 2007/12/11 08:17:33
Location: Finland

Re: multicast stream router setting

Post by jlehtone » 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.

covlfrb1230
Posts: 5
Joined: 2020/12/15 03:22:42

Re: multicast stream router setting

Post by covlfrb1230 » 2020/12/21 16:18:38

Sorry my mistake
Last edited by covlfrb1230 on 2020/12/21 16:21:31, edited 1 time in total.

covlfrb1230
Posts: 5
Joined: 2020/12/15 03:22:42

Re: multicast stream router setting

Post by covlfrb1230 » 2020/12/21 16:20:51

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

aks
Posts: 3054
Joined: 2014/09/20 11:22:14

Re: multicast stream router setting

Post by aks » 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?

covlfrb1230
Posts: 5
Joined: 2020/12/15 03:22:42

Re: multicast stream router setting

Post by covlfrb1230 » 2020/12/28 15:12:48

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?

Post Reply

Return to “CentOS 7 - Networking Support”