Bump versions by x.(y+1).z
[lispflowmapping.git] / resources / tutorial / OOR / oor.conf.server1
1 ################################################
2 #
3 # General configuration
4 #
5 # debug: Debug levels [0..3]
6 # map-request-retries: Additional Map-Requests to send per map cache miss
7 # log-file: Specifies log file used in daemon mode. If it is not specified,
8 #   messages are written in syslog file
9
10 debug                  = 0
11 map-request-retries    = 2
12 log-file               = /var/log/oor.log
13
14 # Define the type of LISP device LISPmob will operate as
15 #
16 # operating-mode can be any of:
17 # xTR, RTR, MN, MS
18 #
19 operating-mode         = MN
20
21 # For the rest of this file you can delete the sections that does not apply to
22 # the LISP device selected in operating-mode
23
24 ###############################################
25 #
26 # Tunnel Router general configuration
27 # Common for xTR, RTR & MN
28 #
29
30 # encapsulation: Encapsulation that will use OOR in the data plane. Could be
31 #   LISP or VXLAN-GPE. LISP is selected by default
32
33 encapsulation          = LISP
34
35
36 # RLOC probing configuration
37 #   rloc-probe-interval: interval at which periodic RLOC probes are sent
38 #     (seconds). A value of 0 disables RLOC probing
39 #   rloc-probe-retries: RLOC probe retries before setting the locator with
40 #     status down. [0..5]
41 #   rloc-probe-retries-interval: interval at which RLOC probes retries are
42 #     sent (seconds) [1..rloc-probe-interval]
43
44 rloc-probing {
45     rloc-probe-interval             = 30
46     rloc-probe-retries              = 2
47     rloc-probe-retries-interval     = 5
48 }
49
50 # Encapsulated Map-Requests are sent to this Map-Resolver
51 # You can define several Map-Resolvers, seprated by comma. Encapsulated 
52 # Map-Request messages will be sent to only one.
53 #   address: IPv4 or IPv6 address of the map-resolver  
54
55 map-resolver        = {
56     192.168.16.11
57 }
58
59 ###############################################
60 #
61 # xTR & MN configuration
62 #
63
64 # NAT Traversl configuration.
65 #   nat_traversal_support: check if the node is behind NAT.
66
67 nat_traversal_support  = off
68
69 # Map-Registers are sent to this Map-Server
70 # You can define several Map-Servers. Map-Register messages will be sent to all
71 # of them.
72 #   address: IPv4 or IPv6 address of the map-server
73 #   key-type: Only 1 supported (HMAC-SHA-1-96)
74 #   key: password to authenticate with the map-server
75 #   proxy-reply [on/off]: Configure map-server to Map-Reply on behalf of the xTR
76
77 #map-server {
78 #        address        = 192.168.16.11
79 #        key-type       = 1
80 #        key            = password
81 #        proxy-reply    = on
82 #}
83
84 # IPv4 / IPv6 EID of the node.
85 #   eid-prefix: EID prefix (ip-prefix/mask) of the mapping
86 #   iid: Instance ID associated to the EID. When using VXLAN-GPE, iid configures
87 #     the VNI of the mapping. [0-16777215]
88 # Two types of RLOCs can be defined:
89 #   rloc-address: Specifies directly the RLOC of the interface
90 #     address: It could be one of the following cases
91 #       - IPv4 or IPv6 address of the RLOC. Address should exist and
92 #        be assigned to an UP interface during startup process otherwise
93 #        it is discarded.
94 #       - ELP name
95 #   rloc-iface: Specifies the interface associated with the RLOC
96 #     interface: interface containing the RLOCs associated to this mapping
97 #     ip_version: 4 to use the IPv4 address of the interface and 6 to use the IPv6
98 #       address of the interface
99 # Both types of RLOCs use priority and weight
100 #   priority [0-255]: Priority for the RLOC of the interface. Locators
101 #     with lower values are more preferable. This is used for both incoming
102 #     policy announcements and outgoing traffic policy management.
103 #   weight [0-255]: When priorities are the same for multiple RLOCs, the weight
104 #     indicates how to balance unicast traffic between them.
105
106 database-mapping {
107     eid-prefix          = 2.2.2.2/32
108     iid                 = 0
109     rloc-iface{
110         interface       = eth1
111         ip_version      = 4
112         priority        = 1
113         weight          = 100
114     }
115 }