Two network cards problem

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
TheBlaze
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2008 11:49

Two network cards problem

Postby TheBlaze » 06 Nov 2008 22:20

I have two NIC installed. I use first for internet and second for multicast. In version 0.8 I could watch multicast TV with this setup. With 0.9 it doesn't work any more. If I disable the first NIC I can watch TV but internet doesn't work. If I enable first NIC I can surf the net but can't watch TV. Is there any way to make VLC listen for multicast on all network cards? Or to make it listen on specific ip? There has to be a solution!

B

Rémi Denis-Courmont
Developer
Developer
Posts: 15337
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Two network cards problem

Postby Rémi Denis-Courmont » 08 Nov 2008 10:19

This is not a VLC problem.

Code: Select all

route add 224.0.0.0/4 dev eth1
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TheBlaze
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2008 11:49

Re: Two network cards problem

Postby TheBlaze » 08 Nov 2008 15:13

Thank you very much for your reply!
But I'm going to need more help.
I'm running Kubuntu 8.10 and VLC 0.9.4
eth0
192.168.0.147 DHCP (gateway 192.168.0.1)
eth1
10.0.5.5 mask 255.0.0.0 gateway 10.0.0.1 static
When I type: "sudo route add 224.0.0.0/4 dev eth1", I get: "netmask 0fffffff doesn't make sense with host route".
I'm a noob... :oops:

B

TheBlaze
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2008 11:49

Re: Two network cards problem

Postby TheBlaze » 12 Nov 2008 22:57

I managed to resolve the problem by:

Code: Select all

sysctl -w net.ipv4.conf.eth1.force_igmp_version=2 route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1 route add -net 84.255.208.0 netmask 255.255.255.0 dev eth1 route add -net 84.255.209.0 netmask 255.255.255.0 dev eth1
If it helps anyone...

B


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests