mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-01-21 18:03:45 +03:00
9d2e98ed4f
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
`net[n]`: `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,link_down=<1|0>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
|
|
|
|
Specifies network interfaces for the container.
|
|
|
|
`bridge`=`<bridge>` ;;
|
|
|
|
Bridge to attach the network device to.
|
|
|
|
`firewall`=`<boolean>` ;;
|
|
|
|
Controls whether this interface's firewall rules should be used.
|
|
|
|
`gw`=`<GatewayIPv4>` ;;
|
|
|
|
Default gateway for IPv4 traffic.
|
|
|
|
`gw6`=`<GatewayIPv6>` ;;
|
|
|
|
Default gateway for IPv6 traffic.
|
|
|
|
`hwaddr`=`<XX:XX:XX:XX:XX:XX>` ;;
|
|
|
|
A common MAC address with the I/G (Individual/Group) bit not set.
|
|
|
|
`ip`=`<(IPv4/CIDR|dhcp|manual)>` ;;
|
|
|
|
IPv4 address in CIDR format.
|
|
|
|
`ip6`=`<(IPv6/CIDR|auto|dhcp|manual)>` ;;
|
|
|
|
IPv6 address in CIDR format.
|
|
|
|
`link_down`=`<boolean>` ;;
|
|
|
|
Whether this interface should be disconnected (like pulling the plug).
|
|
|
|
`mtu`=`<integer> (64 - 65535)` ;;
|
|
|
|
Maximum transfer unit of the interface. (lxc.network.mtu)
|
|
|
|
`name`=`<string>` ;;
|
|
|
|
Name of the network device as seen from inside the container. (lxc.network.name)
|
|
|
|
`rate`=`<mbps>` ;;
|
|
|
|
Apply rate limiting to the interface
|
|
|
|
`tag`=`<integer> (1 - 4094)` ;;
|
|
|
|
VLAN tag for this interface.
|
|
|
|
`trunks`=`<vlanid[;vlanid...]>` ;;
|
|
|
|
VLAN ids to pass through the interface
|
|
|
|
`type`=`<veth>` ;;
|
|
|
|
Network interface type.
|
|
|