]> git.proxmox.com Git - mirror_iproute2.git/blame - man/man8/ip-link.8.in
ip: iptuntap cleanup
[mirror_iproute2.git] / man / man8 / ip-link.8.in
CommitLineData
77987911 1.TH IP\-LINK 8 "13 Dec 2012" "iproute2" "Linux"
761a1e60
CT
2.SH "NAME"
3ip-link \- network device configuration
4.SH "SYNOPSIS"
5.sp
6.ad l
7.in +8
8.ti -8
e895ae0b 9.B ip link
761a1e60
CT
10.RI " { " COMMAND " | "
11.BR help " }"
12.sp
13
761a1e60 14.ti -8
9fc56974
AH
15.BI "ip link add"
16.RB "[ " link
17.IR DEVICE " ]"
761a1e60
CT
18.RB "[ " name " ]"
19.I NAME
20.br
21.RB "[ " txqueuelen
22.IR PACKETS " ]"
23.br
24.RB "[ " address
25.IR LLADDR " ]"
26.RB "[ " broadcast
27.IR LLADDR " ]"
28.br
29.RB "[ " mtu
30.IR MTU " ]"
4de8d885
PE
31.RB "[ " index
32.IR IDX " ]"
761a1e60 33.br
d992f3e6
JP
34.RB "[ " numtxqueues
35.IR QUEUE_COUNT " ]"
36.RB "[ " numrxqueues
37.IR QUEUE_COUNT " ]"
38.br
d890144e 39.BI type " TYPE"
761a1e60
CT
40.RI "[ " ARGS " ]"
41
761a1e60 42.ti -8
7f74cf6d
VK
43.BR "ip link delete " {
44.IR DEVICE " | "
45.BI "group " GROUP
46}
761a1e60
CT
47.BI type " TYPE"
48.RI "[ " ARGS " ]"
49
50.ti -8
51.BR "ip link set " {
52.IR DEVICE " | "
53.BI "group " GROUP
657426c5
PS
54}
55.br
56.RB "[ { " up " | " down " } ]"
57.br
58.RB "[ " type
59.IR "ETYPE TYPE_ARGS" " ]"
761a1e60 60.br
ca611d64 61.RB "[ " arp " { " on " | " off " } ]"
761a1e60 62.br
ca611d64 63.RB "[ " dynamic " { " on " | " off " } ]"
761a1e60 64.br
ca611d64 65.RB "[ " multicast " { " on " | " off " } ]"
761a1e60 66.br
ca611d64 67.RB "[ " allmulticast " { " on " | " off " } ]"
761a1e60 68.br
ca611d64 69.RB "[ " promisc " { " on " | " off " } ]"
18864827 70.br
ca611d64 71.RB "[ " protodown " { " on " | " off " } ]"
761a1e60 72.br
ca611d64 73.RB "[ " trailers " { " on " | " off " } ]"
761a1e60 74.br
ca611d64
PS
75.RB "[ " txqueuelen
76.IR PACKETS " ]"
77.br
78.RB "[ " name
79.IR NEWNAME " ]"
80.br
81.RB "[ " address
82.IR LLADDR " ]"
761a1e60 83.br
ca611d64
PS
84.RB "[ " broadcast
85.IR LLADDR " ]"
86.br
87.RB "[ " mtu
88.IR MTU " ]"
761a1e60 89.br
ca611d64
PS
90.RB "[ " netns " {"
91.IR PID " | " NETNSNAME " } ]"
761a1e60 92.br
ca611d64
PS
93.RB "[ " link-netnsid
94.IR ID " ]"
761a1e60 95.br
ca611d64
PS
96.RB "[ " alias
97.IR NAME " ]"
761a1e60 98.br
ca611d64 99.RB "[ " vf
761a1e60
CT
100.IR NUM " ["
101.B mac
ca611d64
PS
102.IR LLADDR " ]"
103.br
104.in +9
105.RB "[ " vlan
761a1e60
CT
106.IR VLANID " [ "
107.B qos
ca611d64 108.IR VLAN-QOS " ] ]"
761a1e60 109.br
ca611d64
PS
110.RB "[ " rate
111.IR TXRATE " ]"
112.br
113.RB "[ " max_tx_rate
114.IR TXRATE " ]"
115.br
116.RB "[ " min_tx_rate
117.IR TXRATE " ]"
761a1e60 118.br
ca611d64 119.RB "[ " spoofchk " { " on " | " off " } ]"
503aa4e2 120.br
8e45e44b
PS
121.RB "[ " query_rss " { " on " | " off " } ]"
122.br
ca611d64 123.RB "[ " state " { " auto " | " enable " | " disable " } ]"
503aa4e2 124.br
d91fb3f4
EC
125.RB "[ " trust " { " on " | " off " } ]"
126.br
127.RB "[ " node_guid " eui64 ]"
128.br
129.RB "[ " port_guid " eui64 ] ]"
ca611d64
PS
130.br
131.in -9
132.RB "[ " master
133.IR DEVICE " ]"
134.br
135.RB "[ " nomaster " ]"
136.br
104444c2
DA
137.RB "[ " vrf
138.IR NAME " ]"
139.br
ca611d64 140.RB "[ " addrgenmode " { " eui64 " | " none " | " stable_secret " | " random " } ]"
761a1e60
CT
141
142
143.ti -8
144.B ip link show
145.RI "[ " DEVICE " | "
146.B group
ca611d64
PS
147.IR GROUP " ] ["
148.BR up " ] ["
1b944148 149.B master
ca611d64 150.IR DEVICE " ] ["
712249d8 151.B type
657426c5 152.IR ETYPE " ]"
104444c2
DA
153.B vrf
154.IR NAME " ]"
761a1e60 155
1f299e92 156.ti -8
157.B ip link help
158.RI "[ " TYPE " ]"
159
657426c5
PS
160.ti -8
161.IR TYPE " := [ "
162.BR bridge " | "
163.BR bond " | "
164.BR can " | "
165.BR dummy " | "
166.BR hsr " | "
167.BR ifb " | "
168.BR ipoib " |"
169.BR macvlan " | "
170.BR macvtap " | "
171.BR vcan " | "
172.BR veth " | "
173.BR vlan " | "
174.BR vxlan " |"
175.BR ip6tnl " |"
176.BR ipip " |"
177.BR sit " |"
178.BR gre " |"
179.BR gretap " |"
180.BR ip6gre " |"
181.BR ip6gretap " |"
182.BR vti " |"
183.BR nlmon " |"
184.BR ipvlan " |"
185.BR lowpan " |"
186.BR geneve " |"
fd4df5b2
DC
187.BR vrf " |"
188.BR macsec " ]"
657426c5
PS
189
190.ti -8
191.IR ETYPE " := [ " TYPE " |"
192.BR bridge_slave " | " bond_slave " ]"
193
761a1e60
CT
194.SH "DESCRIPTION"
195.SS ip link add - add virtual link
196
197.TP
198.BI link " DEVICE "
199specifies the physical device to act operate on.
200
201.I NAME
202specifies the name of the new virtual device.
203
204.I TYPE
205specifies the type of the new device.
206.sp
207Link types:
208
209.in +8
f1a6f4e9
SH
210.B bridge
211- Ethernet Bridge device
761a1e60 212.sp
cc26a890
JP
213.B bond
214- Bonding device
503aa4e2
215.B can
216- Controller Area Network interface
cc26a890 217.sp
761a1e60
CT
218.B dummy
219- Dummy network interface
220.sp
2f937359 221.B hsr
222- High-availability Seamless Redundancy device
223.sp
761a1e60
CT
224.B ifb
225- Intermediate Functional Block device
226.sp
f1a6f4e9
SH
227.B ipoib
228- IP over Infiniband device
229.sp
761a1e60 230.B macvlan
f1a6f4e9 231- Virtual interface base on link layer address (MAC)
761a1e60 232.sp
e4c35682
RR
233.B macvtap
234- Virtual interface based on link layer address (MAC) and TAP.
235.sp
f1a6f4e9 236.B vcan
2b70fe15 237- Virtual Controller Area Network interface
761a1e60 238.sp
f1a6f4e9
SH
239.B veth
240- Virtual ethernet interface
de038993 241.sp
f1a6f4e9
SH
242.BR vlan
243- 802.1q tagged virtual LAN interface
244.sp
245.BR vxlan
246- Virtual eXtended LAN
77987911
ND
247.sp
248.BR ip6tnl
249- Virtual tunnel interface IPv4|IPv6 over IPv6
250.sp
251.BR ipip
252- Virtual tunnel interface IPv4 over IPv4
253.sp
254.BR sit
255- Virtual tunnel interface IPv6 over IPv4
9abde37c 256.sp
257.BR gre
258- Virtual tunnel interface GRE over IPv4
259.sp
260.BR gretap
d36d9d41 261- Virtual L2 tunnel interface GRE over IPv4
9abde37c 262.sp
263.BR ip6gre
d36d9d41 264- Virtual tunnel interface GRE over IPv6
9abde37c 265.sp
266.BR ip6gretap
d36d9d41 267- Virtual L2 tunnel interface GRE over IPv6
b6d6b5a1
VK
268.sp
269.BR vti
270- Virtual tunnel interface
271.sp
272.BR nlmon
273- Netlink monitoring device
274.sp
275.BR ipvlan
276- Interface for L3 (IPv6/IPv4) based VLANs
2c0feda8
LB
277.sp
278.BR lowpan
279- Interface for 6LoWPAN (IPv6) over IEEE 802.15.4 / Bluetooth
c1a1d8bc
JL
280.sp
281.BR geneve
282- GEneric NEtwork Virtualization Encapsulation
b26fc590
SD
283.sp
284.BR macsec
285- Interface for IEEE 802.1AE MAC Security (MACsec)
2a6f9cfa
DA
286.sp
287.BR vrf
288- Interface for L3 VRF domains
761a1e60
CT
289.in -8
290
d992f3e6
JP
291.TP
292.BI numtxqueues " QUEUE_COUNT "
293specifies the number of transmit queues for new device.
294
295.TP
296.BI numrxqueues " QUEUE_COUNT "
297specifies the number of receive queues for new device.
298
4de8d885
PE
299.TP
300.BI index " IDX "
301specifies the desired index of the new virtual device. The link creation fails, if the index is busy.
302
503aa4e2
303.TP
304VLAN Type Support
305For a link of type
306.I VLAN
307the following additional arguments are supported:
308
309.BI "ip link add
310.BI link " DEVICE "
311.BI name " NAME "
52a59869 312.B "type vlan"
1ab0f02f 313[
503aa4e2 314.BI protocol " VLAN_PROTO "
1ab0f02f 315]
503aa4e2 316.BI id " VLANID "
1ab0f02f 317[
503aa4e2 318.BR reorder_hdr " { " on " | " off " } "
1ab0f02f
TF
319]
320[
503aa4e2 321.BR gvrp " { " on " | " off " } "
1ab0f02f
TF
322]
323[
503aa4e2 324.BR mvrp " { " on " | " off " } "
1ab0f02f
TF
325]
326[
503aa4e2 327.BR loose_binding " { " on " | " off " } "
1ab0f02f
TF
328]
329[
503aa4e2 330.BI ingress-qos-map " QOS-MAP "
1ab0f02f
TF
331]
332[
503aa4e2 333.BI egress-qos-map " QOS-MAP "
1ab0f02f 334]
503aa4e2
335
336.in +8
337.sp
338.BI protocol " VLAN_PROTO "
339- either 802.1Q or 802.1ad.
340
341.BI id " VLANID "
342- specifies the VLAN Identifer to use. Note that numbers with a leading " 0 " or " 0x " are interpreted as octal or hexadeimal, respectively.
343
344.BR reorder_hdr " { " on " | " off " } "
e612883c
VK
345- specifies whether ethernet headers are reordered or not (default is
346.BR on ")."
347
348.in +4
349If
350.BR reorder_hdr " is " on
351then VLAN header will be not inserted immediately but only before passing to the
352physical device (if this device does not support VLAN offloading), the similar
353on the RX direction - by default the packet will be untagged before being
354received by VLAN device. Reordering allows to accelerate tagging on egress and
355to hide VLAN header on ingress so the packet looks like regular Ethernet packet,
79c7078e 356at the same time it might be confusing for packet capture as the VLAN header
e612883c
VK
357does not exist within the packet.
358
359VLAN offloading can be checked by
360.BR ethtool "(8):"
361.in +4
362.sp
363.B ethtool -k
364<phy_dev> |
365.RB grep " tx-vlan-offload"
366.sp
367.in -4
368where <phy_dev> is the physical device to which VLAN device is bound.
369.in -4
503aa4e2
370
371.BR gvrp " { " on " | " off " } "
372- specifies whether this VLAN should be registered using GARP VLAN Registration Protocol.
373
374.BR mvrp " { " on " | " off " } "
375- specifies whether this VLAN should be registered using Multiple VLAN Registration Protocol.
376
377.BR loose_binding " { " on " | " off " } "
378- specifies whether the VLAN device state is bound to the physical device state.
379
380.BI ingress-qos-map " QOS-MAP "
ab872442
VK
381- defines a mapping of VLAN header prio field to the Linux internal packet
382priority on incoming frames. The format is FROM:TO with multiple mappings
383separated by spaces.
503aa4e2
384
385.BI egress-qos-map " QOS-MAP "
ab872442
VK
386- defines a mapping of Linux internal packet priority to VLAN header prio field
387but for outgoing frames. The format is the same as for ingress-qos-map.
388.in +4
389
390Linux packet priority can be set by
391.BR iptables "(8)":
392.in +4
393.sp
394.B iptables
395-t mangle -A POSTROUTING [...] -j CLASSIFY --set-class 0:4
396.sp
397.in -4
398and this "4" priority can be used in the egress qos mapping to set VLAN prio "5":
399.sp
400.in +4
401.B ip
402link set veth0.10 type vlan egress 4:5
403.in -4
404.in -4
503aa4e2
405.in -8
406
2816a568
TR
407.TP
408VXLAN Type Support
63f60e3a 409For a link of type
2816a568
TR
410.I VXLAN
411the following additional arguments are supported:
412
413.BI "ip link add " DEVICE
52a59869 414.BI type " vxlan " id " VNI"
1ab0f02f 415[
2816a568 416.BI dev " PHYS_DEV "
7cfa3802
AW
417.RB " ] [ { " group " | " remote " } "
418.I IPADDR
1ab0f02f 419] [
5cd64c97
TF
420.B local
421.RI "{ "IPADDR " | "any " } "
1ab0f02f 422] [
2816a568 423.BI ttl " TTL "
1ab0f02f 424] [
2816a568 425.BI tos " TOS "
1ab0f02f 426] [
f8eb79a6
DB
427.BI flowlabel " FLOWLABEL "
428] [
503aa4e2 429.BI dstport " PORT "
1ab0f02f 430] [
503aa4e2 431.BI srcport " MIN MAX "
1ab0f02f 432] [
52a59869 433.RB [ no ] learning
1ab0f02f 434] [
52a59869 435.RB [ no ] proxy
1ab0f02f 436] [
52a59869 437.RB [ no ] rsc
1ab0f02f 438] [
52a59869 439.RB [ no ] l2miss
1ab0f02f 440] [
52a59869 441.RB [ no ] l3miss
1ab0f02f 442] [
52a59869 443.RB [ no ] udpcsum
1ab0f02f 444] [
52a59869 445.RB [ no ] udp6zerocsumtx
1ab0f02f 446] [
52a59869 447.RB [ no ] udp6zerocsumrx
1ab0f02f 448] [
c2fbc57e 449.BI ageing " SECONDS "
1ab0f02f 450] [
c2fbc57e 451.BI maxaddress " NUMBER "
1ab0f02f 452] [
52a59869 453.RB [ no ] external
42d17a61 454] [
2eb90dc7 455.B gbp
346410bd
JB
456] [
457.B gpe
1ab0f02f 458]
2816a568
TR
459
460.in +8
461.sp
462.BI id " VNI "
463- specifies the VXLAN Network Identifer (or VXLAN Segment
464Identifier) to use.
465
466.BI dev " PHYS_DEV"
467- specifies the physical device to use for tunnel endpoint communication.
468
469.sp
470.BI group " IPADDR"
471- specifies the multicast IP address to join.
7cfa3802
AW
472This parameter cannot be specified with the
473.B remote
474parameter.
475
476.sp
477.BI remote " IPADDR"
478- specifies the unicast destination IP address to use in outgoing packets
479when the destination link layer address is not known in the VXLAN device
a89d5329 480forwarding database. This parameter cannot be specified with the
7cfa3802
AW
481.B group
482parameter.
2816a568
TR
483
484.sp
485.BI local " IPADDR"
486- specifies the source IP address to use in outgoing packets.
487
488.sp
489.BI ttl " TTL"
490- specifies the TTL value to use in outgoing packets.
491
492.sp
493.BI tos " TOS"
494- specifies the TOS value to use in outgoing packets.
495
f8eb79a6
DB
496.sp
497.BI flowlabel " FLOWLABEL"
498- specifies the flow label to use in outgoing packets.
499
2816a568 500.sp
503aa4e2
501.BI dstport " PORT"
502- specifies the UDP destination port to communicate to the remote VXLAN tunnel endpoint.
503
504.sp
505.BI srcport " MIN MAX"
2816a568
TR
506- specifies the range of port numbers to use as UDP
507source ports to communicate to the remote VXLAN tunnel endpoint.
508
509.sp
52a59869 510.RB [ no ] learning
2816a568
TR
511- specifies if unknown source link layer addresses and IP addresses
512are entered into the VXLAN device forwarding database.
513
514.sp
52a59869 515.RB [ no ] rsc
2816a568
TR
516- specifies if route short circuit is turned on.
517
518.sp
52a59869 519.RB [ no ] proxy
2816a568
TR
520- specifies ARP proxy is turned on.
521
522.sp
52a59869 523.RB [ no ] l2miss
2816a568
TR
524- specifies if netlink LLADDR miss notifications are generated.
525
526.sp
52a59869 527.RB [ no ] l3miss
2816a568
TR
528- specifies if netlink IP ADDR miss notifications are generated.
529
503aa4e2 530.sp
52a59869 531.RB [ no ] udpcsum
4853ee52 532- specifies if UDP checksum is calculated for transmitted packets over IPv4.
503aa4e2
533
534.sp
52a59869 535.RB [ no ] udp6zerocsumtx
4853ee52 536- skip UDP checksum calculation for transmitted packets over IPv6.
503aa4e2
537
538.sp
52a59869 539.RB [ no ] udp6zerocsumrx
4853ee52 540- allow incoming UDP packets over IPv6 with zero checksum field.
503aa4e2 541
c2fbc57e
ND
542.sp
543.BI ageing " SECONDS"
544- specifies the lifetime in seconds of FDB entries learnt by the kernel.
545
546.sp
547.BI maxaddress " NUMBER"
548- specifies the maximum number of FDB entries.
549
42d17a61 550.sp
52a59869 551.RB [ no ] external
42d17a61
JB
552- specifies whether an external control plane
553.RB "(e.g. " "ip route encap" )
554or the internal FDB should be used.
555
2eb90dc7
TG
556.sp
557.B gbp
558- enables the Group Policy extension (VXLAN-GBP).
559
560.in +4
561Allows to transport group policy context across VXLAN network peers.
562If enabled, includes the mark of a packet in the VXLAN header for outgoing
563packets and fills the packet mark based on the information found in the
564VXLAN header for incomming packets.
565
566Format of upper 16 bits of packet mark (flags);
567
568.in +2
569+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
570.br
571|-|-|-|-|-|-|-|-|-|D|-|-|A|-|-|-|
572.br
573+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
574
575.B D :=
576Don't Learn bit. When set, this bit indicates that the egress
577VTEP MUST NOT learn the source address of the encapsulated frame.
578
579.B A :=
580Indicates that the group policy has already been applied to
581this packet. Policies MUST NOT be applied by devices when the A bit is set.
582.in -2
583
584Format of lower 16 bits of packet mark (policy ID):
585
586.in +2
587+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
588.br
589| Group Policy ID |
590.br
591+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
592.in -2
593
594Example:
595 iptables -A OUTPUT [...] -j MARK --set-mark 0x800FF
596
597.in -4
598
346410bd
JB
599.sp
600.B gpe
601- enables the Generic Protocol extension (VXLAN-GPE). Currently, this is
602only supported together with the
603.B external
604keyword.
605
2816a568
TR
606.in -8
607
90f1df71
TH
608.TP
609GRE, IPIP, SIT Type Support
610For a link of types
611.I GRE/IPIP/SIT
612the following additional arguments are supported:
613
614.BI "ip link add " DEVICE
52a59869 615.BR type " { " gre " | " ipip " | " sit " }"
90f1df71 616.BI " remote " ADDR " local " ADDR
1ab0f02f 617[
52a59869 618.BR encap " { " fou " | " gue " | " none " }"
1ab0f02f 619] [
52a59869 620.BR encap-sport " { " \fIPORT " | " auto " }"
1ab0f02f 621] [
90f1df71 622.BI "encap-dport " PORT
1ab0f02f 623] [
52a59869 624.RB [ no ] encap-csum
1ab0f02f 625] [
52a59869 626.RB [ no ] encap-remcsum
1ab0f02f 627]
90f1df71
TH
628
629.in +8
630.sp
631.BI remote " ADDR "
632- specifies the remote address of the tunnel.
633
634.sp
635.BI local " ADDR "
636- specifies the fixed local address for tunneled packets.
637It must be an address on another interface on this host.
638
639.sp
52a59869 640.BR encap " { " fou " | " gue " | " none " }"
90f1df71
TH
641- specifies type of secondary UDP encapsulation. "fou" indicates
642Foo-Over-UDP, "gue" indicates Generic UDP Encapsulation.
643
644.sp
52a59869 645.BR encap-sport " { " \fIPORT " | " auto " }"
90f1df71
TH
646- specifies the source port in UDP encapsulation.
647.IR PORT
648indicates the port by number, "auto"
649indicates that the port number should be chosen automatically
650(the kernel picks a flow based on the flow hash of the
651encapsulated packet).
652
653.sp
52a59869 654.RB [ no ] encap-csum
90f1df71
TH
655- specifies if UDP checksums are enabled in the secondary
656encapsulation.
657
658.sp
52a59869 659.RB [ no ] encap-remcsum
90f1df71
TH
660- specifies if Remote Checksum Offload is enabled. This is only
661applicable for Generic UDP Encapsulation.
662
663.in -8
664
9abde37c 665.TP
666IP6GRE/IP6GRETAP Type Support
63f60e3a 667For a link of type
9abde37c 668.I IP6GRE/IP6GRETAP
669the following additional arguments are supported:
670
671.BI "ip link add " DEVICE
52a59869
PS
672.BR type " { " ip6gre " | " ip6gretap " }"
673.BI remote " ADDR " local " ADDR"
1ab0f02f 674[
52a59869 675.RB [ i | o ] seq
1ab0f02f 676] [
52a59869
PS
677.RB [ i | o ] key
678.I KEY
1ab0f02f 679] [
52a59869 680.RB [ i | o ] csum
1ab0f02f 681] [
9abde37c 682.BI hoplimit " TTL "
1ab0f02f 683] [
9abde37c 684.BI encaplimit " ELIM "
1ab0f02f 685] [
9abde37c 686.BI tclass " TCLASS "
1ab0f02f 687] [
9abde37c 688.BI flowlabel " FLOWLABEL "
1ab0f02f 689] [
9abde37c 690.BI "dscp inherit"
1ab0f02f 691] [
9abde37c 692.BI dev " PHYS_DEV "
1ab0f02f 693]
9abde37c 694
695.in +8
696.sp
697.BI remote " ADDR "
698- specifies the remote IPv6 address of the tunnel.
699
700.sp
701.BI local " ADDR "
702- specifies the fixed local IPv6 address for tunneled packets.
90f1df71 703It must be an address on another interface on this host.
9abde37c 704
705.sp
52a59869 706.RB [ i | o ] seq
9abde37c 707- serialize packets.
708The
709.B oseq
710flag enables sequencing of outgoing packets.
711The
712.B iseq
713flag requires that all input packets are serialized.
714
715.sp
52a59869 716.RB [ i | o ] key " \fIKEY"
9abde37c 717- use keyed GRE with key
718.IR KEY ". "KEY
719is either a number or an IPv4 address-like dotted quad.
720The
721.B key
722parameter specifies the same key to use in both directions.
723The
724.BR ikey " and " okey
725parameters specify different keys for input and output.
726
727.sp
52a59869 728.RB [ i | o ] csum
9abde37c 729- generate/require checksums for tunneled packets.
730The
731.B ocsum
732flag calculates checksums for outgoing packets.
733The
734.B icsum
735flag requires that all input packets have the correct
a89d5329 736checksum. The
9abde37c 737.B csum
738flag is equivalent to the combination
739.BR "icsum ocsum" .
740
741.sp
742.BI hoplimit " TTL"
743- specifies Hop Limit value to use in outgoing packets.
744
745.sp
746.BI encaplimit " ELIM"
a89d5329 747- specifies a fixed encapsulation limit. Default is 4.
9abde37c 748
749.sp
750.BI flowlabel " FLOWLABEL"
63f60e3a 751- specifies a fixed flowlabel.
9abde37c 752
753.sp
754.BI tclass " TCLASS"
755- specifies the traffic class field on
756tunneled packets, which can be specified as either a two-digit
757hex value (e.g. c0) or a predefined string (e.g. internet).
758The value
759.B inherit
760causes the field to be copied from the original IP header. The
761values
762.BI "inherit/" STRING
763or
764.BI "inherit/" 00 ".." ff
765will set the field to
766.I STRING
767or
768.IR 00 ".." ff
769when tunneling non-IP packets. The default value is 00.
770
771.in -8
772
8ca8fac7
OG
773.TP
774IPoIB Type Support
775For a link of type
776.I IPoIB
777the following additional arguments are supported:
778
779.BI "ip link add " DEVICE " name " NAME
52a59869 780.BR "type ipoib " [ " pkey \fIPKEY" " ] [ " mode " \fIMODE \fR]"
8ca8fac7
OG
781
782.in +8
783.sp
784.BI pkey " PKEY "
785- specifies the IB P-Key to use.
786
787.BI mode " MODE "
788- specifies the mode (datagram or connected) to use.
789
c1a1d8bc
JL
790.TP
791GENEVE Type Support
792For a link of type
793.I GENEVE
794the following additional arguments are supported:
795
796.BI "ip link add " DEVICE
52a59869 797.BI type " geneve " id " VNI " remote " IPADDR"
1ab0f02f 798[
f4c05c2e 799.BI ttl " TTL "
1ab0f02f 800] [
f4739b2e 801.BI tos " TOS "
29bb2373
DB
802] [
803.BI flowlabel " FLOWLABEL "
7e33b093
PS
804] [
805.BI dstport " PORT"
806] [
807.RB [ no ] external
808] [
809.RB [ no ] udpcsum
810] [
811.RB [ no ] udp6zerocsumtx
812] [
813.RB [ no ] udp6zerocsumrx
1ab0f02f 814]
c1a1d8bc
JL
815
816.in +8
817.sp
818.BI id " VNI "
819- specifies the Virtual Network Identifer to use.
820
821.sp
822.BI remote " IPADDR"
823- specifies the unicast destination IP address to use in outgoing packets.
824
f4c05c2e
JL
825.sp
826.BI ttl " TTL"
827- specifies the TTL value to use in outgoing packets.
828
f4739b2e
JL
829.sp
830.BI tos " TOS"
831- specifies the TOS value to use in outgoing packets.
832
29bb2373
DB
833.sp
834.BI flowlabel " FLOWLABEL"
835- specifies the flow label to use in outgoing packets.
836
7e33b093
PS
837.sp
838.BI dstport " PORT"
839- select a destination port other than the default of 6081.
840
841.sp
842.RB [ no ] external
843- make this tunnel externally controlled (or not, which is the default). This
844flag is mutually exclusive with the
845.BR id ,
846.BR remote ,
847.BR ttl ,
848.BR tos " and " flowlabel
849options.
850
851.sp
852.RB [ no ] udpcsum
853- specifies if UDP checksum is calculated for transmitted packets over IPv4.
854
855.sp
856.RB [ no ] udp6zerocsumtx
857- skip UDP checksum calculation for transmitted packets over IPv6.
858
859.sp
860.RB [ no ] udp6zerocsumrx
861- allow incoming UDP packets over IPv6 with zero checksum field.
862
c1a1d8bc
JL
863.in -8
864
a60223bc
PS
865.TP
866MACVLAN and MACVTAP Type Support
867For a link of type
868.I MACVLAN
869or
870.I MACVTAP
871the following additional arguments are supported:
872
873.BI "ip link add link " DEVICE " name " NAME
874.BR type " { " macvlan " | " macvtap " } "
875.BR mode " { " private " | " vepa " | " bridge " | " passthru
52a59869 876.RB " [ " nopromisc " ] } "
a60223bc
PS
877
878.in +8
879.sp
880.BR type " { " macvlan " | " macvtap " } "
881- specifies the link type to use.
882.BR macvlan " creates just a virtual interface, while "
883.BR macvtap " in addition creates a character device "
884.BR /dev/tapX " to be used just like a " tuntap " device."
885
886.B mode private
887- Do not allow communication between
888.B macvlan
889instances on the same physical interface, even if the external switch supports
890hairpin mode.
891
892.B mode vepa
893- Virtual Ethernet Port Aggregator mode. Data from one
894.B macvlan
895instance to the other on the same physical interface is transmitted over the
896physical interface. Either the attached switch needs to support hairpin mode,
897or there must be a TCP/IP router forwarding the packets in order to allow
898communication. This is the default mode.
899
900.B mode bridge
901- In bridge mode, all endpoints are directly connected to each other,
902communication is not redirected through the physical interface's peer.
903
904.BR mode " " passthru " [ " nopromisc " ] "
905- This mode gives more power to a single endpoint, usually in
906.BR macvtap " mode. It is not allowed for more than one endpoint on the same "
907physical interface. All traffic will be forwarded to this endpoint, allowing
908virtio guests to change MAC address or set promiscuous mode in order to bridge
909the interface or create vlan interfaces on top of it. By default, this mode
910forces the underlying interface into promiscuous mode. Passing the
911.BR nopromisc " flag prevents this, so the promisc flag may be controlled "
912using standard tools.
913.in -8
914
9b3c971a
PH
915.TP
916High-availability Seamless Redundancy (HSR) Support
917For a link of type
918.I HSR
919the following additional arguments are supported:
920
52a59869 921.BI "ip link add link " DEVICE " name " NAME " type hsr"
9b3c971a 922.BI slave1 " SLAVE1-IF " slave2 " SLAVE2-IF "
52a59869
PS
923.RB [ " supervision"
924.IR ADDR-BYTE " ] ["
925.BR version " { " 0 " | " 1 " } ]"
9b3c971a
PH
926
927.in +8
928.sp
929.BR type " hsr "
930- specifies the link type to use, here HSR.
931
932.BI slave1 " SLAVE1-IF "
933- Specifies the physical device used for the first of the two ring ports.
934
935.BI slave2 " SLAVE2-IF "
936- Specifies the physical device used for the second of the two ring ports.
937
52a59869 938.BI supervision " ADDR-BYTE"
9b3c971a
PH
939- The last byte of the multicast address used for HSR supervision frames.
940Default option is "0", possible values 0-255.
941
52a59869 942.BR version " { " 0 " | " 1 " }"
9b3c971a
PH
943- Selects the protocol version of the interface. Default option is "0", which
944corresponds to the 2010 version of the HSR standard. Option "1" activates the
9452012 version.
946.in -8
947
b26fc590
SD
948.TP
949MACsec Type Support
950For a link of type
951.I MACsec
952the following additional arguments are supported:
953
954.BI "ip link add link " DEVICE " name " NAME " type macsec"
955[
956.BI port " PORT"
957|
958.BI sci " SCI"
959] [
960.BI cipher " CIPHER_SUITE"
961] [
89bb6e67
DC
962.BR icvlen " { "
963.IR 8..16 " } ] ["
b26fc590
SD
964.BR encrypt " {"
965.BR on " | " off " } ] [ "
966.BR send_sci " { " on " | " off " } ] ["
c0ab80a4 967.BR end_station " { " on " | " off " } ] ["
b26fc590
SD
968.BR scb " { " on " | " off " } ] ["
969.BR protect " { " on " | " off " } ] ["
970.BR replay " { " on " | " off " }"
971.BR window " { "
972.IR 0..2^32-1 " } ] ["
973.BR validate " { " strict " | " check " | " disabled " } ] ["
c0ab80a4 974.BR encodingsa " { "
b26fc590
SD
975.IR 0..3 " } ]"
976
977.in +8
978.sp
979.BI port " PORT "
980- sets the port number for this MACsec device.
981
982.sp
983.BI sci " SCI "
984- sets the SCI for this MACsec device.
985
986.sp
987.BI cipher " CIPHER_SUITE "
988- defines the cipher suite to use.
989
89bb6e67
DC
990.sp
991.BI icvlen " LENGTH "
992- sets the length of the Integrity Check Value (ICV).
993
b26fc590
SD
994.sp
995.BR "encrypt on " or " encrypt off"
996- switches between authenticated encryption, or authenticity mode only.
997
998.sp
999.BR "send_sci on " or " send_sci off"
1000- specifies whether the SCI is included in every packet, or only when it is necessary.
1001
1002.sp
c0ab80a4 1003.BR "end_station on " or " end_station off"
b26fc590
SD
1004- sets the End Station bit.
1005
1006.sp
1007.BR "scb on " or " scb off"
1008- sets the Single Copy Broadcast bit.
1009
1010.sp
1011.BR "protect on " or " protect off"
1012- enables MACsec protection on the device.
1013
1014.sp
1015.BR "replay on " or " replay off"
1016- enables replay protection on the device.
1017
1018.in +8
1019
1020.sp
1021.BI window " SIZE "
1022- sets the size of the replay window.
1023
1024.in -8
1025
1026.sp
1027.BR "validate strict " or " validate check " or " validate disabled"
1028- sets the validation mode on the device.
1029
1030.sp
c0ab80a4 1031.BI encodingsa " AN "
b26fc590
SD
1032- sets the active secure association for transmission.
1033
1034.in -8
1035
2a6f9cfa
DA
1036.TP
1037VRF Type Support
1038For a link of type
1039.I VRF
1040the following additional arguments are supported:
1041
1042.BI "ip link add " DEVICE " type vrf table " TABLE
1043
1044.in +8
1045.sp
1046.BR table " table id associated with VRF device"
1047
1048.in -8
1049
761a1e60 1050.SS ip link delete - delete virtual link
761a1e60
CT
1051
1052.TP
1053.BI dev " DEVICE "
7f74cf6d
VK
1054specifies the virtual device to act operate on.
1055
1056.TP
1057.BI group " GROUP "
1058specifies the group of virtual links to delete. Group 0 is not allowed to be
1059deleted since it is the default group.
1060
1061.TP
1062.BI type " TYPE "
1063specifies the type of the device.
761a1e60
CT
1064
1065.SS ip link set - change device attributes
1066
f9e9f928
PS
1067.PP
1068.B Warning:
1069If multiple parameter changes are requested,
1070.B ip
1071aborts immediately after any of the changes have failed.
1072This is the only case when
1073.B ip
1074can move the system to an unpredictable state. The solution
1075is to avoid changing several parameters with one
1076.B ip link set
1077call.
1078
761a1e60
CT
1079.TP
1080.BI dev " DEVICE "
1081.I DEVICE
6274b0b7 1082specifies network device to operate on. When configuring SR-IOV Virtual Function
761a1e60
CT
1083(VF) devices, this keyword should specify the associated Physical Function (PF)
1084device.
1085
1086.TP
1087.BI group " GROUP "
1088.I GROUP
1089has a dual role: If both group and dev are present, then move the device to the
a89d5329 1090specified group. If only a group is specified, then the command operates on
761a1e60
CT
1091all devices in that group.
1092
1093.TP
1094.BR up " and " down
1095change the state of the device to
1096.B UP
1097or
1098.BR "DOWN" .
1099
1100.TP
1101.BR "arp on " or " arp off"
1102change the
1103.B NOARP
1104flag on the device.
1105
1106.TP
1107.BR "multicast on " or " multicast off"
1108change the
1109.B MULTICAST
1110flag on the device.
1111
18864827
AK
1112.TP
1113.BR "protodown on " or " protodown off"
1114change the
1115.B PROTODOWN
1116state on the device. Indicates that a protocol error has been detected on the port. Switch drivers can react to this error by doing a phys down on the switch port.
1117
761a1e60
CT
1118.TP
1119.BR "dynamic on " or " dynamic off"
1120change the
1121.B DYNAMIC
34c8a95c
VK
1122flag on the device. Indicates that address can change when interface goes down (currently
1123.B NOT
1124used by the Linux).
761a1e60
CT
1125
1126.TP
1127.BI name " NAME"
a89d5329 1128change the name of the device. This operation is not
761a1e60
CT
1129recommended if the device is running or has some addresses
1130already configured.
1131
1132.TP
1133.BI txqueuelen " NUMBER"
1134.TP
1135.BI txqlen " NUMBER"
1136change the transmit queue length of the device.
1137
1138.TP
1139.BI mtu " NUMBER"
1140change the
1141.I MTU
1142of the device.
1143
1144.TP
1145.BI address " LLADDRESS"
1146change the station address of the interface.
1147
1148.TP
1149.BI broadcast " LLADDRESS"
1150.TP
1151.BI brd " LLADDRESS"
1152.TP
1153.BI peer " LLADDRESS"
1154change the link layer broadcast address or the peer address when
1155the interface is
1156.IR "POINTOPOINT" .
1157
1158.TP
36324eba 1159.BI netns " NETNSNAME " \fR| " PID"
761a1e60 1160move the device to the network namespace associated with name
36324eba
VK
1161.IR "NETNSNAME " or
1162.RI process " PID".
1163
1164Some devices are not allowed to change network namespace: loopback, bridge,
1165ppp, wireless. These are network namespace local devices. In such case
1166.B ip
1167tool will return "Invalid argument" error. It is possible to find out if device is local
1168to a single network namespace by checking
1169.B netns-local
1170flag in the output of the
1171.BR ethtool ":"
1172
1173.in +8
1174.B ethtool -k
1175.I DEVICE
1176.in -8
1177
1178To change network namespace for wireless devices the
1179.B iw
1180tool can be used. But it allows to change network namespace only for physical devices and by process
1181.IR PID .
761a1e60
CT
1182
1183.TP
1184.BI alias " NAME"
1185give the device a symbolic name for easy reference.
1186
503aa4e2
1187.TP
1188.BI group " GROUP"
1189specify the group the device belongs to.
1190The available groups are listed in file
1191.BR "@SYSCONFDIR@/group" .
1192
761a1e60
CT
1193.TP
1194.BI vf " NUM"
1195specify a Virtual Function device to be configured. The associated PF device
1196must be specified using the
1197.B dev
1198parameter.
1199
1200.in +8
1201.BI mac " LLADDRESS"
1202- change the station address for the specified VF. The
1203.B vf
1204parameter must be specified.
1205
1206.sp
1207.BI vlan " VLANID"
1208- change the assigned VLAN for the specified VF. When specified, all traffic
1209sent from the VF will be tagged with the specified VLAN ID. Incoming traffic
1210will be filtered for the specified VLAN ID, and will have all VLAN tags
1211stripped before being passed to the VF. Setting this parameter to 0 disables
1212VLAN tagging and filtering. The
1213.B vf
1214parameter must be specified.
1215
1216.sp
1217.BI qos " VLAN-QOS"
1218- assign VLAN QOS (priority) bits for the VLAN tag. When specified, all VLAN
1219tags transmitted by the VF will include the specified priority bits in the
1220VLAN tag. If not specified, the value is assumed to be 0. Both the
1221.B vf
1222and
1223.B vlan
1224parameters must be specified. Setting both
1225.B vlan
1226and
1227.B qos
1228as 0 disables VLAN tagging and filtering for the VF.
1229
1230.sp
1231.BI rate " TXRATE"
f89a2a05
SC
1232-- change the allowed transmit bandwidth, in Mbps, for the specified VF.
1233Setting this parameter to 0 disables rate limiting.
1234.B vf
1235parameter must be specified.
1236Please use new API
1237.B "max_tx_rate"
1238option instead.
1239
1240.sp
1241.BI max_tx_rate " TXRATE"
1242- change the allowed maximum transmit bandwidth, in Mbps, for the specified VF.
1243.B vf
1244parameter must be specified.
1245
1246.sp
1247.BI min_tx_rate " TXRATE"
1248- change the allowed minimum transmit bandwidth, in Mbps, for the specified VF.
1249Minimum TXRATE should be always <= Maximum TXRATE.
761a1e60
CT
1250.B vf
1251parameter must be specified.
1252
1253.sp
1254.BI spoofchk " on|off"
1255- turn packet spoof checking on or off for the specified VF.
63f60e3a 1256.sp
8e45e44b
PS
1257.BI query_rss " on|off"
1258- toggle the ability of querying the RSS configuration of a specific VF. VF RSS information like RSS hash key may be considered sensitive on some devices where this information is shared between VF and PF and thus its querying may be prohibited by default.
1259.sp
63f60e3a
OG
1260.BI state " auto|enable|disable"
1261- set the virtual link state as seen by the specified VF. Setting to auto means a
1262reflection of the PF link state, enable lets the VF to communicate with other VFs on
1263this host even if the PF link state is down, disable causes the HW to drop any packets
1264sent by the VF.
b6d77d9e
HS
1265.sp
1266.BI trust " on|off"
1267- trust the specified VF user. This enables that VF user can set a specific feature
1268which may impact security and/or performance. (e.g. VF multicast promiscuous mode)
d91fb3f4
EC
1269.sp
1270.BI node_guid " eui64"
1271- configure node GUID for the VF.
1272.sp
1273.BI port_guid " eui64"
1274- configure port GUID for the VF.
761a1e60
CT
1275.in -8
1276
1277.TP
1278.BI master " DEVICE"
1279set master device of the device (enslave device).
1280
1281.TP
1282.BI nomaster
1283unset master device of the device (release device).
1284
503aa4e2 1285.TP
8f0777a8
BM
1286.BI addrgenmode " eui64|none|stable_secret|random"
1287set the IPv6 address generation mode
1288
1289.I eui64
1290- use a Modified EUI-64 format interface identifier
1291
1292.I none
1293- disable automatic address generation
1294
1295.I stable_secret
1296- generate the interface identifier based on a preset /proc/sys/net/ipv6/conf/{default,DEVICE}/stable_secret
1297
1298.I random
1299- like stable_secret, but auto-generate a new random secret if none is set
503aa4e2
1300
1301.TP
1302.BR "link-netnsid "
1303set peer netnsid for a cross-netns interface
1304
3dd4b893
PS
1305.TP
1306.BI type " ETYPE TYPE_ARGS"
1307Change type-specific settings. For a list of supported types and arguments refer
1308to the description of
1309.B "ip link add"
1310above. In addition to that, it is possible to manipulate settings to slave
1311devices:
1312
1313.TP
1314Bridge Slave Support
1315For a link with master
1316.B bridge
1317the following additional arguments are supported:
1318
1319.B "ip link set type bridge_slave"
1320[
1321.BI state " STATE"
1322] [
1323.BI priority " PRIO"
1324] [
1325.BI cost " COST"
1326] [
1327.BR guard " { " on " | " off " }"
1328] [
1329.BR hairpin " { " on " | " off " }"
1330] [
1331.BR fastleave " { " on " | " off " }"
1332] [
1333.BR root_block " { " on " | " off " }"
1334] [
1335.BR learning " { " on " | " off " }"
1336] [
1337.BR flood " { " on " | " off " }"
1338] [
1339.BR proxy_arp " { " on " | " off " }"
1340] [
1341.BR proxy_arp_wifi " { " on " | " off " }"
1342] [
1343.BI mcast_router " MULTICAST_ROUTER"
1344] [
1345.BR mcast_fast_leave " { " on " | " off "} ]"
1346
1347.in +8
1348.sp
1349.BI state " STATE"
1350- Set port state.
1351.I STATE
1352is a number representing the following states:
1353.BR 0 " (disabled),"
1354.BR 1 " (listening),"
1355.BR 2 " (learning),"
1356.BR 3 " (forwarding),"
1357.BR 4 " (blocking)."
1358
1359.BI priority " PRIO"
1360- set port priority (a 16bit unsigned value).
1361
1362.BI cost " COST"
1363- set port cost (a 32bit unsigned value).
1364
1365.BR guard " { " on " | " off " }"
1366- block incoming BPDU packets on this port.
1367
1368.BR hairpin " { " on " | " off " }"
1369- enable hairpin mode on this port. This will allow incoming packets on this
1370port to be reflected back.
1371
1372.BR fastleave " { " on " | " off " }"
1373- enable multicast fast leave on this port.
1374
1375.BR root_block " { " on " | " off " }"
1376- block this port from becoming the bridge's root port.
1377
1378.BR learning " { " on " | " off " }"
1379- allow MAC address learning on this port.
1380
1381.BR flood " { " on " | " off " }"
1382- open the flood gates on this port, i.e. forward all unicast frames to this
1383port also. Requires
1384.BR proxy_arp " and " proxy_arp_wifi
1385to be turned off.
1386
1387.BR proxy_arp " { " on " | " off " }"
1388- enable proxy ARP on this port.
1389
1390.BR proxy_arp_wifi " { " on " | " off " }"
1391- enable proxy ARP on this port which meets extended requirements by IEEE
1392802.11 and Hotspot 2.0 specifications.
1393
1394.BI mcast_router " MULTICAST_ROUTER"
1395- configure this port for having multicast routers attached. A port with a
1396multicast router will receive all multicast traffic.
1397.I MULTICAST_ROUTER
1398may be either
1399.B 0
1400to disable multicast routers on this port,
1401.B 1
1402to let the system detect the presence of of routers (this is the default),
1403.B 2
1404to permanently enable multicast traffic forwarding on this port or
1405.B 3
1406to enable multicast routers temporarily on this port, not depending on incoming
1407queries.
1408
1409.BR mcast_fast_leave " { " on " | " off " }"
1410- this is a synonym to the
1411.B fastleave
1412option above.
1413
1414.in -8
1415
1416.TP
1417Bonding Slave Support
1418For a link with master
1419.B bond
1420the following additional arguments are supported:
1421
1422.B "ip link set type bond_slave"
1423[
1424.BI queue_id " ID"
1425]
1426
1427.in +8
1428.sp
1429.BI queue_id " ID"
1430- set the slave's queue ID (a 16bit unsigned value).
1431
1432.in -8
1433
761a1e60
CT
1434.SS ip link show - display device attributes
1435
1436.TP
1437.BI dev " NAME " (default)
1438.I NAME
1439specifies the network device to show.
1440If this argument is omitted all devices in the default group are listed.
1441
1442.TP
1443.BI group " GROUP "
1444.I GROUP
1445specifies what group of devices to show.
1446
1447.TP
1448.B up
1449only display running interfaces.
1450
1b944148
VK
1451.TP
1452.BI master " DEVICE "
1453.I DEVICE
1454specifies the master device which enslaves devices to show.
1455
104444c2
DA
1456.TP
1457.BI vrf " NAME "
1458.I NAME
1459speficies the VRF which enslaves devices to show.
1460
712249d8
VK
1461.TP
1462.BI type " TYPE "
1463.I TYPE
1464specifies the type of devices to show.
1465
3462c116
PS
1466Note that the type name is not checked against the list of supported types -
1467instead it is sent as-is to the kernel. Later it is used to filter the returned
1468interface list by comparing it with the relevant attribute in case the kernel
1469didn't filter already. Therefore any string is accepted, but may lead to empty
1470output.
1471
1f299e92 1472.SS ip link help - display help
1473
1474.PP
1475.I "TYPE"
1476specifies which help of link type to dislpay.
1477
032b4f4d
VK
1478.SS
1479.I GROUP
1480may be a number or a string from the file
699589f6 1481.B @SYSCONFDIR@/group
032b4f4d
VK
1482which can be manually filled.
1483
761a1e60
CT
1484.SH "EXAMPLES"
1485.PP
1486ip link show
1487.RS 4
1488Shows the state of all network interfaces on the system.
1489.RE
1490.PP
712249d8
VK
1491ip link show type bridge
1492.RS 4
1493Shows the bridge devices.
1494.RE
1495.PP
1496ip link show type vlan
1497.RS 4
1498Shows the vlan devices.
1499.RE
1500.PP
417b2180
VK
1501ip link show master br0
1502.RS 4
1503Shows devices enslaved by br0
1504.RE
1505.PP
761a1e60
CT
1506ip link set dev ppp0 mtu 1400
1507.RS 4
1508Change the MTU the ppp0 device.
1509.RE
1510.PP
1511ip link add link eth0 name eth0.10 type vlan id 10
1512.RS 4
1513Creates a new vlan device eth0.10 on device eth0.
1514.RE
1515.PP
1516ip link delete dev eth0.10
1517.RS 4
1518Removes vlan device.
1519.RE
1520
1f299e92 1521ip link help gre
1522.RS 4
1523Display help for the gre link type.
90f1df71
TH
1524.RE
1525.PP
1526ip link add name tun1 type ipip remote 192.168.1.1
1527local 192.168.1.2 ttl 225 encap gue encap-sport auto
1528encap-dport 5555 encap-csum encap-remcsum
1529.RS 4
1530Creates an IPIP that is encapsulated with Generic UDP Encapsulation,
1531and the outer UDP checksum and remote checksum offload are enabled.
1532
2c0feda8
LB
1533.RE
1534.PP
1535ip link add link wpan0 lowpan0 type lowpan
1536.RS 4
1537Creates a 6LoWPAN interface named lowpan0 on the underlying
1538IEEE 802.15.4 device wpan0.
1f299e92 1539.RE
1540
761a1e60
CT
1541.SH SEE ALSO
1542.br
d5910297 1543.BR ip (8),
e612883c 1544.BR ip-netns (8),
ab872442
VK
1545.BR ethtool (8),
1546.BR iptables (8)
761a1e60
CT
1547
1548.SH AUTHOR
1549Original Manpage by Michail Litvak <mci@owl.openwall.com>