multicast, XP and VPN

About encoding, codec settings, muxers and filter usage
grf
New Cone
New Cone
Posts: 7
Joined: 01 Feb 2007 10:25

multicast, XP and VPN

Postby grf » 12 Mar 2007 13:58

Sorry for my english.

I use VLC for multicast streams from DVB card. Users are receiving the multicast by vlc on winXP and all ok. But when user connect to internet by vpn (pptp vpn with standard VPN-connection in winXP), system (XP) change route table and add new route for net 224.0.0.0 mask 240.0.0.0 to new ip with metric 1 (setting by vpn-server). And receiving the multicast stream is immediatly stopped.
If user manually delete new route 224.0.0.0 - all ok again. But how I can setup XP to prevent this situation? Unchecking flag "automaticaly set metric", and add static route to 224.0.0.0 by "route -p add" has no effect. :(

rcourtney
Blank Cone
Blank Cone
Posts: 50
Joined: 26 Feb 2006 03:46

Postby rcourtney » 12 Mar 2007 22:53

It is normal for many VPN software programs to bump the metric
to make other routes "more costly". Which VPN software are you using?

Have you tried OpenVPN?

There will be some overhead using the tunnel to your other site.
Let's see if we can get your local network connections to stay connected
when you start your VPN.

Can you give more info in what is displayed by the "route print" command
before and after you start you start VPN?

grf
New Cone
New Cone
Posts: 7
Joined: 01 Feb 2007 10:25

Postby grf » 13 Mar 2007 03:47

It is normal for many VPN software programs to bump the metric
to make other routes "more costly". Which VPN software are you using?
I use standard VPN connetion, builded in WinXP (make new connection -> connect to Virtual Private Network etc)
Have you tried OpenVPN?
No, users don't want use additional software.
There will be some overhead using the tunnel to your other site.
Let's see if we can get your local network connections to stay connected
when you start your VPN.

Can you give more info in what is displayed by the "route print" command
before and after you start you start VPN?
Before:

===============================================Активные маршруты:
Сетевой адрес Маска сети Адрес шлюза Интерфейс Метрика
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.10 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.10.0 255.255.255.0 192.168.10.10 192.168.10.10 20
192.168.10.0 255.255.255.0 192.168.10.1 192.168.10.10 1
192.168.10.10 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.10.255 255.255.255.255 192.168.10.10 192.168.10.10 20
224.0.0.0 240.0.0.0 192.168.10.10 192.168.10.10 20
224.0.0.0 240.0.0.0 192.168.10.10 192.168.10.10 1
255.255.255.255 255.255.255.255 192.168.10.10 192.168.10.10 1
Основной шлюз: 192.168.10.1
===============================================Постоянные маршруты:
Сетевой адрес Маска Адрес шлюза Метрика
224.0.0.0 240.0.0.0 192.168.10.10 1


After:

===========================================================================
Активные маршруты:
Сетевой адрес Маска сети Адрес шлюза Интерфейс Метрика
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.10 21
0.0.0.0 0.0.0.0 192.168.11.10 192.168.11.10 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.10.0 255.255.255.0 192.168.10.10 192.168.10.10 20
192.168.10.0 255.255.255.0 192.168.10.1 192.168.10.10 1
192.168.10.1 255.255.255.255 192.168.10.10 192.168.10.10 1
192.168.10.10 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.10.255 255.255.255.255 192.168.10.10 192.168.10.10 20
192.168.11.10 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.11.255 255.255.255.255 192.168.11.10 192.168.11.10 50
224.0.0.0 240.0.0.0 192.168.10.10 192.168.10.10 20
224.0.0.0 240.0.0.0 192.168.10.10 192.168.10.10 2
224.0.0.0 240.0.0.0 192.168.11.10 192.168.11.10 1
255.255.255.255 255.255.255.255 192.168.10.10 192.168.10.10 1
255.255.255.255 255.255.255.255 192.168.11.10 192.168.11.10 1
Основной шлюз: 192.168.11.10
===============================================
Постоянные маршруты:
Сетевой адрес Маска Адрес шлюза Метрика
224.0.0.0 240.0.0.0 192.168.10.10 1
Last edited by grf on 13 Mar 2007 03:52, edited 1 time in total.

grf
New Cone
New Cone
Posts: 7
Joined: 01 Feb 2007 10:25

Postby grf » 13 Mar 2007 03:50

And this situation ONLY in winXP. If I try to do the same in win2000, then adding permanent route to 224.0.0.0 (route -p add) work fine and multicast receiving independent from vpn.
What wrong with XP?

rcourtney
Blank Cone
Blank Cone
Posts: 50
Joined: 26 Feb 2006 03:46

Postby rcourtney » 14 Mar 2007 17:13

I will try your setup when I can.

But first glance, I think you may want to keep your other site
in the same subnet.

On 192.168.10.10 it looks like your netmask is: 255.255.255.0
and your VPN point is placed at 192.168.11.10 and is outside.
Can you set VPN interface address up as something like 192.168.10.11?
(192.168.10.xxx as long as xxx is within your same subnet)

Anyone else have comment?

EDIT: This might explain the difference in XP and 2000

http://support.microsoft.com/default.aspx?kbid=885407

grf
New Cone
New Cone
Posts: 7
Joined: 01 Feb 2007 10:25

Postby grf » 15 Mar 2007 01:45

I can't change situation with ip addresses - subnet 192.168.11.0 is not "my other site", address from this subnet I get when I connet to Internet by VPN.

rcourtney
Blank Cone
Blank Cone
Posts: 50
Joined: 26 Feb 2006 03:46

Postby rcourtney » 15 Mar 2007 15:05

Sorry I noticed you said pptp and not ipsec I will continue
to look as I am curious. I use OpenVPN and there is more user support.

grf
New Cone
New Cone
Posts: 7
Joined: 01 Feb 2007 10:25

Postby grf » 16 Mar 2007 17:14

I do not use ipsec, only standard pptp.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests