X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pct-network-opts.adoc;h=44ff7abf00c93841dae590730754db91b0374e85;hp=571ea54f0e7ce965d220d11ba74f9d229f0cac94;hb=a3189ad1f3b3890075744e367789e28f54c2c771;hpb=bac8c3856f615ec0753fc64246c1dbda6c6a456a diff --git a/pct-network-opts.adoc b/pct-network-opts.adoc index 571ea54..44ff7ab 100644 --- a/pct-network-opts.adoc +++ b/pct-network-opts.adoc @@ -1,10 +1,10 @@ -`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=] [,ip6=] [,mtu=] [,rate=] [,tag=] [,trunks=] [,type=]` -`bridge`: `>` :: +`bridge`: `` :: Bridge to attach the network device to. -`firewall`: `<[1|0]>` :: +`firewall`: `boolean` :: Controls whether this interface's firewall rules should be used. @@ -16,11 +16,9 @@ Default gateway for IPv4 traffic. 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) +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`: `` :: @@ -30,20 +28,19 @@ IPv4 address in CIDR format. IPv6 address in CIDR format. -`mtu`: `` :: +`mtu`: `integer (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) +Name of the network device as seen from inside the container. (lxc.network.name) `rate`: `` :: Apply rate limiting to the interface -`tag`: `` :: +`tag`: `integer (1 - 4094)` :: VLAN tag for this interface.