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