View previous topic :: View next topic |
Author |
Message |
trumee Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Mon Dec 11, 2017 3:27 am Post subject: [Solved] IPTV multicast |
|
|
Hello,
I have an iptv device sending to multicast address udp://239.255.42.42:5004. This is connected to my enp4s0f0 network interface. I can see the IPTV packets if i use tcpdump on the enp4s0f0 stream.
Code: |
$ tcpdump -i enp4s0f0 ip multicast
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp4s0f0, link-type EN10MB (Ethernet), capture size 262144 bytes
09:15:57.146887 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
09:15:57.147134 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
09:15:57.147632 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
09:15:57.147880 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
09:15:57.148131 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
09:15:57.148381 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
09:15:57.148890 IP 192.168.11.3.5004 > 239.255.42.42.5004: UDP, length 1316
|
However, if i try to view the stream using vlc udp://@239.255.42.42:5004, there is no video.
I have defined the interfaces as follows:
Code: |
$cat /etc/conf.d/net
#Primary interface
config_eno1="dhcp"
#Static interface for iptv
config_enp4s0f0="192.168.11.1 netmask 255.255.255.0"
|
The routing table is as follows:
Code: |
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.16.1.1 0.0.0.0 UG 2 0 0 eno1
172.16.1.0 0.0.0.0 255.255.255.0 U 2 0 0 eno1
192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 enp4s0f0
|
How can i view the multicast stream coming in on enp4s0f0 interface?
Last edited by trumee on Mon Dec 11, 2017 1:30 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
joanandk Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 12 Feb 2017 Posts: 169
|
Posted: Mon Dec 11, 2017 5:27 am Post subject: |
|
|
Please try this route:
Code: | route add -net 224.0.0.0/4 dev enp4s0f0 |
if this works, you can make it permanent with
Code: | routes_enp4s0f0="224.0.0.0/4" |
in your /etc/conf.d/net
BR |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ant P. Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 18 Apr 2009 Posts: 6920
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trumee Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Mon Dec 11, 2017 1:29 pm Post subject: |
|
|
joanandk wrote: | Please try this route:
if this works, you can make it permanent with
Code: | routes_enp4s0f0="224.0.0.0/4" |
in your /etc/conf.d/net
BR |
Thanks, the following worked.
Code: |
routes_enp4s0f0="239.255.42.42/32"
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trumee Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|