You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
For host networking, I'm speaking about the "LXC Settings" => "Networking" menu option. With that we'll be able to configure n virtual/phys bridged networks, for example. Then, in VMs, we'll be able to choose between any of these to attach an interface to. Maybe, a multi-distro solution is to just add interfaces to the list, not to configure them.
Ok. Just be able to add more interfaces to each VM could be great. Configuring extra bridges in the host is up to advanced users/admins and the use of them will still be available on VMs config.
Looking at lwp/__init__.py , it looks like LXC config options are expected to be unique. An example of multi-interfaces config might be:
# begin eth0
lxc.network.type = veth
lxc.network.hwaddr = 00:16:3e:7d:f1:af
lxc.network.flags = up
lxc.network.link = br0
# end eth0
# begin eth1
lxc.network.type = veth
lxc.network.hwaddr = 00:16:3e:7d:f1:bf
lxc.network.flags = up
lxc.network.link = br1
# end eth1
# begin eth2
lxc.network.type = veth
lxc.network.hwaddr = 00:16:3e:7d:f1:cf
lxc.network.flags = up
lxc.network.link = virbr0
# end eth2
Because there is no difference between the options of different interfaces, parser could look options between comments, like shown on the example. I can work on a fork and then do a pull request, if you like.
It would be great to be able to configure more interfaces to each container and to the host, so creating more sophisticated network configurations.
The text was updated successfully, but these errors were encountered: