Comment
Comment by gvalkov
Quite a lot is possible with CNI [1]. For example, we use this setup to give real IPs to containers:
You can then start a container and operate on its network namespace for added flexibility:
[1]: https://github.com/containernetworking/cni