Setup Multicast Router - Suse Linux 12.2

I am new to Suse linux ,

In my computer i have connected two Ethernet cards with two network IPs , What I want to achieve is to send teh multicast packet from one network to another network .

eth0 : 192.168.3.xx
eth1 : 172.17.1.xx

multicast address : 224.1.1.0

How i can route this to one Ethernet card to another , Could you please help me or give me the step by step articles for the same .

Thank You.

Hello,

You will probably have better luck in the Network-Internet forum.
https://forums.opensuse.org/english/get-technical-help-here/network-internet/

If you click on the “!” icon the bottom of your post and report it to a moderator, this thread can be moved.

Unfortunately you cannot do this yourself, or delete the original, and repost.
You will almost certainly be asked to post the output of the following commands inside “code tags” (select the text and then click on the “#” icon at the top of the post edit box.


:~ >  ip ad

:~>  ip route

CLOSED

Will be moved to Network/Internet.

Moved from Applications and open again.

In YaST > Network Devices > Network Settings > Routing
did you “Enable IP Forwarding” ?

Answer previous request for information please.

I have enabled the IP forwarding .


"bxxxxdb82:/usr # ip add1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:0e:8c:ec:93:89 brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.38/24 brd 192.168.3.255 scope global eth0
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:1b:1b:09:7d:e9 brd ff:ff:ff:ff:ff:ff
    inet 172.17.10.229/24 brd 172.17.10.255 scope global eth1
bxxxxxdb82:/usr # ip route
127.0.0.0/8 dev lo  scope link 
169.254.0.0/16 dev eth0  scope link 
172.17.10.0/24 dev eth1  proto kernel  scope link  src 172.17.10.229 
192.168.3.0/24 dev eth0  proto kernel  scope link  src 192.168.3.38 " 

I am sorry, but I do not understand your network topology. Where is the streaming/multicast server? Are you trying to stream content from a server on one of the LANs to machines on the other LAN using bxxxxdb82 as a bridge/router?

Where is the streaming/multicast server? Are you trying to stream content from a server on one of the LANs to machines on the other LAN using bxxxxdb82 as a bridge/router?

the multicast server stream content come from one of the LAN and the same need to be forwarded to another LAN . (eth0 - Multicast Stream)

172.17.10.0/24 dev eth1 proto kernel scope link src 172.17.10.229 192.168.3.0/24 dev eth0 proto kernel scope link src 192.168.3.38

could any one help for this requirement ?

I was hoping that you would be willing to provide some details of your network layout, so that I could attempt to provide a specific answer to your situation rather than rewriting the Linux network documentation.

Where is the streaming server? Where are the clients? “ip route show” or “netstat -g” for server, clients, and router. All you have to do is provide a route for 224.0.0.0/4 from where the clients are to where the server is. Or do you need IPv6?

Are you able to successfully stream to clients on the same network as the server? Unless that is working, trying to stream to the other network will be going round in circles

P.S. If you put your country or region into your profile we are better able to make allowances for time-zone and probable native language.

Just a thought…

If the clients can’t find the other LAN using the DG, you’ll need to create manual route entries on each client so that the client knows how to get to the remote LAN.

TSU

Yes, as bxxxdb82 seems to be only connected to the two LANs it is unlikely rhat it is the default gateway of any client. Without knowing the operating systems of the clients and server it is difficult to know what questions to ask so as to find out about their routing. There may also be a DHPC server to consider. Only greatraaja can decide whether to tell us.

Is there a telepathy howto?

In my linux box , i have two Ethernet cards , One is configured for (192.168.3.xx, eth0) network where the gateway is 192.168.3.1 , Multicast streaming is coming from this network.

Second ethernet card is configured for (172.17.1.xx) eth1 , here i wanted to get the multicast stream .

its for IP4. I just wanted to know how to add the routes for teh multicast address .



"bxxxxdb82:/usr # ip add1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:0e:8c:ec:93:89 brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.38/24 brd 192.168.3.255 scope global eth0
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:1b:1b:09:7d:e9 brd ff:ff:ff:ff:ff:ff
    inet 172.17.10.229/24 brd 172.17.10.255 scope global eth1
bxxxxxdb82:/usr # ip route
127.0.0.0/8 dev lo  scope link 
169.254.0.0/16 dev eth0  scope link 
172.17.10.0/24 dev eth1  proto kernel  scope link  src 172.17.10.229 
192.168.3.0/24 dev eth0  proto kernel  scope link  src 192.168.3.38 "

Once more where is/are the multicast server(s)? Repeating the non-answer does not help. I am really trying to help, but I do not know how to specify a route without knowing where it is going from and to. I am sure that other people reading this could help, but are waiting for you to describe the problem exactly. You do not have to tell us; you can read the man pages and on-line Linux network documentation. If you do not understand my questions, please say so, and I am sure someone else will be able to ask them more clearly.

Is/are the stream(s) coming from one or more servers in 192.168.3.0/24 (which is what you appear to be saying), or is/are it/they coming from an external source via 192.168.3.1? Do you have clients/hosts on 192.168.3.0/24 currently able to subscribe to the stream(s)? Can you describe the routes used by hosts on 172.17.1.0/24? At the moment there are too many possibilities to be able to provide a simple answer, you are trying to make us guess and proffer a probably “wrong” answer.

A trivial answer might be something like


bxxxxdb82:~ # route add  -net 224.0.0.0/4 dev eth0 gw 192.168.3.1 

But if you expected something like that, I doubt it would help very much.

And yes I am a grumpy old man, especially today.

Your problem isn’t on the router itself.
The problem is that you need to configure the routing on the Clients.

In non-technical terms…

Client 192.168.x says I want a muliticast stream from 172.168.x. Since I don’t know where 172.168.x is, anyone know? Can anyone handle this? Since no one answers, 192.168.x is stuck.

Same thing for 172.168.x. It also asks "Where is 192.168.x since I don’t know where it is? and, no one answers.
(This is because unlike the Router, your client machines don’t actually directly touch any network but their own. Since machines create routing tables automatically for networks they touch, client machines can know only about their own networks and no other network).

The only machine on your network which knows where both 192.168.x and 172.16.x are is the router itself, but he’s keeping to self. But, if anyone actually passed him the query for the other address, he’s go ahead and service it.
(Note that the Router automatically knows because it’s the only machine which actually touches both networks. All machines automatically create routing tables for networks they touch).

Now,
Let’s <tell> 192.168.x where 172.16.x is, and vice versa. The instructions to 192.168.x are “If you want to send/receive from 172.16.x” you need to contact “Router.” And 172.16 gets similar instructions
(This is the new routing entry for each <client>).
(Note this is why the basic components when you add a route are the remote network and the specified router address which will get you to the remote network)

Finally as for adding multicast addresses… AFAIK it’s done for you automatically if you have configured one or both NICs with multicast addresses (and of course don’t actually block protocols)

BTW - You will likely need to apply the same principles for adding multi-cast address network routes like the regular IPv4 addresses

HTH,
TSU

This looks like a similar, if not the same issue I’m facing of not being able to make routing between local sub-nets work; documented here https://forums.opensuse.org/english/get-technical-help-here/network-internet/473416-routing-between-vlans-2.html#post2547143. He has two local ethernet subnets and a broadband connection and wants traffic to route between subnets. If you can answer this, then we’ll probably both be happy. :wink: