F
Franz Schenk
We have to add a static route to our XP Clients that connect over L2TP/IPSec
to a VPN Server.
Adding the route without specifying the interface doesn't work, we get an
error message that the route cannot be added.
But establishing the VPN connection, then determine the interface with
"route print", then adding the route with specifying the interface of the
WAN (PPP/SLIP) Interface works fine and we have the functionality we need.
The route we want is successfully added as the printscreens from the command
prompt below shows.
Unfortunately, Windows XP changes the VPN Interface name every time when the
VPN connection is disconnected and reastablished! The first time, the WAN
interface has the name 0x20004, the second time 0x40004 etc. (see
printscreen from route print below).
Does anyone have an idea how we can "tell" Windows XP that the VPN Interface
should have the same name every time when the VPN connection is established,
or another solution to permanently add the route to the VPN Interface of the
XP workstations? (I know that with CMAK, it's possible to add routes after
establishing a connection, but we don't want to use CMAK if possible).
Thanks in advance for any help!
Franz
P:\>route print
===========================================================================
Schnittstellenliste
0x1 ........................... MS TCP Loopback interface
0x2 ...00 80 c7 df a3 db ...... Xircom Ethernetadapter 10/100
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Aktive Routen:
Netzwerkziel Netzwerkmaske Gateway Schnittstelle Anzahl
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.74 30
10.10.10.0 255.255.255.0 10.10.10.74 10.10.10.74 30
10.10.10.74 255.255.255.255 127.0.0.1 127.0.0.1 30
10.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.29.0.0 255.255.0.0 172.29.16.84 172.29.16.84 1
172.29.16.84 255.255.255.255 127.0.0.1 127.0.0.1 50
172.29.255.255 255.255.255.255 172.29.16.84 172.29.16.84 50
193.135.215.141 255.255.255.255 10.10.10.1 10.10.10.74 30
224.0.0.0 240.0.0.0 10.10.10.74 10.10.10.74 30
224.0.0.0 240.0.0.0 172.29.16.84 172.29.16.84 50
255.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 1
Standardgateway: 10.10.10.1
===========================================================================
Ständige Routen:
Keine
P:\>route add 172.0.0.0 mask 255.0.0.0 172.29.16.1 if 0x60004
P:\>
-----------------------------------
P:\>route print
===========================================================================
Schnittstellenliste
0x1 ........................... MS TCP Loopback interface
0x2 ...00 80 c7 df a3 db ...... Xircom Ethernetadapter 10/100
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Aktive Routen:
Netzwerkziel Netzwerkmaske Gateway Schnittstelle Anzahl
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.74 30
10.10.10.0 255.255.255.0 10.10.10.74 10.10.10.74 30
10.10.10.74 255.255.255.255 127.0.0.1 127.0.0.1 30
10.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.0.0.0 255.0.0.0 172.29.16.1 172.29.16.84 1
172.29.0.0 255.255.0.0 172.29.16.84 172.29.16.84 1
172.29.16.0 255.255.255.128 172.29.16.84 172.29.16.84 1
172.29.16.84 255.255.255.255 127.0.0.1 127.0.0.1 50
172.29.255.255 255.255.255.255 172.29.16.84 172.29.16.84 50
193.135.215.141 255.255.255.255 10.10.10.1 10.10.10.74 30
224.0.0.0 240.0.0.0 10.10.10.74 10.10.10.74 30
224.0.0.0 240.0.0.0 172.29.16.84 172.29.16.84 50
255.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 1
Standardgateway: 10.10.10.1
===========================================================================
Ständige Routen:
Keine
P:\>
**** The route 172.0.0.0 is successfully added ****
to a VPN Server.
Adding the route without specifying the interface doesn't work, we get an
error message that the route cannot be added.
But establishing the VPN connection, then determine the interface with
"route print", then adding the route with specifying the interface of the
WAN (PPP/SLIP) Interface works fine and we have the functionality we need.
The route we want is successfully added as the printscreens from the command
prompt below shows.
Unfortunately, Windows XP changes the VPN Interface name every time when the
VPN connection is disconnected and reastablished! The first time, the WAN
interface has the name 0x20004, the second time 0x40004 etc. (see
printscreen from route print below).
Does anyone have an idea how we can "tell" Windows XP that the VPN Interface
should have the same name every time when the VPN connection is established,
or another solution to permanently add the route to the VPN Interface of the
XP workstations? (I know that with CMAK, it's possible to add routes after
establishing a connection, but we don't want to use CMAK if possible).
Thanks in advance for any help!
Franz
P:\>route print
===========================================================================
Schnittstellenliste
0x1 ........................... MS TCP Loopback interface
0x2 ...00 80 c7 df a3 db ...... Xircom Ethernetadapter 10/100
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Aktive Routen:
Netzwerkziel Netzwerkmaske Gateway Schnittstelle Anzahl
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.74 30
10.10.10.0 255.255.255.0 10.10.10.74 10.10.10.74 30
10.10.10.74 255.255.255.255 127.0.0.1 127.0.0.1 30
10.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.29.0.0 255.255.0.0 172.29.16.84 172.29.16.84 1
172.29.16.84 255.255.255.255 127.0.0.1 127.0.0.1 50
172.29.255.255 255.255.255.255 172.29.16.84 172.29.16.84 50
193.135.215.141 255.255.255.255 10.10.10.1 10.10.10.74 30
224.0.0.0 240.0.0.0 10.10.10.74 10.10.10.74 30
224.0.0.0 240.0.0.0 172.29.16.84 172.29.16.84 50
255.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 1
Standardgateway: 10.10.10.1
===========================================================================
Ständige Routen:
Keine
P:\>route add 172.0.0.0 mask 255.0.0.0 172.29.16.1 if 0x60004
P:\>
-----------------------------------
P:\>route print
===========================================================================
Schnittstellenliste
0x1 ........................... MS TCP Loopback interface
0x2 ...00 80 c7 df a3 db ...... Xircom Ethernetadapter 10/100
0x60004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Aktive Routen:
Netzwerkziel Netzwerkmaske Gateway Schnittstelle Anzahl
0.0.0.0 0.0.0.0 10.10.10.1 10.10.10.74 30
10.10.10.0 255.255.255.0 10.10.10.74 10.10.10.74 30
10.10.10.74 255.255.255.255 127.0.0.1 127.0.0.1 30
10.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.0.0.0 255.0.0.0 172.29.16.1 172.29.16.84 1
172.29.0.0 255.255.0.0 172.29.16.84 172.29.16.84 1
172.29.16.0 255.255.255.128 172.29.16.84 172.29.16.84 1
172.29.16.84 255.255.255.255 127.0.0.1 127.0.0.1 50
172.29.255.255 255.255.255.255 172.29.16.84 172.29.16.84 50
193.135.215.141 255.255.255.255 10.10.10.1 10.10.10.74 30
224.0.0.0 240.0.0.0 10.10.10.74 10.10.10.74 30
224.0.0.0 240.0.0.0 172.29.16.84 172.29.16.84 50
255.255.255.255 255.255.255.255 10.10.10.74 10.10.10.74 1
Standardgateway: 10.10.10.1
===========================================================================
Ständige Routen:
Keine
P:\>
**** The route 172.0.0.0 is successfully added ****