CMAK vpn add static route problem

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

  1. mactable

    mactable Guest


    i have created a text file which contains following line:
    ADD MASK 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

    did i miss something? please advise. thx in advance!!!
    mactable, Nov 29, 2005
    1. Advertisements

  2. mactable

    FabrizioV Guest

    route ADD MASK ip_of_the_gateway_to_network
    If you leave default settings you can leave out the remaining part of the
    FabrizioV, Nov 29, 2005
    1. Advertisements

  3. mactable

    mactable Guest

    at before i just think "default" means "will detect vpn client IP

    would you please advise me, should i use ip_of_the_gateway_to_network
    instead of "default", ex. ? 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
  4. mactable

    PatOs Guest

    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

    where there is more info.
    PatOs, Jan 4, 2006
    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.