]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
.gateway options
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 30 Aug 2011 21:50:23 +0000 (23:50 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 30 Aug 2011 21:50:23 +0000 (23:50 +0200)
Man for the gateway option.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
doc/lxc.conf.sgml.in

index cfaa686990690eac1302e0d3b7f587b960c08670..532739e9fae52df84072ff6abd62ea79fbdc3328 100644 (file)
@@ -298,6 +298,28 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
          </listitem>
        </varlistentry>
 
+       <varlistentry>
+         <term>
+           <option>lxc.network.ipv4.gateway</option>
+         </term>
+         <listitem>
+           <para>
+             specify the ipv4 address to use as the gateway inside the
+             container. The address is in format x.y.z.t, eg.
+             192.168.1.123.
+
+             Can also have the special value <option>auto</option>,
+             which means to take the primary address from the bridge
+             interface (as specified by the
+             <option>lxc.network.link</option> option) and use that as
+             the gateway. <option>auto</option> is only available when
+             using the <option>veth</option> and
+             <option>macvlan</option> network types.
+           </para>
+         </listitem>
+       </varlistentry>
+
+
        <varlistentry>
          <term>
            <option>lxc.network.ipv6</option>
@@ -312,6 +334,27 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
          </listitem>
        </varlistentry>
 
+       <varlistentry>
+         <term>
+           <option>lxc.network.ipv6.gateway</option>
+         </term>
+         <listitem>
+           <para>
+             specify the ipv6 address to use as the gateway inside the
+             container. The address is in format x::y,
+             eg. 2003:db8:1:0::1
+
+             Can also have the special value <option>auto</option>,
+             which means to take the primary address from the bridge
+             interface (as specified by the
+             <option>lxc.network.link</option> option) and use that as
+             the gateway. <option>auto</option> is only available when
+             using the <option>veth</option> and
+             <option>macvlan</option> network types.
+           </para>
+         </listitem>
+       </varlistentry>
+
        <varlistentry>
          <term>
            <option>lxc.network.script.up</option>