]> git.proxmox.com Git - pve-docs.git/blob - pct-network-opts.adoc
vzdump: drop overly scary & outdated warning about fleecing
[pve-docs.git] / pct-network-opts.adoc
1 `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>]` ::
2
3 Specifies network interfaces for the container.
4
5 `bridge`=`<bridge>` ;;
6
7 Bridge to attach the network device to.
8
9 `firewall`=`<boolean>` ;;
10
11 Controls whether this interface's firewall rules should be used.
12
13 `gw`=`<GatewayIPv4>` ;;
14
15 Default gateway for IPv4 traffic.
16
17 `gw6`=`<GatewayIPv6>` ;;
18
19 Default gateway for IPv6 traffic.
20
21 `hwaddr`=`<XX:XX:XX:XX:XX:XX>` ;;
22
23 A common MAC address with the I/G (Individual/Group) bit not set.
24
25 `ip`=`<(IPv4/CIDR|dhcp|manual)>` ;;
26
27 IPv4 address in CIDR format.
28
29 `ip6`=`<(IPv6/CIDR|auto|dhcp|manual)>` ;;
30
31 IPv6 address in CIDR format.
32
33 `link_down`=`<boolean>` ;;
34
35 Whether this interface should be disconnected (like pulling the plug).
36
37 `mtu`=`<integer> (64 - 65535)` ;;
38
39 Maximum transfer unit of the interface. (lxc.network.mtu)
40
41 `name`=`<string>` ;;
42
43 Name of the network device as seen from inside the container. (lxc.network.name)
44
45 `rate`=`<mbps>` ;;
46
47 Apply rate limiting to the interface
48
49 `tag`=`<integer> (1 - 4094)` ;;
50
51 VLAN tag for this interface.
52
53 `trunks`=`<vlanid[;vlanid...]>` ;;
54
55 VLAN ids to pass through the interface
56
57 `type`=`<veth>` ;;
58
59 Network interface type.
60