failed to modify routing table after VPN connection is establishedthru Routing and RAS


A

andy.y.huang

I have 2 XP boxes, one XP enables Routing and RAS service and acting
like VPN server, it accepts VPN incoming connections and has IP pool
from 192.168.11.2 to 192.168.11.10, so the it will have 192.168.11.2
IP when VPN connection is established. Another XP acts like VPN
client, it connects to VPN server fine. Now, after the VPN is
connected, I want to add a route to routing table on the VPN server
like this:
route ADD 224.0.0.4 MASK 240.0.0.0 192.168.11.2 METRIC 10
I always got error: the parameter is incorrect. I also tried to
specify the interface, but it doesn't help. any help will be greatly
appreciated. TIA.
 
Ad

Advertisements

S

Steve Winograd

I have 2 XP boxes, one XP enables Routing and RAS service and acting
like VPN server, it accepts VPN incoming connections and has IP pool
from 192.168.11.2 to 192.168.11.10, so the it will have 192.168.11.2
IP when VPN connection is established. Another XP acts like VPN
client, it connects to VPN server fine. Now, after the VPN is
connected, I want to add a route to routing table on the VPN server
like this:
route ADD 224.0.0.4 MASK 240.0.0.0 192.168.11.2 METRIC 10
I always got error: the parameter is incorrect. I also tried to
specify the interface, but it doesn't help. any help will be greatly
appreciated. TIA.

The logical AND of the destination address with the subnet mask must
equal the destination address -- otherwise, the route will never match
any address. The values that you gave don't meet that requirement:

224.0.0.4 AND 240.0.0.0 = 224.0.0.0

Please describe exactly what you want this route to do: the IP
addresses involved, subnets, etc.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
A

andy.y.huang

The logical AND of the destination address with the subnet mask must
equal the destination address -- otherwise, the route will never match
any address.  The values that you gave don't meet that requirement:

   224.0.0.4 AND 240.0.0.0 = 224.0.0.0

Please describe exactly what you want this route to do: the IP
addresses involved, subnets, etc.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see.  I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Programhttp://mvp.support.microsoft.com

Thx for the reply. if you do route print on any XP that has ethernet,
you will see this route entry:
224.0.0.0 240.0.0.0 IF_IP IF_IP XX
^ ^ ^
^ ^
(Dest) (Mask) (Gateway) (Interface) (Metric)
That means all multicast traffic will go thru ethernet interface that
has IP of "IF_IP". I don't how Windows add this route entry.
What I want to do is enable multicast traffic on the PPP interface
from incoming connections. TIA.

-Andy
 
A

andy.y.huang

The logical AND of the destination address with the subnet mask must
equal the destination address -- otherwise, the route will never match
any address.  The values that you gave don't meet that requirement:

   224.0.0.4 AND 240.0.0.0 = 224.0.0.0

Please describe exactly what you want this route to do: the IP
addresses involved, subnets, etc.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see.  I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Programhttp://mvp.support.microsoft.com

Sorry there is typo. It should be 224.0.0.0, not 224.0.0.4.

-Andy
 
S

Steve Winograd

Sorry there is typo. It should be 224.0.0.0, not 224.0.0.4.

Thx for the reply. if you do route print on any XP that has ethernet,
you will see this route entry:
224.0.0.0 240.0.0.0 IF_IP IF_IP XX
^ ^ ^
^ ^
(Dest) (Mask) (Gateway) (Interface) (Metric)
That means all multicast traffic will go thru ethernet interface that
has IP of "IF_IP". I don't how Windows add this route entry.1
What I want to do is enable multicast traffic on the PPP interface
from incoming connections. TIA.

I typed the corrected command on my computer, substituting an
interface address that exists on my network, and the command worked as
expected. I didn't get the "incorrect parameter" message, and I don't
know why you get it.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Ad

Advertisements

A

andy.y.huang

I typed the corrected command on my computer, substituting an
interface address that exists on my network, and the command worked as
expected.  I didn't get the "incorrect parameter" message, and I don't
know why you get it.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see.  I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Programhttp://mvp.support.microsoft.com- Hide quoted text -

- Show quoted text -

What I want to do is enable multicast traffice from VPN server to VPN
client thru VPN connection.
After VPN connection is up, I can do route add on the VPN Client XP
Pro, but failed on VPN Server XP Pro.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top