EnglishFrenchSpanish

Ad


OnWorks favicon

lxc-user-nic - Online in the Cloud

Run lxc-user-nic in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lxc-user-nic that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


lxc-user-nic - Create and attach a nic to another network namespace.

SYNOPSIS


lxc-user-nic {pid} {type} {bridge} [nicname]

DESCRIPTION


lxc-user-nic is a setuid-root program with which unprivileged users may create network
interfaces for use by a lxc container.

It will consult the configuration file /etc/lxc/lxc-usernet to determine the number of
interfaces which the calling user is allowed to create, and which bridge he may attach
them to. It tracks the number of interfaces each user has created using the file
/run/lxc/nics. It ensures that the calling user is privileged over the network namespace
to which the interface will be attached.

OPTIONS


pid The process id for the task to whose network namespace the interface should be
attached.

type The network interface type to attach. Currently only veth is supported. With this
type, two interfaces representing each tunnel endpoint are created. One endpoint
will be attached to the specified bridge, while the other will be passed into the
container.

bridge The bridge to which to attach the network interface, for instance lxcbr0.

nicname
The desired interface name in the container. This will be eth0 if unspecified.

Use lxc-user-nic online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad