Link to home
Start Free TrialLog in
Avatar of Shai
Shai

asked on

how to have multicast published on multihomed network ?

having server multihomed
one nic for internal
one nic for external access
one nic for multicast streams network.

while i am connected locally i can see multicast streams are available via ffmpeg. how can i use this server as a router to route multicast using this server from internal nic to multicast network.
if this not the solution how can i make multicast being published?  is it needed to be done from router/ gw of the internal nic?
Avatar of David Favor
David Favor
Flag of United States of America image

Depends on if you require the ffmpeg stream to be available publicly or only locally.

Also what type of consumer(s) you have on your public side.

If I were doing this... and the HLS stream had to be publicly available...

1) I'd setup an LXD container with a public address running somewhere on the Net.

2) Then create an ssh tunnel from my local machine running ffmpeg to the LXD container.

3) Then expose the ffmpeg stream on whatever port was required on the LXD container.

4) All public connections then occur on the public IP:port combination, with no complex routing.

5) Alternatively, you can do this using manual routes + HAProxy... keeping in mind... taking this approach will cut your throughput by roughly 50%...
If you only require LAN/local availability.

Just create a manual route between your multicast + internal NIC.
Avatar of Shai
Shai

ASKER

Since i have l2 tunnel to that multihomed server can i do it there from there? If not what do i need to configure on the gw?

Avatar of Shai

ASKER

can i use pimd or other tool to publish the multicast between internal and multicast network somehow or does it has to be running on the internal lan gw  somwhoe
Avatar of Shai

ASKER

how do i use the linux multihomed to route the multicast between the networks?

You'll add a manual route.

You'll start with the output of...

route -n

Open in new window


Then create a manual route between whichever networks you required, based on some specific IP you're targeting.
ASKER CERTIFIED SOLUTION
Avatar of Shai
Shai

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial