Page 1 of 1

multicast, XP and VPN

Posted: 12 Mar 2007 13:58
by grf
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. :(

Posted: 12 Mar 2007 22:53
by rcourtney
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?

Posted: 13 Mar 2007 03:47
by grf
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

Posted: 13 Mar 2007 03:50
by grf
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?

Posted: 14 Mar 2007 17:13
by rcourtney
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

Posted: 15 Mar 2007 01:45
by grf
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.

Posted: 15 Mar 2007 15:05
by rcourtney
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.

Posted: 16 Mar 2007 17:14
by grf
I do not use ipsec, only standard pptp.