-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi,
first, let me thank you for this great tool. Only with this, I'm able to solve my personal needs - running multiple LXC containers accessible from the Windows host each on a separate IP address.
I have one question - do you think, is it possible to set the created network adapter to the promiscuous mode? Something like "Enable MAC address spoofing" in Hyper-V virtual machine - Network adapter - Advanced features.
With this, I should be able to run many LXC containers just with one network adapter.
I'm not familiar with the Host Compute System API, but I did some googling and find, that HcnCreateEndpoint method has some flags property in the settings parameter and one of the flag is EnableMirroring.
I already tried to add this setting here
Line 92 in e7dc805
| using var endpoint = ComputeNetworkEndpoint.Create(network, epid, new JsonObject |
["Flags"] = "EnableMirroring". But when I compile it and run, I get an error like Invalid JSON string document. And that's where my knowledge ends :-)
Thanks for your help or suggestions.