1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
|
<nm-setting-docs><setting name="6lowpan">
</setting><setting name="802-1x">
</setting><setting name="adsl">
</setting><setting name="bluetooth">
</setting><setting name="bond-port">
</setting><setting name="bond">
</setting><setting name="bridge-port">
</setting><setting name="bridge">
</setting><setting name="cdma">
</setting><setting name="connection">
</setting><setting name="dcb">
</setting><setting name="dummy">
</setting><setting name="ethtool">
</setting><setting name="generic">
</setting><setting name="gsm">
</setting><setting name="hostname">
</setting><setting name="infiniband">
</setting><setting name="ip-tunnel">
</setting><setting name="ipv4">
<property name="addresses" variable="addresses" format="a comma separated list of addresses" values="" default="" example="" description="A list of IPv4 addresses and their prefix length. Multiple addresses can be separated by comma. For example "192.168.1.5/24, 10.1.0.5/24". The addresses are listed in decreasing priority, meaning the first address will be the primary address." /><property name="routes" variable="routes" format="a comma separated list of routes" values="" default="" example="" description="A list of IPv4 destination addresses, prefix length, optional IPv4 next hop addresses, optional route metric, optional attribute. The valid syntax is: "ip[/prefix] [next-hop] [metric] [attribute=val]...[,ip[/prefix]...]". For example "192.0.2.0/24 10.1.1.1 77, 198.51.100.0/24"."><description-docbook>
<para>
A list of IPv4 destination addresses, prefix length, optional IPv4
next hop addresses, optional route metric, optional attribute. The valid syntax is:
"ip[/prefix] [next-hop] [metric] [attribute=val]...[,ip[/prefix]...]".
For example "192.0.2.0/24 10.1.1.1 77, 198.51.100.0/24".
</para>
<para>
Various attributes are supported:
<itemizedlist>
<listitem>
<para><literal>"advmss"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"cwnd"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"initcwnd"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"initrwnd"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"lock-advmss"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-cwnd"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-initcwnd"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-initrwnd"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-mtu"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-window"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"mtu"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"onlink"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"quickack"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"rto_min"</literal> - an unsigned 32 bit integer.
The value is in milliseconds.</para>
</listitem>
<listitem>
<para><literal>"scope"</literal> - an unsigned 8 bit integer. IPv4 only.</para>
</listitem>
<listitem>
<para><literal>"src"</literal> - an IPv4 address.</para>
</listitem>
<listitem>
<para><literal>"table"</literal> - an unsigned 32 bit integer. The default depends on ipv4.route-table.</para>
</listitem>
<listitem>
<para><literal>"tos"</literal> - an unsigned 8 bit integer. IPv4 only.</para>
</listitem>
<listitem>
<para><literal>"type"</literal> - one of <literal>unicast</literal>, <literal>local</literal>, <literal>blackhole</literal>,
<literal>unavailable</literal>, <literal>prohibit</literal>, <literal>throw</literal>.
The default is <literal>unicast</literal>.</para>
</listitem>
<listitem>
<para><literal>"window"</literal> - an unsigned 32 bit integer.</para>
</listitem>
</itemizedlist>
</para>
<para>
For details see also `man ip-route`.
</para></description-docbook></property><property name="routing-rules" variable="routing-rules" format="a comma separated list of routing rules" values="" default="" example="" description="A comma separated list of routing rules for policy routing."><description-docbook>
<para>
A comma separated list of routing rules for policy routing. The format
is based on <command>ip rule add</command> syntax and mostly compatible.
One difference is that routing rules in NetworkManager always need a
fixed priority.
</para>
<para>
Example: <literal>priority 5 from 192.167.4.0/24 table 45</literal>
</para></description-docbook></property></setting><setting name="ipv6">
<property name="addresses" variable="addresses" format="a comma separated list of addresses" values="" default="" example="" description="A list of IPv6 addresses and their prefix length. Multiple addresses can be separated by comma. For example "2001:db8:85a3::8a2e:370:7334/64, 2001:db8:85a3::5/64". The addresses are listed in decreasing priority, meaning the first address will be the primary address. This can make a difference with IPv6 source address selection (RFC 6724, section 5)." /><property name="routes" variable="routes" format="a comma separated list of routes" values="" default="" example="" description=""><description-docbook>
<para>
A list of IPv6 destination addresses, prefix length, optional IPv6
next hop addresses, optional route metric, optional attribute. The valid syntax is:
"ip[/prefix] [next-hop] [metric] [attribute=val]...[,ip[/prefix]...]".
</para>
<para>
Various attributes are supported:
<itemizedlist>
<listitem>
<para><literal>"advmss"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"cwnd"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"from"</literal> - an IPv6 address with optional prefix. IPv6 only.</para>
</listitem>
<listitem>
<para><literal>"initcwnd"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"initrwnd"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"lock-advmss"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-cwnd"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-initcwnd"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-initrwnd"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-mtu"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"lock-window"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"mtu"</literal> - an unsigned 32 bit integer.</para>
</listitem>
<listitem>
<para><literal>"onlink"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"quickack"</literal> - a boolean value.</para>
</listitem>
<listitem>
<para><literal>"rto_min"</literal> - an unsigned 32 bit integer.
The value is in milliseconds.</para>
</listitem>
<listitem>
<para><literal>"src"</literal> - an IPv6 address.</para>
</listitem>
<listitem>
<para><literal>"table"</literal> - an unsigned 32 bit integer. The default depends on ipv6.route-table.</para>
</listitem>
<listitem>
<para><literal>"type"</literal> - one of <literal>unicast</literal>, <literal>local</literal>, <literal>blackhole</literal>,
<literal>unavailable</literal>, <literal>prohibit</literal>, <literal>throw</literal>.
The default is <literal>unicast</literal>.</para>
</listitem>
<listitem>
<para><literal>"window"</literal> - an unsigned 32 bit integer.</para>
</listitem>
</itemizedlist>
</para>
<para>
For details see also `man ip-route`.
</para></description-docbook></property><property name="routing-rules" variable="routing-rules" format="a comma separated list of routing rules" values="" default="" example="" description="A comma separated list of routing rules for policy routing."><description-docbook>
<para>
A comma separated list of routing rules for policy routing. The format
is based on <command>ip rule add</command> syntax and mostly compatible.
One difference is that routing rules in NetworkManager always need a
fixed priority.
</para>
<para>
Example: <literal>priority 5 from 1:2:3::5/128 table 45</literal>
</para></description-docbook></property></setting><setting name="macsec">
</setting><setting name="macvlan">
</setting><setting name="match">
</setting><setting name="802-11-olpc-mesh">
</setting><setting name="ovs-bridge">
</setting><setting name="ovs-dpdk">
</setting><setting name="ovs-external-ids">
</setting><setting name="ovs-interface">
</setting><setting name="ovs-patch">
</setting><setting name="ovs-port">
</setting><setting name="ppp">
</setting><setting name="pppoe">
</setting><setting name="proxy">
<property name="pac-script" variable="pac-script" format="" values="" default="" example="" description="The PAC script. In the profile this must be an UTF-8 encoded javascript code that defines a FindProxyForURL() function. When setting the property in nmcli, a filename is accepted too. In that case, nmcli will read the content of the file and set the script. The prefixes "file://" and "js://" are supported to explicitly differentiate between the two." /></setting><setting name="serial">
</setting><setting name="sriov">
</setting><setting name="tc">
<property name="qdiscs" variable="qdiscs" format="GPtrArray(NMTCQdisc)" values="" default="" example="" description=""><description-docbook>
<para>
Array of TC queueing disciplines. qdisc is a basic block in the
Linux traffic control subsystem
</para>
<para>
Each qdisc can be specified by the following attributes:
</para>
<variablelist>
<varlistentry>
<term><varname>handle HANDLE</varname></term>
<listitem>
<para>
specifies the qdisc handle. A qdisc, which potentially can have children, gets
assigned a major number, called a 'handle', leaving the minor number namespace
available for classes. The handle is expressed as '10:'. It is customary to
explicitly assign a handle to qdiscs expected to have children.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>parent HANDLE</varname></term>
<listitem>
<para>
specifies the handle of the parent qdisc the current qdisc must be
attached to.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>root</varname></term>
<listitem>
<para>
specifies that the qdisc is attached to the root of device.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>KIND</varname></term>
<listitem>
<para>
this is the qdisc kind. NetworkManager currently supports the
following kinds: fq_codel, sfq, tbf. Each qdisc kind has a
different set of parameters, described below. There are also some
kinds like pfifo, pfifo_fast, prio supported by NetworkManager
but their parameters are not supported by NetworkManager.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Parameters for 'fq_codel':
</para>
<variablelist>
<varlistentry>
<term><varname>limit U32</varname></term>
<listitem>
<para>
the hard limit on the real queue size. When this limit is
reached, incoming packets are dropped. Default is 10240 packets.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>memory_limit U32</varname></term>
<listitem>
<para>
sets a limit on the total number of bytes that can be queued in
this FQ-CoDel instance. The lower of the packet limit of the
limit parameter and the memory limit will be enforced. Default is
32 MB.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>flows U32</varname></term>
<listitem>
<para>
the number of flows into which the incoming packets are
classified. Due to the stochastic nature of hashing, multiple
flows may end up being hashed into the same slot. Newer flows
have priority over older ones. This parameter can be set only at
load time since memory has to be allocated for the hash table.
Default value is 1024.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>target U32</varname></term>
<listitem>
<para>
the acceptable minimum standing/persistent queue delay. This minimum
delay is identified by tracking the local minimum queue delay that packets
experience. The unit of measurement is microsecond(us). Default value is 5ms.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>interval U32</varname></term>
<listitem>
<para>
used to ensure that the measured minimum delay does not become too stale.
The minimum delay must be experienced in the last epoch of length .B
interval. It should be set on the order of the worst-case RTT
through the bottleneck to give endpoints sufficient time to
react. Default value is 100ms.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>quantum U32</varname></term>
<listitem>
<para>
the number of bytes used as 'deficit' in the fair queuing
algorithm. Default is set to 1514 bytes which corresponds to the
Ethernet MTU plus the hardware header length of 14 bytes.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>ecn BOOL</varname></term>
<listitem>
<para>
can be used to mark packets instead of dropping them. ecn is turned
on by default.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>ce_threshold U32</varname></term>
<listitem>
<para>
sets a threshold above which all packets are marked with ECN
Congestion Experienced. This is useful for DCTCP-style congestion
control algorithms that require marking at very shallow queueing
thresholds.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Parameters for 'sfq':
</para>
<variablelist>
<varlistentry>
<term><varname>divisor U32</varname></term>
<listitem>
<para>
can be used to set a different hash table size, available
from kernel 2.6.39 onwards. The specified divisor must be
a power of two and cannot be larger than 65536. Default
value: 1024.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>limit U32</varname></term>
<listitem>
<para>
Upper limit of the SFQ. Can be used to reduce the default
length of 127 packets.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>depth U32</varname></term>
<listitem>
<para>
Limit of packets per flow. Default to
127 and can be lowered.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>perturb_period U32</varname></term>
<listitem>
<para>
Interval in seconds for queue algorithm perturbation.
Defaults to 0, which means that no perturbation occurs. Do
not set too low for each perturbation may cause some
packet reordering or losses. Advised value: 60 This value
has no effect when external flow classification is used.
Its better to increase divisor value to lower risk of hash
collisions.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>quantum U32</varname></term>
<listitem>
<para>
Amount of bytes a flow is allowed to dequeue during a
round of the round robin process. Defaults to the MTU of
the interface which is also the advised value and the
minimum value.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>flows U32</varname></term>
<listitem>
<para>
Default value is 127.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Parameters for 'tbf':
</para>
<variablelist>
<varlistentry>
<term><varname>rate U64</varname></term>
<listitem>
<para>
Bandwidth or rate. These parameters accept a floating
point number, possibly followed by either a unit (both SI
and IEC units supported), or a float followed by a percent
character to specify the rate as a percentage of the
device's speed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>burst U32</varname></term>
<listitem>
<para>
Also known as buffer or maxburst. Size of the bucket, in
bytes. This is the maximum amount of bytes that tokens can
be available for instantaneously. In general, larger
shaping rates require a larger buffer. For 10mbit/s on
Intel, you need at least 10kbyte buffer if you want to
reach your configured rate!
</para>
<para>
If your buffer is too small, packets may be dropped
because more tokens arrive per timer tick than fit in your
bucket. The minimum buffer size can be calculated by
dividing the rate by HZ.
</para>
<para>
Token usage calculations are performed using a table which
by default has a resolution of 8 packets. This resolution
can be changed by specifying the cell size with the burst.
For example, to specify a 6000 byte buffer with a 16 byte
cell size, set a burst of 6000/16. You will probably never
have to set this. Must be an integral power of 2.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>limit U32</varname></term>
<listitem>
<para>
Limit is the number of bytes that can be queued waiting
for tokens to become available.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>latency U32</varname></term>
<listitem>
<para>
specifies the maximum amount of time a packet can
sit in the TBF. The latency calculation takes into account
the size of the bucket, the rate and possibly the peakrate
(if set). The latency and limit are mutually exclusive.
</para>
</listitem>
</varlistentry>
</variablelist></description-docbook></property><property name="tfilters" variable="tfilters" format="GPtrArray(NMTCTfilter)" values="" default="" example="" description=""><description-docbook>
<para>
Array of TC traffic filters. Traffic control can manage the packet content during
classification by using filters.
</para>
<para>
Each tfilters can be specified by the following attributes:
</para>
<variablelist>
<varlistentry>
<term><varname>handle HANDLE</varname></term>
<listitem>
<para>
specifies the tfilters handle. A filter is used by a classful qdisc to determine in which class
a packet will be enqueued. It is important to notice that filters reside within qdiscs. Therefore,
see qdiscs handle for detailed information.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>parent HANDLE</varname></term>
<listitem>
<para>
specifies the handle of the parent qdisc the current qdisc must be
attached to.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>root</varname></term>
<listitem>
<para>
specifies that the qdisc is attached to the root of device.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>KIND</varname></term>
<listitem>
<para>
this is the tfilters kind. NetworkManager currently supports
following kinds: mirred, simple. Each filter kind has a
different set of actions, described below. There are also some
other kinds like matchall, basic, u32 supported by NetworkManager.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Actions for 'mirred':
</para>
<variablelist>
<varlistentry>
<term><varname>egress bool</varname></term>
<listitem>
<para>
Define whether the packet should exit from the interface.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>ingress bool</varname></term>
<listitem>
<para>
Define whether the packet should come into the interface.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>mirror bool</varname></term>
<listitem>
<para>
Define whether the packet should be copied to the destination space.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>redirect bool</varname></term>
<listitem>
<para>
Define whether the packet should be moved to the destination space.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Action for 'simple':
</para>
<variablelist>
<varlistentry>
<term><varname>sdata char[32]</varname></term>
<listitem>
<para>
The actual string to print.
</para>
</listitem>
</varlistentry>
</variablelist></description-docbook></property></setting><setting name="team-port">
</setting><setting name="team">
</setting><setting name="tun">
</setting><setting name="user">
</setting><setting name="veth">
</setting><setting name="vlan">
</setting><setting name="vpn">
</setting><setting name="vrf">
</setting><setting name="vxlan">
</setting><setting name="wifi-p2p">
</setting><setting name="wimax">
</setting><setting name="802-3-ethernet">
</setting><setting name="wireguard">
</setting><setting name="802-11-wireless-security">
</setting><setting name="802-11-wireless">
</setting><setting name="wpan">
</setting></nm-setting-docs>
|