Multicast To Unicast

preview_player
Показать описание
This will add a new loopback interface which is internal to the Linux box. It will then set up a route so that multicast traffic will go to that loopback interface instead of leaving the physical network interface.

Then with the help of a UDP to TCP proxy, we can connect to the TV server via TCP unicast, and access the UDP multicast from inside.

The server now has to produce as many individual network streams as there are users wanting to connect. This means that the server has to do more work than when it was multicast. Multicast is scalable, but unicast could be used in small setups for experimenting with.

Commands

To make a new loopback interface:
ifconfig lo:1 127.0.0.2

To see interfaces:
ifconfig

To view routing table:
route

To add route for multicast to new loopback interface:
route add -net 224.0.0.0 netmatk 240.0.00 dev lo:1

To look at network sessions:
netstat -n

To download udpxy program:

Unzip, build and install:
cd udpxy-1.0.23-9
make
cp udpxy /usr/bin/

Run the udpxy program (must be root if you want to use port 81)
udpxy -p 81

Connect from client VLC by opening network stream
where 192.168.1.35 is the server IP address, and 239.0.0.11 is your multicast address.
Рекомендации по теме
Комментарии
Автор

I really hope this channel blows up; the content is awesome, and the videos are well edited. Good work!

josephgrasser
Автор

Awesome video, Thanks. Even being a system administrator and a fluent Linux admin it is great fun watching your videos and how well put together they are. Keep it up

LiamMcCreadyONeil
Автор

I really like the production quality of your videos and the content is awesome too

farticus
Автор

Finally understood Multicast. Awesome channel!

PrivaterUser
Автор

damn I am in love with that display, would love to have all those displays and your wicked smart to boot

WallOfFlies
Автор

If multicasting is not required, should one still enable it?

omairbinenam
Автор

What is the best solution to send dvb stream in WiFi to many display? I need convert each multicast stream in unicast?

petitpouf
Автор

I have two lan cards one is for internet one is for udp source, when i give gateway to lan for ethernet udp stops receiving from other lan. Is there any work around for it?

satsalman
Автор

There's a typo in your "Show more"
route add -net 224.0.0.0 netmatk 240.0.00 dev lo:1 <== should be netmask of course!

ray_gannon
Автор

Hi is it possible to use ubuntu 18.4 for muticast withe avermedia usb stick

vision
Автор

I have managed to get the loopback and route to work persistently after reboot, but any ideas on how to get udpxy to run on boot?

simonparkis
Автор

I might be a ftard, but I can configure vlans, so what if I multicast:0 to a vlan? Can my switch pop that traffic over vlan10 for example?

farktard
Автор

Please make one video on multicast in optilink 10g olt

tech_fun
Автор

Thank You very much, help me how to tune ku-band with dvblast

balajik
Автор

how does udpxy automatically know about lo:2?

zenmaster
Автор

you should open your Raspberry Pi up to the public domain so that we all can watch TV from the from countries

angelln
Автор

Good morning / good afternoon
Could you please tell me how I may E-mail you directly. I could really use your help

edmondenterprisesgrouphold
visit shbcf.ru