summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2016-06-13 01:05:49 +0200
committerAndreas Rammhold <andreas@rammhold.de>2016-06-16 00:25:06 +0200
commit6cb955c6a18d7e122ca24ca4873343ca41feeb50 (patch)
tree243885d9635f7d1ced41310932d84a4831a076f8 /man
parent20897a0d6ea12bbc08f70146cc7ad4540b65a0fa (diff)
networkd: vrf: add support for enslaving devices to VRFs
Diffstat (limited to 'man')
-rw-r--r--man/systemd.network.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index ea98c821fa..edf227c134 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -579,6 +579,12 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>VRF=</varname></term>
+ <listitem>
+ <para>The name of the VRF to add the link to.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><varname>VLAN=</varname></term>
<listitem>
<para>The name of a VLAN to create on the link. This
@@ -1279,6 +1285,17 @@ DHCP=yes
</programlisting>
</example>
+ <example>
+ <title>/etc/systemd/network/25-vrf.network</title>
+ <para>Add the bond1 interface to the VRF master interface vrf-test. This will redirect routes generated on this interface to be within the routing table defined during VRF creation. Traffic won't be redirected towards the VRFs routing table unless specific ip-rules are added.</para>
+ <programlisting>[Match]
+Name=bond1
+
+[Network]
+VRF=vrf-test
+</programlisting>
+ </example>
+
</refsect1>
<refsect1>