Networking Forums

Networking Forums > Computer Networking > Windows Networking > CMAK vpn add static route problem

Reply
Thread Tools Display Modes

CMAK vpn add static route problem

 
 
mactable
Guest
Posts: n/a

 
      11-29-2005, 07:32 AM
hi!

i have created a text file which contains following line:
ADD 192.168.0.0 MASK 255.255.255.0 default METRIC default IF default

then i create service profile, define a routing table with the above text
file by CMAK. but when i try this profile, it won't add static route what i
want.

did i miss something? please advise. thx in advance!!!


 
Reply With Quote
 
 
 
 
FabrizioV
Guest
Posts: n/a

 
      11-29-2005, 08:59 AM
route ADD 192.168.0.0 MASK 255.255.255.0 ip_of_the_gateway_to_network
(example 192.168.1.0)
If you leave default settings you can leave out the remaining part of the
command.
--
Fabrizio Volpe
MCSE 2003/2000/NT
MCT


"mactable" wrote:

> hi!
>
> i have created a text file which contains following line:
> ADD 192.168.0.0 MASK 255.255.255.0 default METRIC default IF default
>
> then i create service profile, define a routing table with the above text
> file by CMAK. but when i try this profile, it won't add static route what i
> want.
>
> did i miss something? please advise. thx in advance!!!
>
>
>

 
Reply With Quote
 
mactable
Guest
Posts: n/a

 
      11-29-2005, 10:07 AM
at before i just think "default" means "will detect vpn client IP
automaatically"

would you please advise me, should i use ip_of_the_gateway_to_network
instead of "default", ex. 192.168.1.1 ? but it is too trouble for me to
config different static route for different user.

did i missunderstand what you mean, please advise. thx!


because vpn clients get their IP via DHCP,
"FabrizioV" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:AA18E497-38C6-489A-B26E-(E-Mail Removed)...
> route ADD 192.168.0.0 MASK 255.255.255.0 ip_of_the_gateway_to_network
> (example 192.168.1.0)
> If you leave default settings you can leave out the remaining part of the
> command.
> --
> Fabrizio Volpe
> MCSE 2003/2000/NT
> MCT
>
>
> "mactable" wrote:
>
>> hi!
>>
>> i have created a text file which contains following line:
>> ADD 192.168.0.0 MASK 255.255.255.0 default METRIC default IF default
>>
>> then i create service profile, define a routing table with the above text
>> file by CMAK. but when i try this profile, it won't add static route
>> what i
>> want.
>>
>> did i miss something? please advise. thx in advance!!!
>>
>>
>>



 
Reply With Quote
 
PatOs
Guest
Posts: n/a

 
      01-04-2006, 02:11 PM
Hi!
I would certainly recommend you to use "default" as your interface
identifier. A Client normally changes IP after each logon, so it's hard to
use that.


I recently was quite puzzled by the static routing functions when building a
CMAK but i became aware of a real No-no that might help you:
1. Make sure you have the "use this connection as default gateway" option
ENABLED in the CMAK config. This sorted out a lot of my problems. Use
REMOVE_GATEWAY in the routes.txt or whatever you called it instead. Check out

http://technet2.microsoft.com/Window...8eac41033.mspx

where there is more info.

"mactable" wrote:

> at before i just think "default" means "will detect vpn client IP
> automaatically"
>
> would you please advise me, should i use ip_of_the_gateway_to_network
> instead of "default", ex. 192.168.1.1 ? but it is too trouble for me to
> config different static route for different user.
>
> did i missunderstand what you mean, please advise. thx!
>
>
> because vpn clients get their IP via DHCP,
> "FabrizioV" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:AA18E497-38C6-489A-B26E-(E-Mail Removed)...
> > route ADD 192.168.0.0 MASK 255.255.255.0 ip_of_the_gateway_to_network
> > (example 192.168.1.0)
> > If you leave default settings you can leave out the remaining part of the
> > command.
> > --
> > Fabrizio Volpe
> > MCSE 2003/2000/NT
> > MCT
> >
> >
> > "mactable" wrote:
> >
> >> hi!
> >>
> >> i have created a text file which contains following line:
> >> ADD 192.168.0.0 MASK 255.255.255.0 default METRIC default IF default
> >>
> >> then i create service profile, define a routing table with the above text
> >> file by CMAK. but when i try this profile, it won't add static route
> >> what i
> >> want.
> >>
> >> did i miss something? please advise. thx in advance!!!
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
static route Tom1 Windows Networking 4 09-05-2008 04:21 PM
static route to direct to ISP possible ? -keevill- Wireless Networks 3 04-21-2008 08:22 PM
Static route over DHCP problem ! Noomilop Windows Networking 0 03-02-2007 09:31 AM
IPCOP Firewall Static Route Problem JP Network Routers 6 11-09-2004 03:30 PM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11