networkingutils/ipadministrationtool/data/route.ini
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:30:50 +0100
branchRCL_3
changeset 11 493058e57c8c
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201035 Kit: 201035
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     1
# Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     2
# All rights reserved.
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     4
# under the terms of the License "Eclipse Public License v1.0"
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     7
#
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     8
# Initial Contributors:
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    10
#
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    11
# Contributors:
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    12
#
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    13
# Description:
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    14
# //    route.ini - a configuration file for ipadm
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    15
# THIS IS AN EXAMPLE FILE
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    16
# This file should be located in C:\Data\IpAdm\route.ini.
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    17
# This file is processed by IpAdm when you push the
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    18
# Add Routes -button.
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    19
# Each line starting with route-add followed by positional
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    20
# parameters is directly used as a KSoInetAddRoute parameter:
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    21
# route-add <dest> <netmask> <metric> <gateway> [interface]
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    22
# If optional parameter interface is omitted, gateway address
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    23
# determines the interface. With this command you can add static
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    24
# routes into the routing table.
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    25
# Some 6to4 route examples
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    26
# route-add 2001:: ffff:: 1 2002:c171:3a50::c171:3a50
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    27
# route-add 3ffe:: ffff:: 1 2002:c171:3a50::c171:3a50
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    28
# route-add 2001:: ffff:: 1 2002:836b:4179::836b:4179
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    29
# route-add 3ffe:: ffff:: 1 2002:836b:4179::836b:4179
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    30
# Some other examples
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    31
# route-add 172.21.40.1 255.255.254.0 1 - 172.21.40.106
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    32
# route-add 3ffe:501:fffff:ff05:: ffff:ffff:ffff:ffff:: 1 3ffe:501:ffff:ff03:200:ff:fe00:a0a0 fe80::260:63ff:fe01:d6a9
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    33
# To add a default route, use zero address and prefix
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    34
# route-add :: :: 1 3ffe:501:ffff:ff03:200:ff:fe00:a0a0 fe80::260:63ff:fe01:d6a9
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    35
# route-add 0.0.0.0 0.0.0.0 1 172.21.40.1 182.21.40.106
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    36
# Similarly you can configure interfaces with ifconfig
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    37
# ifconfig <if> <prefix> prefix <prefixlen> ["alias"] ["up"/"down"] ["delete"]
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    38
# ifconfig ethernet 10.0.5.3 alias
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    39
# ifconfig ethernet 3ffe:501:ffff:100:: prefix 64 alias
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    40
# ifconfig ethernet fe80::200:ff:f00:a0a0 prefix 64 delete
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    41
# ifconfig ethernet fe80::260:63ff:fe01:d6a9 prefix 64 up
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    42
# If you want to initiate DAD on the fly you need to remove
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    43
# all addresses of specific interface identifier from an interface
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    44
# and then define a new interface identifier to be checked by DAD:
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    45
# ifconfig ethernet 3ffe:501:ffff:100:200:ff:fe00:a0a0 prefix 64 delete
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    46
# ifconfig ethernet fe80::200:ff:fe00:a0a0 prefix 64 delete
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    47
# ifconfig ethernet fe80::260:63ff:fe01:d6a9 prefix 64 delete
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    48
# ifconfig ethernet fe80::260:63ff:fe01:d6a9 prefix 64 up
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    49
# The above method is handy for example when running the TAHI
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    50
# stateless address autoconfiguration tests requiring frequently
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    51
# all addresses to be removed and DAD to be performed for link-local
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    52
# address. With EPOC you don't need to reboot, just have appropriate
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    53
# settings in route.ini and push the Add Routes button in IpAdm.
493058e57c8c Revert incorrect RCL_3 drop:
Pat Downey <patd@symbian.org>
parents:
diff changeset
    54
#