]> git.proxmox.com Git - pve-docs.git/blame - pct-network-opts.adoc
improve cover page
[pve-docs.git] / pct-network-opts.adoc
CommitLineData
f004f5b9 1`net[n]`: `name=<string> [,bridge=<bridge>] [,firewall=<1|0>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<XX:XX:XX:XX:XX:XX>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<integer>] [,rate=<mbps>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]`
bac8c385 2
f004f5b9 3`bridge`: `<bridge>` ::
bac8c385
DM
4
5Bridge to attach the network device to.
6
f004f5b9 7`firewall`: `boolean` ::
bac8c385
DM
8
9Controls whether this interface's firewall rules should be used.
10
11`gw`: `<GatewayIPv4>` ::
12
13Default gateway for IPv4 traffic.
14
15`gw6`: `<GatewayIPv6>` ::
16
17Default gateway for IPv6 traffic.
18
f004f5b9 19`hwaddr`: `<XX:XX:XX:XX:XX:XX>` ::
bac8c385 20
c2993fe5 21The 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)
bac8c385
DM
22
23`ip`: `<IPv4Format/CIDR>` ::
24
25IPv4 address in CIDR format.
26
27`ip6`: `<IPv6Format/CIDR>` ::
28
29IPv6 address in CIDR format.
30
f004f5b9 31`mtu`: `integer (64 - N)` ::
bac8c385
DM
32
33Maximum transfer unit of the interface. (lxc.network.mtu)
34
f004f5b9 35`name`: `<string>` ::
bac8c385 36
c2993fe5 37Name of the network device as seen from inside the container. (lxc.network.name)
bac8c385
DM
38
39`rate`: `<mbps>` ::
40
41Apply rate limiting to the interface
42
c2993fe5 43`tag`: `integer (1 - 4094)` ::
bac8c385
DM
44
45VLAN tag for this interface.
46
47`trunks`: `<vlanid[;vlanid...]>` ::
48
49VLAN ids to pass through the interface
50
51`type`: `(veth)` ::
52
53Network interface type.
54