CMAK vpn add static route problem

Discussion in 'Server Networking' started by mactable, Nov 29, 2005.

  1. mactable

    mactable Guest

    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!!!
     
    mactable, Nov 29, 2005
    #1
    1. Advertisements

  2. mactable

    FabrizioV Guest

    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.
     
    FabrizioV, Nov 29, 2005
    #2
    1. Advertisements

  3. mactable

    mactable Guest

    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,
     
    mactable, Nov 29, 2005
    #3
  4. mactable

    PatOs Guest

    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/WindowsServer/en/Library/cc37da78-1138-4186-9abb-32b31ca8eac41033.mspx

    where there is more info.
     
    PatOs, Jan 4, 2006
    #4
    1. 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 (here). After that, you can post your question and our members will help you out.