lxc-usernet(5) — Linux manual page


LXC-USERNET(5)                                                LXC-USERNET(5)

NAME         top

       lxc-usernet - unprivileged user network administration file.

DESCRIPTION         top

       /usr/local/etc/lxc/lxc-usernet controls the limits which the program
       lxc-user-nic places on network interfaces which an unprivileged user
       may create.

       This file consists of multiple entries, one per line, of the form:

       user type bridge number


       @group type bridge number


       user   is the username to whom this entry applies.

       @group is the groupname to which this entry applies.

       type   is the type of network interface being allowed. Only veth is
              currently supported.

       bridge is the bridge to which the network interfaces may be attached,
              for instance lxcbr0.

       number is the number or quota of network interfaces of the given type
              which the given user or group may attach to the given bridge,
              for instance 2.

       Since a user can be specified both by username as well as one or more
       usergroups, it is possible that several configuration lines enable
       that user to create network interfaces. In such cases, any interfaces
       create are counted towards the quotas of the user or group in the
       order in which they appear in the file. If the quota of one line is
       full, the rest will be parsed until one is found or the end of the

SEE ALSO         top

       lxc(1), lxc-user-nic(1)

AUTHOR         top

       Daniel Lezcano <daniel.lezcano@free.fr>

COLOPHON         top

       This page is part of the lxc (Linux containers) project.  Information
       about the project can be found at ⟨http://linuxcontainers.org/⟩.  If
       you have a bug report for this manual page, send it to
       lxc-devel@lists.linuxcontainers.org.  This page was obtained from the
       project's upstream Git repository ⟨git://github.com/lxc/lxc⟩ on
       2020-08-13.  (At that time, the date of the most recent commit that
       was found in the repository was 2020-08-12.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

                                 2020-08-13                   LXC-USERNET(5)

Pages that refer to this page: lxc-user-nic(1)lxc.conf(5)lxc.system.conf(5)