5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-25 06:03:45 +03:00
pve-docs/pct-network-opts.adoc

55 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-05-11 10:42:47 +02:00
`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>]`
2016-05-11 10:42:47 +02:00
`bridge`: `<bridge>` ::
Bridge to attach the network device to.
2016-11-05 16:49:43 +01:00
`firewall`: `<boolean>` ::
Controls whether this interface's firewall rules should be used.
`gw`: `<GatewayIPv4>` ::
Default gateway for IPv4 traffic.
`gw6`: `<GatewayIPv6>` ::
Default gateway for IPv6 traffic.
2016-05-11 10:42:47 +02:00
`hwaddr`: `<XX:XX:XX:XX:XX:XX>` ::
2016-05-19 16:14:05 +02:00
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>` ::
IPv4 address in CIDR format.
`ip6`: `<IPv6Format/CIDR>` ::
IPv6 address in CIDR format.
2016-11-05 16:49:43 +01:00
`mtu`: `<integer> (64 - N)` ::
Maximum transfer unit of the interface. (lxc.network.mtu)
2016-05-11 10:42:47 +02:00
`name`: `<string>` ::
2016-05-19 16:14:05 +02:00
Name of the network device as seen from inside the container. (lxc.network.name)
`rate`: `<mbps>` ::
Apply rate limiting to the interface
2016-11-05 16:49:43 +01:00
`tag`: `<integer> (1 - 4094)` ::
VLAN tag for this interface.
`trunks`: `<vlanid[;vlanid...]>` ::
VLAN ids to pass through the interface
2016-11-05 16:49:43 +01:00
`type`: `<veth>` ::
Network interface type.