]> git.proxmox.com Git - pve-docs.git/blobdiff - pct-network-opts.adoc
update copyright year to current
[pve-docs.git] / pct-network-opts.adoc
index 571ea54f0e7ce965d220d11ba74f9d229f0cac94..7943b0c485ee837494f75281b9f1f6aa5f438b15 100644 (file)
@@ -1,57 +1,56 @@
-`net[n]`: `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,rate=<mbps>] [,tag=<VlanNo>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]`
+`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)>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
 
-`bridge`: `<vmbr<Number>>` ::
+Specifies network interfaces for the container.
+
+`bridge`=`<bridge>` ;;
 
 Bridge to attach the network device to.
 
-`firewall`: `<[1|0]>` ::
+`firewall`=`<boolean>` ;;
 
 Controls whether this interface's firewall rules should be used.
 
-`gw`: `<GatewayIPv4>` ::
+`gw`=`<GatewayIPv4>` ;;
 
 Default gateway for IPv4 traffic.
 
-`gw6`: `<GatewayIPv6>` ::
+`gw6`=`<GatewayIPv6>` ;;
 
 Default gateway for IPv6 traffic.
 
-`hwaddr`: `<MAC>` ::
+`hwaddr`=`<XX:XX:XX:XX:XX:XX>` ;;
 
-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)
+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`: `<IPv4Format/CIDR>` ::
+`ip`=`<(IPv4/CIDR|dhcp|manual)>` ;;
 
 IPv4 address in CIDR format.
 
-`ip6`: `<IPv6Format/CIDR>` ::
+`ip6`=`<(IPv6/CIDR|auto|dhcp|manual)>` ;;
 
 IPv6 address in CIDR format.
 
-`mtu`: `<Number>` ::
+`mtu`=`<integer> (64 - N)` ;;
 
 Maximum transfer unit of the interface. (lxc.network.mtu)
 
-`name`: `<String>` ::
+`name`=`<string>` ;;
 
-Name of the network device as seen from inside the container.
-(lxc.network.name)
+Name of the network device as seen from inside the container. (lxc.network.name)
 
-`rate`: `<mbps>` ::
+`rate`=`<mbps>` ;;
 
 Apply rate limiting to the interface
 
-`tag`: `<VlanNo>` ::
+`tag`=`<integer> (1 - 4094)` ;;
 
 VLAN tag for this interface.
 
-`trunks`: `<vlanid[;vlanid...]>` ::
+`trunks`=`<vlanid[;vlanid...]>` ;;
 
 VLAN ids to pass through the interface
 
-`type`: `(veth)` ::
+`type`=`<veth>` ;;
 
 Network interface type.