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