From: Tom Gundersen Date: Wed, 28 Jan 2015 20:31:47 +0000 (+0100) Subject: man: netdev - add some minimal explanation to the different netdev kinds and modes X-Git-Tag: v219~233 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=fc07d5d3a982e59d984d6be54342a18028faf7be;hp=73b23bea8666f9c6d01d595ebbdbf7e78680c0ea man: netdev - add some minimal explanation to the different netdev kinds and modes Would be awesome to expand on this a lot, as there is currently no decent documentation for most of these things. --- diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index f7acf3477..751dd00fd 100644 --- a/man/systemd.netdev.xml +++ b/man/systemd.netdev.xml @@ -83,6 +83,184 @@ + + Supported netdev kinds + + The following kinds of virtual network devices may be configured in .netdev files: + + + + bond + + A bond device is an aggregation of all its slave devices. See + + Linux Ethernet Bonding Driver HOWTO for details. + + + + + + + bridge + + A bridge devcie is a software switch, each of its slave devices and the bridge itself are ports of the switch. + + + + + + + dummy + + A dummy device drops all packets sent to it. + + + + + + + gre + + A Level 3 GRE tunnel over IPv4. See + + RFC 2784 for details. + + + + + + + gretap + + A Level 2 GRE tunnel over IPv4. + + + + + + + ip6gre + + A Level 3 GRE tunnel over IPv6. + + + + + + + ip6tnl + + An IPv4 or IPv6 tunnel over IPv6 + + + + + + + ip6gretap + + An Level 2 GRE tunnel over IPv6. + + + + + + + ipip + + An IPv4 over IPv4 tunnel. + + + + + + + ipvlan + + An ipvlan device is a stacked device which receives packets from its + underlying device based on IP address filtering. + + + + + + + macvlan + + A macvlan device is a stacked device which receives packets from its + underlying device based on MAC address filtering. + + + + + + + sit + + An IPv6 over IPv4 tunnel. + + + + + + + tap + + A persistent Level 2 tunnel between a network device and a device node. + + + + + + + tun + + A persistent Level 3 tunnel between a network device and a device node. + + + + + + + veth + + An ethernet tunnel between a pair of network devices. + + + + + + + vlan + + A vlan is a stacked device which receives packets from its underlying + device based on VLAN tagging. See + + IEEE 802.1Q for details. + + + + + + + vti + + An IPv4 over IPSec tunnel. + + + + + + + vxlan + + + + + + + + [Match] Section Options @@ -161,16 +339,8 @@ Kind= - The netdev kind. Currently, bridge, - bond, vlan, - macvlan, - ipvlan, vxlan, - ipip, gre, - gretap, sit, - vti, veth, - tun, tap and - dummy - are supported. This option is compulsory. + The netdev kind. This option is compulsory. See the Supported netdev kinds section + for the valid keys. @@ -377,20 +547,13 @@ Mode= - IPv6 tunnels can have three mode - ip6ip6 - ipip6, - any + An ip6tnl tunnels can have three modes + ip6ip6 for IPv6 over IPv6, + ipip6 for IPv4 over IPv6 or + any for either. - - - Mode= - - The mode specifies the ip6 tunnel protocol. Supported type are - -