[lxc-users] lxc network create - macvlan
Ron Kelley
rkelleyrtp at gmail.com
Wed Apr 26 19:37:25 UTC 2017
Trying to create a macvlan network type using LXD 2.12 but can’t figure out the syntax. I have a number of vxlan interfaces created via the “ip link” command and would like to create the corresponding LXD networks without having to create separate profiles. I tried the commands "lxc network create vxlan1101 type=physical” and "lxc network create vxlan1101 nictype=macvlan”. Each time, I get "error: Invalid network configuration key:”
I looked at the network configuration document (https://github.com/lxc/lxd/blob/master/doc/networks.md) but don’t see anywhere to specify a nic type.
For what it’s worth, creating a new profile using the “nictype:macvlan" and "parent: vxlan.1101” key values works just fine.
Any pointers?
-Ron
More information about the lxc-users
mailing list