]>
Commit | Line | Data |
---|---|---|
bac8c385 DM |
1 | `net[n]`: `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,rate=<mbps>] [,tag=<VlanNo>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` |
2 | ||
3 | `bridge`: `<vmbr<Number>>` :: | |
4 | ||
5 | Bridge to attach the network device to. | |
6 | ||
7 | `firewall`: `<[1|0]>` :: | |
8 | ||
9 | Controls whether this interface's firewall rules should be used. | |
10 | ||
11 | `gw`: `<GatewayIPv4>` :: | |
12 | ||
13 | Default gateway for IPv4 traffic. | |
14 | ||
15 | `gw6`: `<GatewayIPv6>` :: | |
16 | ||
17 | Default gateway for IPv6 traffic. | |
18 | ||
19 | `hwaddr`: `<MAC>` :: | |
20 | ||
21 | The interface MAC address. This is dynamically allocated by default, but | |
22 | you can set that statically if needed, for example to always have the same | |
23 | link-local IPv6 address. (lxc.network.hwaddr) | |
24 | ||
25 | `ip`: `<IPv4Format/CIDR>` :: | |
26 | ||
27 | IPv4 address in CIDR format. | |
28 | ||
29 | `ip6`: `<IPv6Format/CIDR>` :: | |
30 | ||
31 | IPv6 address in CIDR format. | |
32 | ||
33 | `mtu`: `<Number>` :: | |
34 | ||
35 | Maximum transfer unit of the interface. (lxc.network.mtu) | |
36 | ||
37 | `name`: `<String>` :: | |
38 | ||
39 | Name of the network device as seen from inside the container. | |
40 | (lxc.network.name) | |
41 | ||
42 | `rate`: `<mbps>` :: | |
43 | ||
44 | Apply rate limiting to the interface | |
45 | ||
46 | `tag`: `<VlanNo>` :: | |
47 | ||
48 | VLAN tag for this interface. | |
49 | ||
50 | `trunks`: `<vlanid[;vlanid...]>` :: | |
51 | ||
52 | VLAN ids to pass through the interface | |
53 | ||
54 | `type`: `(veth)` :: | |
55 | ||
56 | Network interface type. | |
57 |