X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pct-network-opts.adoc;h=7943b0c485ee837494f75281b9f1f6aa5f438b15;hp=44ff7abf00c93841dae590730754db91b0374e85;hb=a75eeddebed864bde81358463958ed1d166935e1;hpb=c2993fe56c757a6b53001af4b2af6517ef598f1e diff --git a/pct-network-opts.adoc b/pct-network-opts.adoc index 44ff7ab..7943b0c 100644 --- a/pct-network-opts.adoc +++ b/pct-network-opts.adoc @@ -1,54 +1,56 @@ -`net[n]`: `name= [,bridge=] [,firewall=<1|0>] [,gw=] [,gw6=] [,hwaddr=] [,ip=] [,ip6=] [,mtu=] [,rate=] [,tag=] [,trunks=] [,type=]` +`net[n]`: `name= [,bridge=] [,firewall=<1|0>] [,gw=] [,gw6=] [,hwaddr=] [,ip=<(IPv4/CIDR|dhcp|manual)>] [,ip6=<(IPv6/CIDR|auto|dhcp|manual)>] [,mtu=] [,rate=] [,tag=] [,trunks=] [,type=]` :: -`bridge`: `` :: +Specifies network interfaces for the container. + +`bridge`=`` ;; Bridge to attach the network device to. -`firewall`: `boolean` :: +`firewall`=`` ;; Controls whether this interface's firewall rules should be used. -`gw`: `` :: +`gw`=`` ;; Default gateway for IPv4 traffic. -`gw6`: `` :: +`gw6`=`` ;; Default gateway for IPv6 traffic. -`hwaddr`: `` :: +`hwaddr`=`` ;; The interface MAC address. This is dynamically allocated by default, but you can set that statically if needed, for example to always have the same link-local IPv6 address. (lxc.network.hwaddr) -`ip`: `` :: +`ip`=`<(IPv4/CIDR|dhcp|manual)>` ;; IPv4 address in CIDR format. -`ip6`: `` :: +`ip6`=`<(IPv6/CIDR|auto|dhcp|manual)>` ;; IPv6 address in CIDR format. -`mtu`: `integer (64 - N)` :: +`mtu`=` (64 - N)` ;; Maximum transfer unit of the interface. (lxc.network.mtu) -`name`: `` :: +`name`=`` ;; Name of the network device as seen from inside the container. (lxc.network.name) -`rate`: `` :: +`rate`=`` ;; Apply rate limiting to the interface -`tag`: `integer (1 - 4094)` :: +`tag`=` (1 - 4094)` ;; VLAN tag for this interface. -`trunks`: `` :: +`trunks`=`` ;; VLAN ids to pass through the interface -`type`: `(veth)` :: +`type`=`` ;; Network interface type.